Skip to main content
Glama
ahaugerud

d365-dmf-mcp

by ahaugerud

get_execution_status

Retrieve the status of a Data Management Framework (DMF) execution, including per-entity results and error messages when a run fails.

Instructions

Get the status of a DMF execution (NotRun, Executing, Succeeded, PartiallySucceeded, Failed, Canceled), with per-entity status and error messages if it failed.

Input Schema

NameRequiredDescriptionDefault
execution_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden; it does disclose the return surface (overall status enum, per-entity status, error messages on failure), which a 'Get' verb alone would not convey. However, it says nothing about whether it requires permissions, whether results are immediate or eventually consistent, or whether polling is expected — meaningful gaps for a status tool.

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?

One front-loaded sentence with the verb-object first and the status enumeration and failure detail as a trailing qualifier; every clause adds information. The parenthetical status list is slightly long but useful and not wasteful.

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?

An output schema exists, so return values needn't be documented in prose, and the description still previews the key response signals (status values, per-entity status, errors). What's missing is the operational context — preconditions and whether polling is required — for a one-parameter read tool.

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 0%, so the description should compensate, but it says nothing about execution_id — where it comes from, its format, or whether it must be a value previously returned by another call. The single parameter is self-describing by name, which keeps this from being worse than 3.

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?

Uses a specific verb ('Get') and resource ('status of a DMF execution') and enumerates the possible status values, so the agent knows exactly what is returned. It loses a point only because 'DMF' is an undefined acronym and there is no explicit differentiation from the sibling tools (though none of them overlap).

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 description never says when to call this tool, when not to, or what the prerequisite is (e.g., that an execution must have been started elsewhere and an execution_id obtained). The name and sibling list imply a post-import status-polling role, but that is left entirely to inference.

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