/dynamics-crm | Type: Application | PCID required: Yes
Accounts, contacts, leads, and opportunities
Tools
| Tool | Description |
|---|---|
dynamics-crm_list_accounts | Lists all accounts in Microsoft Dynamics CRM with optional filtering and pagination |
dynamics-crm_get_account | Gets a specific account by ID from Microsoft Dynamics CRM |
dynamics-crm_create_account | Creates a new account in Microsoft Dynamics CRM |
dynamics-crm_update_account | Updates an existing account in Microsoft Dynamics CRM |
dynamics-crm_delete_account | Deletes an account from Microsoft Dynamics CRM |
dynamics-crm_list_contacts | Lists all contacts in Microsoft Dynamics CRM with optional filtering and pagination |
dynamics-crm_get_contact | Gets a specific contact by ID from Microsoft Dynamics CRM |
dynamics-crm_create_contact | Creates a new contact in Microsoft Dynamics CRM |
dynamics-crm_update_contact | Updates an existing contact in Microsoft Dynamics CRM |
dynamics-crm_delete_contact | Deletes a contact from Microsoft Dynamics CRM |
dynamics-crm_list_leads | Lists all leads in Microsoft Dynamics CRM with optional filtering and pagination |
dynamics-crm_get_lead | Gets a specific lead by ID from Microsoft Dynamics CRM |
dynamics-crm_create_lead | Creates a new lead in Microsoft Dynamics CRM |
dynamics-crm_update_lead | Updates an existing lead in Microsoft Dynamics CRM |
dynamics-crm_delete_lead | Deletes a lead from Microsoft Dynamics CRM |
dynamics-crm_list_opportunities | Lists all opportunities in Microsoft Dynamics CRM with optional filtering and pagination |
dynamics-crm_get_opportunity | Gets a specific opportunity by ID from Microsoft Dynamics CRM |
dynamics-crm_create_opportunity | Creates a new opportunity in Microsoft Dynamics CRM |
dynamics-crm_update_opportunity | Updates an existing opportunity in Microsoft Dynamics CRM |
dynamics-crm_delete_opportunity | Deletes an opportunity from Microsoft Dynamics CRM |
dynamics-crm_get_entity_definitions | Gets metadata about all available entities in Microsoft Dynamics CRM. Use this to discover what entities exist and their API names. |
dynamics-crm_get_entity_attributes | Gets metadata about attributes (fields/columns) for a specific entity in Microsoft Dynamics CRM. Use this to discover what fields are available for an entity. |
dynamics-crm_list_system_users | Lists system users in Microsoft Dynamics CRM. Useful for finding user IDs to assign records. |
dynamics-crm_get_system_user | Gets a specific system user by ID from Microsoft Dynamics CRM |
dynamics-crm_query_entity | Queries any entity in Microsoft Dynamics CRM using OData syntax. Use get_entity_definitions to find available entities. |
dynamics-crm_get_record | Gets a single record from any entity in Microsoft Dynamics CRM by ID |
dynamics-crm_create_record | Creates a record in any entity in Microsoft Dynamics CRM. Use get_entity_attributes to discover required fields. |
dynamics-crm_update_record | Updates a record in any entity in Microsoft Dynamics CRM |
dynamics-crm_delete_record | Deletes a record from any entity in Microsoft Dynamics CRM |
dynamics-crm_list_accounts
Lists all accounts in Microsoft Dynamics CRM with optional filtering and pagination Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pageSize | number | No | 20 | Number of accounts per page (max 100) |
pageToken | string | No | — | Token for pagination to get next page |
filter | string | No | — | OData filter expression (e.g., “statecode eq 0” for active accounts) |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_get_account
Gets a specific account by ID from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | — | The unique identifier (GUID) of the account |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_create_account
Creates a new account in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Account name (required) |
accountnumber | string | No | — | Account number |
telephone1 | string | No | — | Main phone number |
emailaddress1 | string | No | — | Primary email address |
websiteurl | string | No | — | Website URL |
revenue | number | No | — | Annual revenue |
numberofemployees | number | No | — | Number of employees |
industrycode | number | No | — | Industry code |
description | string | No | — | Description |
address1_line1 | string | No | — | Street address line 1 |
address1_line2 | string | No | — | Street address line 2 |
address1_city | string | No | — | City |
address1_stateorprovince | string | No | — | State/Province |
address1_postalcode | string | No | — | Postal code |
address1_country | string | No | — | Country |
dynamics-crm_update_account
Updates an existing account in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | — | The unique identifier (GUID) of the account to update |
name | string | No | — | Account name |
accountnumber | string | No | — | Account number |
telephone1 | string | No | — | Main phone number |
emailaddress1 | string | No | — | Primary email address |
websiteurl | string | No | — | Website URL |
revenue | number | No | — | Annual revenue |
numberofemployees | number | No | — | Number of employees |
description | string | No | — | Description |
statecode | number | No | — | State code (0=Active, 1=Inactive) |
dynamics-crm_delete_account
Deletes an account from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | — | The unique identifier (GUID) of the account to delete |
dynamics-crm_list_contacts
Lists all contacts in Microsoft Dynamics CRM with optional filtering and pagination Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pageSize | number | No | 20 | Number of contacts per page (max 100) |
pageToken | string | No | — | Token for pagination to get next page |
filter | string | No | — | OData filter expression (e.g., “statecode eq 0” for active contacts) |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_get_contact
Gets a specific contact by ID from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | string | Yes | — | The unique identifier (GUID) of the contact |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_create_contact
Creates a new contact in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
firstname | string | No | — | First name |
lastname | string | Yes | — | Last name (required) |
emailaddress1 | string | No | — | Primary email address |
telephone1 | string | No | — | Business phone |
mobilephone | string | No | — | Mobile phone |
jobtitle | string | No | — | Job title |
department | string | No | — | Department |
parentAccountId | string | No | — | Parent account ID (GUID) to link this contact to |
ownerId | string | No | — | Owner/user ID (GUID) to assign this contact to |
address1_line1 | string | No | — | Street address |
address1_city | string | No | — | City |
address1_stateorprovince | string | No | — | State/Province |
address1_postalcode | string | No | — | Postal code |
address1_country | string | No | — | Country |
preferredcontactmethodcode | number | No | — | Preferred contact method (1=Any, 2=Email, 3=Phone) |
dynamics-crm_update_contact
Updates an existing contact in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | string | Yes | — | The unique identifier (GUID) of the contact to update |
firstname | string | No | — | First name |
lastname | string | No | — | Last name |
emailaddress1 | string | No | — | Primary email address |
telephone1 | string | No | — | Business phone |
mobilephone | string | No | — | Mobile phone |
jobtitle | string | No | — | Job title |
department | string | No | — | Department |
statecode | number | No | — | State code (0=Active, 1=Inactive) |
dynamics-crm_delete_contact
Deletes a contact from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
contactId | string | Yes | — | The unique identifier (GUID) of the contact to delete |
dynamics-crm_list_leads
Lists all leads in Microsoft Dynamics CRM with optional filtering and pagination Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pageSize | number | No | 20 | Number of leads per page (max 100) |
pageToken | string | No | — | Token for pagination to get next page |
filter | string | No | — | OData filter expression (e.g., “statecode eq 0” for open leads, “leadqualitycode eq 1” for hot leads) |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_get_lead
Gets a specific lead by ID from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
leadId | string | Yes | — | The unique identifier (GUID) of the lead |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_create_lead
Creates a new lead in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
subject | string | Yes | — | Lead topic/subject (required) |
firstname | string | No | — | First name |
lastname | string | Yes | — | Last name (required) |
companyname | string | No | — | Company name |
emailaddress1 | string | No | — | Primary email address |
telephone1 | string | No | — | Business phone |
mobilephone | string | No | — | Mobile phone |
websiteurl | string | No | — | Website URL |
jobtitle | string | No | — | Job title |
leadqualitycode | number | No | — | Lead quality (1=Hot, 2=Warm, 3=Cold) |
leadsourcecode | number | No | — | Lead source (1=Advertisement, 2=Employee Referral, 3=External Referral, 4=Partner, 5=Public Relations, 6=Seminar, 7=Trade Show, 8=Web, 9=Word of Mouth, 10=Other) |
budgetamount | number | No | — | Budget amount |
estimatedamount | number | No | — | Estimated revenue |
estimatedclosedate | string | No | — | Estimated close date (ISO 8601 format) |
address1_line1 | string | No | — | Street address |
address1_city | string | No | — | City |
address1_stateorprovince | string | No | — | State/Province |
address1_postalcode | string | No | — | Postal code |
address1_country | string | No | — | Country |
description | string | No | — | Description/notes |
ownerId | string | No | — | Owner/user ID (GUID) to assign this lead to |
dynamics-crm_update_lead
Updates an existing lead in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
leadId | string | Yes | — | The unique identifier (GUID) of the lead to update |
subject | string | No | — | Lead topic/subject |
firstname | string | No | — | First name |
lastname | string | No | — | Last name |
companyname | string | No | — | Company name |
emailaddress1 | string | No | — | Primary email address |
telephone1 | string | No | — | Business phone |
leadqualitycode | number | No | — | Lead quality (1=Hot, 2=Warm, 3=Cold) |
budgetamount | number | No | — | Budget amount |
description | string | No | — | Description/notes |
statecode | number | No | — | State code (0=Open, 1=Qualified, 2=Disqualified) |
dynamics-crm_delete_lead
Deletes a lead from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
leadId | string | Yes | — | The unique identifier (GUID) of the lead to delete |
dynamics-crm_list_opportunities
Lists all opportunities in Microsoft Dynamics CRM with optional filtering and pagination Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pageSize | number | No | 20 | Number of opportunities per page (max 100) |
pageToken | string | No | — | Token for pagination to get next page |
filter | string | No | — | OData filter expression (e.g., “statecode eq 0” for open opportunities, “opportunityratingcode eq 1” for hot opportunities) |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_get_opportunity
Gets a specific opportunity by ID from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
opportunityId | string | Yes | — | The unique identifier (GUID) of the opportunity |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_create_opportunity
Creates a new opportunity in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Opportunity name (required) |
customerId | string | Yes | — | Customer ID (GUID) - can be an account or contact ID (required) |
customerType | string | No | "account" | Whether customerId refers to an account or contact |
estimatedvalue | number | No | — | Estimated value/revenue |
budgetamount | number | No | — | Budget amount |
estimatedclosedate | string | No | — | Estimated close date (ISO 8601 format) |
opportunityratingcode | number | No | — | Rating (1=Hot, 2=Warm, 3=Cold) |
closeprobability | number | No | — | Close probability (0-100) |
prioritycode | number | No | — | Priority (1=Default, 2=High, 3=Low) |
description | string | No | — | Description |
stepname | string | No | — | Sales stage name |
parentAccountId | string | No | — | Parent account ID (GUID) |
parentContactId | string | No | — | Parent contact ID (GUID) |
ownerId | string | No | — | Owner/user ID (GUID) to assign this opportunity to |
dynamics-crm_update_opportunity
Updates an existing opportunity in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
opportunityId | string | Yes | — | The unique identifier (GUID) of the opportunity to update |
name | string | No | — | Opportunity name |
customerId | string | No | — | Customer ID (GUID) - can be an account or contact ID |
customerType | string | No | — | Whether customerId refers to an account or contact (required if customerId is provided) |
estimatedvalue | number | No | — | Estimated value/revenue |
budgetamount | number | No | — | Budget amount |
estimatedclosedate | string | No | — | Estimated close date (ISO 8601 format) |
opportunityratingcode | number | No | — | Rating (1=Hot, 2=Warm, 3=Cold) |
closeprobability | number | No | — | Close probability (0-100) |
description | string | No | — | Description |
stepname | string | No | — | Sales stage name |
statecode | number | No | — | State code (0=Open, 1=Won, 2=Lost) |
dynamics-crm_delete_opportunity
Deletes an opportunity from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
opportunityId | string | Yes | — | The unique identifier (GUID) of the opportunity to delete |
dynamics-crm_get_entity_definitions
Gets metadata about all available entities in Microsoft Dynamics CRM. Use this to discover what entities exist and their API names. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
select | string | No | — | Comma-separated list of metadata properties to return (e.g., “LogicalName,DisplayName,EntitySetName”) |
dynamics-crm_get_entity_attributes
Gets metadata about attributes (fields/columns) for a specific entity in Microsoft Dynamics CRM. Use this to discover what fields are available for an entity. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entityLogicalName | string | Yes | — | The logical name of the entity (e.g., “account”, “contact”, “lead”, “opportunity”, or custom entity name) |
select | string | No | — | Comma-separated list of attribute properties to return |
filter | string | No | — | OData filter (e.g., “IsCustomAttribute eq true” for custom fields only, “IsValidForCreate eq true” for creatable fields) |
dynamics-crm_list_system_users
Lists system users in Microsoft Dynamics CRM. Useful for finding user IDs to assign records. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
pageSize | number | No | 20 | Number of users per page (max 100) |
pageToken | string | No | — | Token for pagination to get next page |
filter | string | No | — | OData filter expression (e.g., “isdisabled eq false” for active users only) |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_get_system_user
Gets a specific system user by ID from Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
systemUserId | string | Yes | — | The unique identifier (GUID) of the system user |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_query_entity
Queries any entity in Microsoft Dynamics CRM using OData syntax. Use get_entity_definitions to find available entities. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entitySetName | string | Yes | — | The entity set name (plural form, e.g., “accounts”, “contacts”, “leads”, “opportunities”, or custom entity set name) |
filter | string | No | — | OData $filter expression |
select | string | No | — | Comma-separated list of fields to return ($select) |
orderby | string | No | — | Field(s) to sort by ($orderby, e.g., “modifiedon desc”) |
top | number | No | — | Maximum number of records to return ($top) |
expand | string | No | — | Related entities to expand ($expand) |
dynamics-crm_get_record
Gets a single record from any entity in Microsoft Dynamics CRM by ID Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entitySetName | string | Yes | — | The entity set name (plural form, e.g., “accounts”, “contacts”) |
recordId | string | Yes | — | The unique identifier (GUID) of the record |
select | string | No | — | Comma-separated list of fields to return |
dynamics-crm_create_record
Creates a record in any entity in Microsoft Dynamics CRM. Use get_entity_attributes to discover required fields. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entitySetName | string | Yes | — | The entity set name (plural form, e.g., “accounts”, “contacts”, or custom entity set name) |
data | object | Yes | — | The record data as a JSON object. Use field logical names as keys. |
dynamics-crm_update_record
Updates a record in any entity in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entitySetName | string | Yes | — | The entity set name (plural form, e.g., “accounts”, “contacts”) |
recordId | string | Yes | — | The unique identifier (GUID) of the record to update |
data | object | Yes | — | The fields to update as a JSON object. Only include fields you want to change. |
dynamics-crm_delete_record
Deletes a record from any entity in Microsoft Dynamics CRM Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
entitySetName | string | Yes | — | The entity set name (plural form, e.g., “accounts”, “contacts”) |
recordId | string | Yes | — | The unique identifier (GUID) of the record to delete |

