Skip to main content
Glama

Apply a task plan

confirm_task_plan
DestructiveIdempotent

Apply a saved AI plan after reviewing the exact items. Project mode creates tasks; day mode changes due dates. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "board_id": "<board_id>",
      "plan_id": "<plan_id>",
      "items": "<items>"
    },
    "name": "confirm_task_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
itemsYes
plan_idYes
board_idYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the two-phase approval workflow, the returned fields (awaiting_confirmation, approval_url), the guarantee that 'No work starts before approval', and the retry contract around request_id. It also makes the mutation semantics concrete (creating tasks vs. changing due dates), consistent with destructiveHint=true and idempotentHint=true.

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?

Front-loads the action and the mode split, then the return/approval contract, then the retry rule. Every sentence carries information an agent needs; nothing is padding.

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 an approval-gated mutation with no output schema, the description covers the response shape, the blocking approval step, and retry behavior. What remains thin is the item payload contract and any failure mode when a request_id is reused with different parameters, both of which matter for a destructive operation.

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?

With only 20% schema description coverage, the description compensates for request_id (reuse on retries, never change it) and loosely for items ('reviewing the exact items') and date (day mode changes due dates). It never explains board_id or plan_id, nor how a caller selects project vs. day mode at the parameter level, leaving the central mode switch undocumented.

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 and resource ('Apply a saved AI plan') and immediately disambiguates the two operating modes: project mode creates tasks, day mode changes due dates. This implicitly separates it from plan_tasks (which produces the plan), but no sibling is named explicitly, so the differentiation is inferential rather than stated.

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 a clear precondition ('after reviewing the exact items') and a clear postcondition ('the owner must approve these exact parameters in Cormak, then retry with the SAME request_id'). It does not say when to use a different tool instead, nor what to do if the plan is stale or must be rebuilt.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.