Skip to main content
Glama
microsoft-copilot-studio-metadata-mcp

microsoft-copilot-studio-metadata-mcp

by tdries

Diff snapshot

diff_snapshot
Read-onlyIdempotent

Compare Copilot Studio agent metadata snapshots to report agents added or removed and changed settings or components, or compare a snapshot against current state.

Instructions

What changed in the agents between an earlier snapshot and now, or between two snapshots.

older: file name of a snapshot in the snapshot folder. Leave empty to list the available files.
newer: another snapshot file name; empty compares against the current state.
Returns agents added and removed, and per changed agent the settings that moved and the
components added, removed or changed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "diff_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
newerNo
olderNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and openWorld, so safety is covered. The description adds value beyond them by disclosing the return shape (agents added/removed, per-agent changed settings, components added/removed/changed) and the side behavior that an empty `older` produces a file listing rather than a diff. Permission or size/cost caveats are absent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, followed by per-parameter semantics and a one-sentence return summary. Every sentence carries information; there is no restatement of the name or title and no filler.

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 two-parameter read-only tool with an output schema, this is close to complete: purpose, both parameter modes, and the diff's shape are all given. Missing are edge-case behavior (unknown or missing snapshot name) and any notion of ordering or volume of results, which an agent might need in practice.

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?

Schema description coverage is 0%, so the description must carry the parameter burden, and it does: both `older` and `newer` are explained, including their empty-string semantics and that they are file names in the snapshot folder. It does not clarify whether a path, extension, or bare name is expected, leaving a small ambiguity.

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 lead sentence names a specific operation on a specific resource: computing what changed in agents across snapshots, in either of two comparison modes. An agent can distinguish this from save_snapshot or compare_agents based on the snapshot-based scope. It stops short of explicitly naming a sibling, so it is clear but not maximally differentiating.

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 concrete operating modes: leave `older` empty to list available snapshot files, and leave `newer` empty to compare against current state. That is actionable guidance for calling the tool in all three usage shapes. It does not state any exclusion or point to a sibling tool for live-agent comparison.

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