Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

inspect_form_candidate_scope

Read-only

Compares candidate and target form definitions against explicit reviewed XML paths, flagging all observed changes not approved for review without authorizing writes or deployment.

Instructions

Compare complete caller-supplied candidate and target form definitions to explicit reviewed XML paths; flags all unselected observed changes. No write or deployment authorization.

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": {
      "candidate": "<candidate>",
      "target": "<target>",
      "candidate_hash": "<candidate_hash>",
      "target_hash": "<target_hash>",
      "approved_paths": "<approved_paths>"
    },
    "name": "inspect_form_candidate_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes
candidateYes
target_hashYes
approved_pathsYes
candidate_hashYes
environment_profileNoOptional named environment profile for this call; omit to use the configured default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

B3.1/5.0
Behavior3/5

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

The readOnlyHint=true annotation already establishes the safety profile, and the description is consistent with it while adding two useful facts: both form definitions must be supplied by the caller (nothing is fetched), and the call confers no write or deployment authorization. It still omits what a 'flagged unselected change' looks like in the response and what happens when a supplied hash does not match.

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 definition is a single dense sentence plus a short safety fragment, with the comparison semantics front-loaded and no filler. The heavy noun stacking ('explicit reviewed XML paths', 'unselected observed changes') costs a little readability but every clause carries information.

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

Completeness2/5

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

This is a five-required-parameter, nested-object, hash-pinned comparison with no output schema and almost no schema documentation, yet the description never explains the hashes, the 3000-item cap on approved_paths, or the shape of the result. For a tool of this complexity the description leaves too much to inference.

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 17% (only environment_profile is documented), so the description has to compensate. It does map 'candidate and target form definitions' to candidate/target and 'reviewed XML paths' to approved_paths, but candidate_hash and target_hash — both required — are never explained, leaving the integrity-pinning contract invisible.

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 names a specific verb (compare) and specific resources (caller-supplied candidate and target form definitions against reviewed XML paths), and it states the outcome: flagging unselected observed changes. It does not, however, distinguish this from nearby siblings such as compare_environment_forms or review_form_release_scope, so an agent must 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative. The phrase 'No write or deployment authorization' hints that this is a pre-flight inspection rather than an approval, but it does not tell the agent which sibling to pick when it actually wants to review or apply a release scope.

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