Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

get_model_definition

Read-only

Retrieve complete table or supported column definitions with SHA-256 fingerprints using strong consistency to verify Dataverse metadata structure and choice fields.

Instructions

Retrieve a complete table or supported column definition and SHA-256 fingerprint using strong consistency. Supports nine basic/choice column types, including expanded choices. Publication state remains unknown; fingerprint is not a platform lock.

Input Schema

NameRequiredDescriptionDefault
logicalNameNo
logical_nameNo
attributeNameNo
attribute_nameNo
environment_profileNoOptional named environment profile for this call; omit to use the configured default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.2
    • addedInput schema / properties / environment_profile
      Added value: +{
      +  "description": "Optional named environment profile for this call; omit to use the configured default.",
      +  "pattern": "^[A-Za-z][A-Za-z0-9_]{0,31}$",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description goes further by disclosing strong consistency, that publication state is not returned, and the important caveat that the fingerprint is not a platform lock. Those are genuine interpretive warnings an agent would otherwise get wrong. It does not cover error behavior for unsupported column types or the cost/latency of strong consistency reads.

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?

Three tight sentences, front-loaded with the deliverable before the caveats, with no filler. The phrasing 'expanded choices' and 'not a platform lock' is compressed jargon that could be slightly clearer, but nothing is wasted.

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

Completeness3/5

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

With no output schema, the description carries the burden of describing the return value; it names the artifacts (definition plus SHA-256 fingerprint) but not their shape. It also leaves the five-parameter, zero-required schema ambiguous — an agent cannot tell whether logical_name, logicalName, or both are needed, or what the table-only vs column mode distinction is.

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 description coverage is only 20% (only environment_profile is documented), so the description must compensate and it partially does: 'table or ... column definition' implies logical_name selects the table and attribute_name narrows to a column. However, it never explains the logical_name/logicalName and attribute_name/attributeName alias duplication, nor what happens when attribute_name is omitted.

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

Purpose4/5

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

Specific verb plus a clearly named resource: 'Retrieve a complete table or supported column definition and SHA-256 fingerprint.' The phrase 'table or supported column definition' also signals the two lookup modes, which separates it from siblings like get_model_relationship or get_model_key. It stops short of explicitly naming a sibling such as get_detailed_field_metadata, so an agent still has to infer the boundary.

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

Usage Guidelines3/5

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

'Supports nine basic/choice column types, including expanded choices' implicitly frames the tool's scope and hints at where it will not work, but the description never says when to choose this over get_detailed_field_metadata, get_entity_metadata_summary, or get_model_choices. No prerequisites or exclusions are stated explicitly, leaving usage to inference.

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

Deploy Server

Other Tools