Skip to main content
Glama

What changed between two versions of a plan

shoot_plan_diff
Read-only

Says what changed between two versions of a plan, so that you can catch up from a few lines instead of reading both. It compares by id, not by position, so reordering changes nothing: it lists what was added, what was removed, what changed (with the old and new values), and an id that has gone while another has appeared with the same content, which may be a rename: only a person can say. With the check results for both versions it also says which findings are new, which are resolved and which are unchanged. Input: old and new, two dpl.plan/1 objects; optionally old_findings and new_findings, the dpl.findings/1 documents shoot_plan_check returned for each: send both or neither. Output: dpl.diff/1. A plan that does not validate is refused with its diagnostics. Both plans are in one request, so the size limit is for the two together. No AI model runs. We don't keep the plan. We log a one-way fingerprint (hash) of it, its size, the tool, the type of client, the result and the time taken. Needs an agent key from a Shoot Plan account. Free, and it does not count towards the account's 3 free projects a month. Plans up to 8 MB and 120 calls a minute (5,000 a day).

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": {
      "old": "<old>",
      "new": "<new>"
    },
    "name": "shoot_plan_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
newYesThe later version of the plan: a dpl.plan/1 JSON object.
oldYesThe earlier version of the plan: a dpl.plan/1 JSON object.
new_findingsNoOptional: the dpl.findings/1 document shoot_plan_check returned for the new plan. Send it together with old_findings.
old_findingsNoOptional: the dpl.findings/1 document shoot_plan_check returned for the old plan. Send it together with new_findings.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint and openWorldHint annotations, it discloses a lot: invalid plans are refused with diagnostics, both plans share one request against the size limit, no AI model runs, the plan is not retained but a one-way hash, size, tool, client type, result and duration are logged. It also states auth requirements, the 8 MB cap and rate limits of 120 calls/minute and 5,000/day, which 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?

Purpose is front-loaded and the batch of operational facts at the end is genuinely decision-relevant, but the middle is a single run-on sentence with chained clauses about adds, removals, changes and possible renames. It could be split or bulleted without losing content.

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 diff tool with an output schema (dpl.diff/1) already declared, the description covers what it needs to: input shape, the pairing rule for findings, validation failure behavior, size and rate limits, auth, and data handling. An agent could call it correctly with no further information.

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 100%, so the baseline is 3; the description earns one more by tying the optional findings parameters to an output behavior — supplying both check-result documents makes the diff report which findings are new, resolved or unchanged. The remaining semantics (that old and new are dpl.plan/1 objects) merely restate the schema.

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?

The opening sentence states a specific verb and resource — it reports what changed between two versions of a plan — and immediately qualifies it against the naive alternative of reading both versions. The follow-up clarifies the comparison is keyed by id rather than position, which makes the tool's identity unambiguous even next to siblings like shoot_plan_get or shoot_plan_revision_preview.

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?

It gives a clear usage motive ('catch up from a few lines instead of reading both') and states the optional-findings rule explicitly: send both old_findings and new_findings or neither, and only when you have check results. It does not name a sibling tool as an alternative or state when not to use it, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources