Skip to main content
Glama

analyze_upgrade_impact

Read-onlyIdempotent

WHEN: upgrading D365 F&O to a new version or applying a Microsoft update -- check if your custom code will break. Triggers: 'upgrade D365', 'mise à niveau', 'will this break after upgrade', 'compatibilité après upgrade', 'impact de la mise à jour', 'check CoC targets after update'. Analyze upgrade risk for your custom D365 F&O model. Cross-references EVERY Chain of Command target, event handler hook, table/form/class extension, and hard-coded object reference in your custom model against the standard indexed codebase. Detects: removed objects, changed method signatures, deprecated APIs (RunBase, Dialog, WinAPI, COM), [Hookable(false)] and [Wrappable(false)] extensibility blocks, renamed fields, and internal methods. Returns a prioritized risk report with fix recommendations. Requires D365_CUSTOM_MODEL_PATH.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds substantial behavioral detail: it cross-references every extensibility hook, detects specific breakage categories, and returns a prioritized risk report with fixes. This goes well beyond the annotations and gives the agent an accurate model of tool execution.

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?

The description is front-loaded with the WHEN condition and trigger phrases, then moves efficiently through scope, detection categories, and output. The trigger list is slightly redundant with the WHEN clause, but every sentence contributes usable guidance for tool selection.

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?

For a zero-parameter tool with no output schema, the description covers the required input, the analysis scope, the detected failure modes, and the return format. It is mostly complete, though it could add caveats about how D365_CUSTOM_MODEL_PATH is configured or any runtime/scale limitations.

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?

The input schema has zero properties, so the description is the only source of input semantics. It names the required D365_CUSTOM_MODEL_PATH, which is critical context beyond the empty schema, but it does not clarify the path's format, where it is resolved from, or whether it is an environment variable.

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 states a specific action (analyze upgrade risk), a specific resource (custom D365 F&O model), and enumerates concrete detection targets such as Chain of Command, event handlers, and extensions. It is clearly distinguishable from sibling tools by its upgrade-version detection focus, even without naming a specific alternative.

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?

The description gives explicit WHEN guidance (upgrading D365 F&O or applying a Microsoft update) and a rich set of trigger phrases for agent matching. It does not explicitly name alternative tools or state when not to use this tool, so it falls short of a full exclusion-based usage guideline.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.