Skip to main content
Glama

apply_fixes

Applies user-chosen plan items by number for an existing planId, runs a dry run before writing, then rechecks applied, closed, and remaining items; skips items whose entities changed.

Instructions

Apply the plan items the user chose — a write. Only items of an existing planId and only those listed by number. Breaking and destructive items are not part of "all": their numbers must also be in named — the user named them explicitly. An item whose entity changed after the plan is skipped. A dryRun precedes the write, and one recheck of what was applied follows it (recheck: closed, remaining, appeared); no new plan is built automatically. Don't call it in the same response that shows the plan.

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": {
      "planId": "<planId>",
      "items": "<items>",
      "confirmed": "<confirmed>"
    },
    "name": "apply_fixes"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesItem numbers
namedNoNumbers of breaking and destructive items the user named explicitly
planIdYesplanId from plan_fixes
confirmedYesThe user agreed to these items in chat

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the dryRun-before-write sequence, the single follow-up recheck and what it reports (closed, remaining, appeared), that items whose entity changed since the plan are skipped, and that no new plan is built automatically. This is unusually rich disclosure of side effects and post-conditions for a mutation tool.

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-loaded with the core action and the fact that it is a write, then builds prerequisites and side effects in a compact sequence; every sentence carries rules. Minor cost is jargon such as the parenthetical "(recheck: closed, remaining, appeared)," which is terse to the point of being cryptic.

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?

For a destructive-capable write with no annotations and no output schema, the description covers sequencing, skip behavior, and the recheck result shape, which is most of what an agent needs. It does not cover permissions/auth requirements or any recovery path (e.g., how a revert relates), leaving some operational context 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 100%, so the baseline is 3, but the description adds meaning the schema does not: breaking/destructive item numbers are excluded from the general items set and must additionally appear in named with explicit user naming. That is genuine semantic content beyond the field descriptions, though the confirmed flag is only restated, not deepened.

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 action on a specific resource — applying the user-selected plan items — and explicitly labels it "a write." The dependency on an existing planId distinguishes it from the sibling plan_fixes that produces plans, so an agent can tell build from apply.

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 when-to-use conditions (only items of an existing planId, only by number, breaking/destructive items also require an entry in named) and an explicit when-not ("Don't call it in the same response that shows the plan"). It does not route to a named alternative for creating the plan inside the description body — that link lives only in the planId parameter description — so it falls short of fully explicit alternatives.

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