Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

prepare_form_candidate

Read-only

Build a local form candidate from target XML using selected supported attributes and reviewed baseline, source, and target hashes. It prepares changes for review without writing or packaging.

Instructions

Construct a local candidate from target XML using explicitly selected supported attributes and reviewed baseline/source/target hashes. Does not write or package.

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": {
      "baseline": "<baseline>",
      "source": "<source>",
      "target": "<target>",
      "baseline_hash": "<baseline_hash>",
      "source_hash": "<source_hash>",
      "target_hash": "<target_hash>",
      "operations": "<operations>"
    },
    "name": "prepare_form_candidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
targetYes
baselineYes
operationsYes
source_hashYes
target_hashYes
baseline_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.3/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read; the description reinforces it with 'Does not write or package', which usefully confirms no server-side mutation or packaging occurs. However, it never clarifies what a 'local candidate' actually is, whether it is persisted or returned for a later apply step, or how hash mismatches are handled.

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?

Two tight sentences with the core action front-loaded and the no-side-effect clause immediately after. No filler, though the brevity edges toward under-specification for an eight-parameter tool.

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?

For a tool with seven required parameters, a low-coverage schema, no output schema, and a densely populated sibling family, the description is too thin. It omits hash-verification semantics, what the candidate is consumed by, and any failure behavior, leaving real gaps an agent would need to guess at.

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 13%, so the description must carry more weight, and it does partially: it maps to target XML, the three hash parameters, and the 'explicitly selected supported attributes' that become operations. It adds nothing about the baseline/source XML parameters or the element/id/attribute structure within each operation, leaving several required inputs unexplained.

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?

States a concrete verb and resource: 'Construct a local candidate from target XML' with a stated input basis (selected supported attributes, reviewed hashes). It implicitly separates itself from the many sibling prepare_* tools by targeting a whole form rather than a node, row, or component, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: 'reviewed baseline/source/target hashes' suggests a prerequisite workflow step (hashes must be captured and reviewed first), and 'Does not write or package' hints that a separate apply/publish step follows. There is no explicit statement of when to use this versus prepare_form_node_candidate, prepare_form_row_candidate, or prepare_composite_form_candidate.

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