Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

get_detailed_field_metadata

Retrieve full metadata for a specific entity attribute to analyze field properties, data types, and constraints in Dynamics 365.

Instructions

Get full metadata details for a specific attribute (field) for deep analysis.

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

Input Schema

NameRequiredDescriptionDefault
entity_logical_nameYesLogical name of the entity
environment_profileNoOptional named environment profile for this call; omit to use the configured default.
attribute_logical_nameYesLogical name of the attribute

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

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. 'Get' implies a read operation, but there is no explicit statement about read-only safety, permissions, side effects, or what 'full metadata details' includes in the response.

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?

The description is a single, front-loaded sentence with no redundant wording. It communicates the core operation efficiently.

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?

For a low-complexity read tool with three fully documented parameters, the description is minimally adequate. However, it does not explain what metadata details are returned, and with no output schema or annotations, that leaves a meaningful 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 description coverage is 100%, so the input schema already documents all three parameters clearly. The description adds no additional meaning about parameter formats, defaults, or interactions, so the baseline of 3 is appropriate.

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?

The description states a specific verb and resource: getting full metadata details for a specific attribute (field). It distinguishes the resource level from entity-level siblings, but it does not explicitly name alternatives such as get_entity_metadata_summary or get_field_picklist_options.

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

Usage Guidelines2/5

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

The phrase 'for deep analysis' hints at usage, but there is no explicit guidance on when to choose this tool over alternatives like get_entity_metadata_summary or get_field_picklist_options. No exclusions, prerequisites, or decision criteria are provided.

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