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

microsoft-copilot-studio-metadata-mcp

by tdries

Save snapshot

save_snapshot

Saves current Copilot Studio agent definitions to a local JSON file for later comparison, enabling scheduled history tracking and change detection through diffs.

Instructions

Save the current agent definitions to a local JSON file, to compare against later.

Writes one file into the server's snapshot folder on the machine where the server runs
(AGENT_SNAPSHOT_DIR). Nothing is written to Dataverse. The file holds agent definitions, including
instructions, so treat it like the environment itself. label (optional) is added to the file name.
Run it on a schedule to build a history; diff_snapshot shows what changed since any earlier file.

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": "save_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) by specifying the write target is a local file in AGENT_SNAPSHOT_DIR on the server's machine, that nothing is written to Dataverse, and that the file contains instructions and should be treated like the environment itself. The sensitivity warning is exactly the kind of context annotations cannot convey.

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-loads the core action in the first sentence, then layers destination, sensitivity, parameter, and workflow in short declarative sentences. Slight overlap between 'to compare against later' and the diff_snapshot sentence, but no meaningful waste.

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 one-optional-parameter write tool with an output schema (so return values need no explanation), the description covers destination, contents, sensitivity, and workflow. Only overwrite/idempotency behavior on repeated label use is left unstated.

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 coverage is 0% (only 'Label' typed as string with default ''), so the description must compensate, and it does: label (optional) is added to the file name. It stops short of stating collision/overwrite behavior when the same label is reused, which is the one remaining semantic gap.

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 (save) and resource (current agent definitions) and the destination format (local JSON file), then distinguishes itself from diff_snapshot by naming the sibling that consumes the output. An agent can tell it apart from compare/query siblings without opening any schema.

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?

Gives concrete usage context: 'Run it on a schedule to build a history' and points at diff_snapshot as the follow-up tool for what changed. It does not state explicit when-not conditions or prerequisites, but the intended workflow is unambiguous.

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