Skip to main content
Glama
Dataverse Mcp Server

Dataverse Mcp Server

get_record

Retrieve a single Dataverse record by GUID from a table, optionally selecting columns and expanding relations; returns JSON and rejects non-GUID IDs before the request.

Instructions

Read one record by its GUID from a table (entity set), optionally only the select columns and the expand relations; returns the record as JSON. An id that is not a GUID is refused before the request; a record that does not exist is a 404 error from Dataverse. To find records by their values rather than by id, use query_records.

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>"
    },
    "name": "get_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord GUID
expandNoRelated entities to expand ($expand)
selectNoComma-separated list of columns to return ($select)
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.7/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 well: it discloses pre-request validation (non-GUID ids are refused before any call), the failure mode for missing records (a 404 from Dataverse), and the JSON return shape. It stops short of stating permission/auth prerequisites or any pagination/size behavior for expanded relations, which would matter for a read against a data platform.

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 short sentences, front-loaded with the core action, then error semantics, then sibling routing. No filler and nothing repeated from the schema verbatim.

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

Completeness5/5

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

For a four-parameter read tool with fully documented schema and no output schema, the description covers what is needed: input shape, validation, failure behavior, and return format. Nothing required to call it correctly is missing.

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; the description adds value by tying 'select' to column projection, 'expand' to related-entity expansion, and by imposing a GUID format constraint on 'id' that the schema only loosely implies with 'Record GUID'. It does not explain the '$select'/'$expand' string syntax for multiple values beyond what the schema's comma-separated note already covers.

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 ('Read one record by its GUID from a table') and immediately clarifies the narrowing options (select columns, expand relations) plus the return format (JSON). It also distinguishes itself from query_records, so an agent can decide between the two without opening a schema.

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 names the alternative and the condition that selects it: use this when you have an id, use query_records 'to find records by their values rather than by id'. That is the exact decision point an agent faces in this sibling set.

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