Skip to main content
Glama
Dataverse Mcp Server

Dataverse Mcp Server

create_record

Creates a new record in a Dataverse table (entity set) from column values keyed by logical name and returns the new record's URL, ending in its ID.

Instructions

Create a record in a table (entity set) from column values keyed by logical name; get_entity_metadata lists the columns and their types. Returns the new record's URL, which ends in its id, not the record itself. An unknown table or column, or a value already taken under an alternate key, is an error. Every call creates a new record, so a retry after an error that may have reached Dataverse can create a duplicate.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entity_set": "<entity_set>",
      "data": "<data>"
    },
    "name": "create_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesRecord fields as key-value pairs
entity_setYesEntity set name (plural, e.g. 'accounts', 'contacts')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does a solid job: it discloses the return shape (the new record's URL ending in its id, not the record), the error semantics, and a genuine non-idempotency hazard ('every call creates a new record, so a retry... can create a duplicate'). It omits permission/auth requirements and rate-limit behavior, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core action, then the return value, then the failure/duplication caveats. No filler; each sentence contributes an actionable fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the essentials for a nested-object mutation tool with no output schema: input discovery, return value, error cases, and retry duplication risk. Only auth/permission context is missing, which is a minor gap given the rest of the coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: 'keyed by logical name' tells the agent to use logical rather than display names, and it points at get_entity_metadata for the valid column set and types. That is semantic guidance the schema's 'key-value pairs' wording does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a record in a table (entity set)') and specifies the construction input ('from column values keyed by logical name'). This distinguishes it from the similarly named create_entity (which creates tables) and from update_record, so an agent can select it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete prerequisites and routing ('get_entity_metadata lists the columns and their types') so the agent knows to introspect before calling. It also names the failure conditions (unknown table/column, alternate-key collision) but does not explicitly exclude cases where update_record would be preferred, so it stops short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.