Skip to main content
Glama
StreamPilot
by nulldk

apply_plan

Destructive

Apply or retry a created plan with verification and per-target backups to safely execute account changes.

Instructions

Apply or retry a previously created plan with verification and per-target backups.

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": {
      "plan_id": "<plan_id>"
    },
    "name": "apply_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the agent knows this is a mutating, externally-effectful operation. The description adds real value beyond that by disclosing verification and per-target backups, which tells the agent there is a safety net and that effects are scoped per target. It stops short of saying what exactly gets overwritten, whether retry is idempotent, or what happens when verification fails.

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?

A single front-loaded sentence with no filler; the core action comes first and the qualifying traits follow. It is efficient, though 'with verification and per-target backups' is compressed enough to be slightly ambiguous without further context.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and annotations cover the safety profile. What remains missing for a destructive, open-world mutation is failure semantics, idempotency of retry, and prerequisites beyond 'previously created plan' — meaningful gaps for an operation that can overwrite targets.

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 description coverage is 0% for the single required parameter, so the schema gives the agent only a name and type for 'plan_id'. The description partially compensates by indicating plan_id must reference an already-created plan, but it does not say where that identifier comes from, whether retries reuse the same id, or any format expectations.

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?

States a specific verb ('Apply or retry') against a specific resource ('a previously created plan'), plus two behavioral modifiers (verification, per-target backups). An agent can tell this executes an existing plan rather than creating one, distinguishing it from plan-creation and plan-edit siblings, though it does not name a contrasting sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'previously created plan' implies a prerequisite (a plan must already exist) and 'retry' implies reuse after a prior attempt, which is useful implied guidance. However there is no explicit when-not guidance, no mention of the sibling to use for rollback or restoration (e.g. plan_restore_change, plan_restore_snapshot), and no statement of when an agent should prefer this over those alternatives.

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