Skip to main content
Glama
Dynamics 365 MCP Server

Dynamics 365 MCP Server

by Kenny-666

compare_solution_snapshots

Read-only

Compare two versioned solution snapshots locally without CRM settings to verify hashes and canonical shape, then report missing, extra, or changed components and property paths.

Instructions

Compare two versioned snapshot objects locally without CRM settings. Verify canonical shape and integrity hashes; match portable names and selected properties/root scope, ignoring environment GUIDs and label transport fields. Report missing/extra/changed component references and property paths. Gaps/ambiguous keys/unknown scope make the comparison inconclusive, never a false pass. Option display order, unselected settings, full payload, managed layers, publication and runtime are outside this profile. Read-only; no authentication or environment switching.

Input Schema

NameRequiredDescriptionDefault
sourceSnapshotNoThe complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity.
targetSnapshotNoThe complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity.
expectedManagedNoExplicit expected target managed state, e.g. true for a managed export of an unmanaged source.
source_snapshotNoThe complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity.
target_snapshotNoThe complete snapshot object from get_solution_snapshot, not the success wrapper. Versioned strict shape, <=2 MiB/200 memberships, canonical definitions and all hashes are checked. Hashes do not prove authenticity.
expected_managedNoExplicit expected target managed state, e.g. true for a managed export of an unmanaged source.
environment_profileNoOptional named environment profile for this call; omit to use the configured default.

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

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds substantive behavior beyond that: integrity/canonical-shape verification, environment GUID and label field exclusions, the inconclusive-on-ambiguity policy, and no authentication or environment switching. It does not describe the concrete output structure of the comparison report.

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?

Front-loaded with the core action, then scope, then exclusions, then safety. Dense and jargon-heavy ('label transport fields', 'managed layers') but nearly every clause carries a distinct constraint; a light trim would not change meaning.

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

Completeness5/5

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

For a complex, nested-object comparison tool with no output schema, the description states inputs' provenance implicitly, the comparison semantics, what gets reported (missing/extra/changed references and property paths), and the failure mode. That is enough for an agent to call it and interpret results correctly.

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 coverage is 100% and both snapshot parameters are documented there, so the description's job is largely done by the schema. It adds conceptual context (portable names, root scope, environment GUIDs ignored) but never explains expectedManaged or environment_profile, leaving those to the schema alone.

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?

States a specific verb and resource ('Compare two versioned snapshot objects') and immediately bounds the scope ('locally without CRM settings'), which distinguishes it from get_solution_snapshot and verify_solution_deployment in the sibling list. An agent knows exactly what operation this performs.

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?

Explicitly lists what is outside the profile (option display order, unselected settings, full payload, managed layers, publication, runtime) and states the inconclusive-not-false-pass rule, which is real decision guidance. It stops short of naming a sibling tool to use instead for the excluded concerns.

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