Skip to main content
Glama

Dataverse MCP Server

by mwhesse

generate_webapi_call

Generate HTTP requests, curl commands, and JavaScript examples for Dataverse WebAPI operations including CRUD operations, associations, actions, and functions with proper OData query parameters and headers.

Instructions

Generate HTTP requests, curl commands, and JavaScript examples for Dataverse WebAPI operations. Supports all CRUD operations, associations, actions, and functions with proper OData query parameters and headers.

Input Schema

NameRequiredDescriptionDefault
actionOrFunctionNameNoName of the action or function to call
callerIdNoMSCRMCallerID header for impersonation
countNoInclude count of records
dataNoData to send in request body for create/update operations
entityIdNoEntity ID for single record operations
entitySetNameNoEntity set name or logical entity name (e.g., 'account', 'contact') - will be automatically suffixed with 's' for Dataverse API URLs
expandNoRelated entities to expand
filterNoOData filter expression
ifMatchNoIf-Match header for conditional updates
ifNoneMatchNoIf-None-Match header
includeAuthHeaderNoInclude Authorization header placeholder in output
includeSolutionContextNoInclude current solution context in headers
operationYesType of operation to perform
orderbyNoOData orderby expression
parametersNoParameters for action/function calls
preferNoPrefer header values (e.g., ['return=representation', 'odata.include-annotations=*'])
relatedEntityIdNoRelated entity ID for associations
relatedEntitySetNameNoRelated entity set name for associations
relationshipNameNoRelationship name for associate/disassociate operations
selectNoFields to select (e.g., ['name', 'emailaddress1'])
skipNoNumber of records to skip
topNoNumber of records to return

Input Schema (JSON Schema)

{ "properties": { "actionOrFunctionName": { "description": "Name of the action or function to call", "type": "string" }, "callerId": { "description": "MSCRMCallerID header for impersonation", "type": "string" }, "count": { "description": "Include count of records", "type": "boolean" }, "data": { "additionalProperties": {}, "description": "Data to send in request body for create/update operations", "type": "object" }, "entityId": { "description": "Entity ID for single record operations", "type": "string" }, "entitySetName": { "description": "Entity set name or logical entity name (e.g., 'account', 'contact') - will be automatically suffixed with 's' for Dataverse API URLs", "type": "string" }, "expand": { "description": "Related entities to expand", "type": "string" }, "filter": { "description": "OData filter expression", "type": "string" }, "ifMatch": { "description": "If-Match header for conditional updates", "type": "string" }, "ifNoneMatch": { "description": "If-None-Match header", "type": "string" }, "includeAuthHeader": { "default": false, "description": "Include Authorization header placeholder in output", "type": "boolean" }, "includeSolutionContext": { "default": true, "description": "Include current solution context in headers", "type": "boolean" }, "operation": { "description": "Type of operation to perform", "enum": [ "retrieve", "retrieveMultiple", "create", "update", "delete", "associate", "disassociate", "callAction", "callFunction" ], "type": "string" }, "orderby": { "description": "OData orderby expression", "type": "string" }, "parameters": { "additionalProperties": {}, "description": "Parameters for action/function calls", "type": "object" }, "prefer": { "description": "Prefer header values (e.g., ['return=representation', 'odata.include-annotations=*'])", "items": { "type": "string" }, "type": "array" }, "relatedEntityId": { "description": "Related entity ID for associations", "type": "string" }, "relatedEntitySetName": { "description": "Related entity set name for associations", "type": "string" }, "relationshipName": { "description": "Relationship name for associate/disassociate operations", "type": "string" }, "select": { "description": "Fields to select (e.g., ['name', 'emailaddress1'])", "items": { "type": "string" }, "type": "array" }, "skip": { "description": "Number of records to skip", "type": "number" }, "top": { "description": "Number of records to return", "type": "number" } }, "required": [ "operation" ], "type": "object" }

Other Tools from Dataverse MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mwhesse/mcp-dataverse'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server