Skip to main content
Glama
Dataverse Mcp Server

Dataverse Mcp Server

get_entity_metadata

Retrieve a Dataverse table's columns and choice-column option-set summaries to inspect schema and identify org-wide shared choice lists.

Instructions

Get attributes (columns) of a specific Dataverse table. Choice-style columns (Choice, Status, State, MultiSelect) carry an option_set summary with is_global and option_count, so one dump shows which choice lists are shared org-wide. Read the option values per column with get_picklist_options. A table that does not exist is an error. For the length and other limits of one column, use get_attribute_metadata.

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_logical_name": "<entity_logical_name>"
    },
    "name": "get_entity_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_logical_nameYesLogical name of the entity (e.g. 'account', 'contact', 'contoso_bankaccount')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

A4.2/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 burden and does disclose two useful traits: choice-style columns (Choice, Status, State, MultiSelect) return an option_set summary with is_global and option_count, and a nonexistent table produces an error. It does not cover permissions or the shape of the remaining attribute fields, which keeps it short of 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?

Four short sentences, front-loaded with the core action, then the return-shape note, then sibling routing, then the error case. No sentence is redundant and nothing is buried.

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?

There is no output schema, so the description must convey what comes back; it names attributes/columns and the option_set summary for choice columns, and flags the error case. For a single-parameter lookup that is nearly complete, with only the full attribute field set left implicit.

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% and the single parameter already carries its own description with example logical names, so the schema does the heavy lifting. The description only reinforces that the name identifies a Dataverse table, adding little syntax or format meaning beyond the schema — the baseline 3 for full coverage.

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?

The description opens with a specific verb and resource: 'Get attributes (columns) of a specific Dataverse table.' It also distinguishes itself from the closest sibling by explaining that per-column detail belongs to get_attribute_metadata, so an agent can tell the two apart without opening either 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?

It routes the agent explicitly: use get_picklist_options to read option values, and get_attribute_metadata for length and other per-column limits. That is clear context for the main alternatives, though it does not state an explicit exclusion or prerequisite (such as needing a valid table first) beyond the error note.

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