Skip to main content
Glama

Revise a plan

todo_revise_plan

Revise a draft or active plan while keeping its history; changing completion contracts invalidates prior completion so status stays accurate.

Instructions

Replace a draft or active plan while retaining history. Changed completion contracts invalidate prior completion.

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": {
      "workspaceRoot": "<workspaceRoot>",
      "originalRequest": "<originalRequest>",
      "mode": "<mode>",
      "requirements": "<requirements>",
      "tasks": "<tasks>",
      "planId": "<planId>",
      "revisionReason": "<revisionReason>"
    },
    "name": "todo_revise_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
tasksYes
planIdYes
requirementsYes
correlationIdNo
workspaceRootYes
revisionReasonYes
externalContextNo
originalRequestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations declare a non-readOnly, non-destructive, non-idempotent mutation, and the description adds two behaviors the annotations cannot express: prior plan versions are retained as history rather than discarded, and changing a completion contract invalidates previously recorded completion. That second point is genuinely non-obvious and materially affects how an agent reasons about re-running todo_audit_completion. It still says nothing about permissions or what happens to in-flight tasks.

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 dense sentences with the primary action first and the consequence second; nothing is redundant or padded. Every clause carries distinct information.

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

Completeness2/5

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

For a tool with 9 parameters, 7 required, deep nested task/requirement objects, and no schema descriptions, two sentences leave the caller under-informed about the revision payload's required fields and the revisions semantics. The output schema being present excuses it from explaining return values, but the input side is thin for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 9 parameters, including a required revisionReason and planId that the description never mentions; an agent gets no hint that it must justify the revision or pass a UUID. The phrase "changed completion contracts" gestures at acceptanceCriteria.requiredEvidence but does not explain it. With zero schema descriptions the description needed to compensate and largely did not.

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?

"Replace a draft or active plan" gives a specific verb and resource, and "while retaining history" separates it from todo_create_plan (new plan) by establishing that this is a revision over an existing one. What it does not state is what identifies the plan being replaced (planId) or what the revision payload must contain, but the core action is unambiguous.

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?

Usage is implied rather than stated: it applies to a "draft or active plan," which suggests create-then-revise sequencing. There is no explicit guidance on when to revise versus calling todo_create_plan again, no preconditions (must a plan exist and be in a non-terminal state?), and no exclusions such as closed plans.

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