Skip to main content
Glama
Dataverse Mcp Server

Dataverse Mcp Server

update_record

Modify specified columns of an existing Dataverse record by GUID; unchanged columns retain values, and missing records return 404 instead of being created.

Instructions

Change the given columns of an existing record by its GUID; columns not in data keep their values. A record that does not exist is a 404 error: this tool never creates one (use create_record). Returns a confirmation text, not the record; read it back with get_record if needed. When a change of statuscode fails with 0x8004f00e ("does not have valid status code"), the table may forbid that transition: read the allowed ones in transitions of get_picklist_options on the statuscode column.

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>",
      "id": "<id>",
      "data": "<data>"
    },
    "name": "update_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord GUID
dataYesFields to update 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.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: partial-update merge behavior, 404 on a missing record, no implicit creation, and a confirmation text rather than the record. The specific error code 0x8004f00e plus its remediation path is unusually useful. Only permissions/authorization context is absent.

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

Conciseness4/5

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

Front-loaded with the core operation and its merge semantics, then layers error and return-value guidance in a sensible order. Every sentence contributes, though the final statuscode-troubleshooting sentence is dense enough that it could be trimmed or split.

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?

For a three-parameter mutation tool with no annotations and no output schema, the description covers merge behavior, error cases, and return shape well. Authorization expectations for modifying a record remain unstated, which is the main residual gap.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents id, data and entity_set, so the baseline applies. The description does add meaning beyond the schema by explaining that columns absent from data retain their values, but it says nothing about how data keys map to column names or what entity_set values look like beyond the schema's examples.

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 ('Change the given columns of an existing record by its GUID') and immediately pins down the partial-update semantics. It is clearly distinguishable from create_record and get_record, both of which it names.

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

Usage Guidelines5/5

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

Explicitly routes the agent elsewhere: creation belongs to create_record, reading back belongs to get_record, and statuscode transition failures should be investigated with get_picklist_options on the statuscode column. Three alternatives with their triggering conditions are given.

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