Skip to main content
Glama

blueprint_apply

Destructive

Apply a reviewed blueprint plan safely: re-plans first and refuses if the account changed, then executes steps in dependency order, journaling changes under the plan ID for revert.

Instructions

Carry out a reviewed blueprint plan. Re-plans first and refuses if the account changed since the plan was reviewed, then applies steps in dependency order. Every change is journaled under the plan id — revert_change(batch=plan_id) undoes the rollout.

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

Input Schema

NameRequiredDescriptionDefault
plan_idYesFrom blueprint_plan.
allow_driftNoApply even if the account changed since the plan was made (the fresh plan is applied).
continue_on_errorNoKeep going after a failed step (default: stop).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, and the description goes well beyond them: it discloses the re-plan/refuse-on-drift gate, dependency-ordered application, per-plan journaling, and the exact undo path via revert_change(batch=plan_id). That is meaningful operational context an agent could not infer from the annotations alone.

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?

Three tight sentences, front-loaded with the action, followed by the guardrail, ordering behavior, and the recovery path. No filler or restated annotations.

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 destructive, non-idempotent mutation with no output schema, the description covers the critical concerns: when it will refuse, ordering, auditability, and reversal. It does not say what state the account is left in when a step fails (partially applied vs. rolled back), leaving that to the continue_on_error schema field.

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 100% (plan_id, allow_drift, continue_on_error all documented), so the baseline is 3. The description reinforces the drift semantics ('re-plans first', 'refuses if the account changed') and links plan_id to the journaling/undo key, but adds no format or value guidance beyond the schema.

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 description uses a specific verb+resource ('Carry out a reviewed blueprint plan') and scopes it as the execution half of a plan/review/apply workflow. It also implicitly distinguishes itself from blueprint_plan ('reviewed') and from revert_change, though it never names blueprint_plan as the required prerequisite outright.

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 clearly states the context in which the tool applies (after a plan has been reviewed) and describes the drift guard that blocks execution, which effectively tells the agent when the call will be refused. It stops short of explicit exclusions or naming sibling alternatives (e.g., apply_macro) for related use cases.

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