Skip to main content
Glama

Plan Changes

plan_changes
Idempotent

Preview up to 10 write operations via dry-run against live state, returning affected paths, predicted actions, and a fingerprint for apply_plan; execution is refused if the router changed.

Instructions

Preview a sequence of write operations: each step runs with dryRun=true against live state, returning affected paths and the predicted action per step. Also returns a planFingerprint binding the steps to the configuration they were previewed against; pass it to apply_plan to execute the same steps for real, refused if the router changed in between.

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": {
      "steps": "<steps>"
    },
    "name": "plan_changes"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesOrdered list of write operations to preview (up to 10)
routerIdNoRouter ID; omit to use the default router.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • changedInput schema / properties / routerId / description
      Previous value: -"Target router identifier"New value: +"Router ID; omit to use the default router."
    • changedInput schema / required
      Previous value: -[
      -  "routerId",
      -  "steps"
      -]New value: +[
      +  "steps"
      +]
  2. Addedv1.5.0
  3. Removedv1.1.0
  4. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive, idempotent; the description adds substantial behavior beyond that: every step is forced to dryRun=true, the return contains affected paths and a predicted action per step, and a planFingerprint binds the preview to the configuration it was computed against. The staleness guard ('refused if the router changed in between') is exactly the kind of stateful caveat an agent cannot infer from structured fields.

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?

Two sentences, both dense with operative detail, front-loaded with the core preview behavior before the fingerprint handoff. No filler or restatement of the title.

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?

No output schema exists, and the description compensates by naming the return contents (affected paths, predicted action, planFingerprint) and their meaning. Combined with the annotations and full schema coverage, an agent has everything needed to call this correctly and chain it to apply_plan.

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, but the description adds meaning the schema does not: that dryRun is injected automatically into each step's params, and that the preview result is tied to a fingerprint. The routerId parameter and the 1-10 step limit are left to the schema, which is acceptable given full coverage.

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 ('Preview a sequence of write operations') plus the exact mechanism ('each step runs with dryRun=true against live state'). It also names the sibling it hands off to (apply_plan), so an agent can distinguish preview from execution without opening either 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?

Clear usage context: this is the preview step, and the returned planFingerprint must be passed to apply_plan to execute for real. The refusal condition (router changed in between) is stated, which is a useful exclusion. It stops short of saying what to use instead for purely read operations, so not a full 5.

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