Skip to main content
Glama

Plan tasks with AI

plan_tasks
DestructiveIdempotent

Generate an AI day/project plan. Costs 1 shared credit; returns a draft for review. Day planning selects existing unfinished tasks. 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>",
      "mode": "<mode>",
      "goal": "<goal>"
    },
    "name": "plan_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
modeYes
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.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses cost (1 shared credit), that the result is a draft requiring review, the presence of awaiting_confirmation and an approval_url, and the hard gate that no work starts before approval. This is meaningful behavioral context the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true) cannot convey, and the retry/idempotency statement is consistent with idempotentHint.

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?

Short, front-loaded sentences with no filler: purpose first, then cost, then the approval contract and retry rule. The telegraphic style is efficient, though the return-shape sentence could be tightened slightly.

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, open-world mutation with no output schema, the description covers what matters: cost, draft/approval return shape, the blocking approval step, and idempotent retry semantics. Only the board_id parameter's meaning is left entirely to the schema.

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?

With only 25% schema description coverage, the description does real work: it defines request_id as a stable identifier that must be reused verbatim on retries and warns never to change it, and it explains the day-vs-project mode behavior. It leaves board_id and goal unexplained, which are the remaining coverage gaps.

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 first sentence states a specific verb and resource ('Generate an AI day/project plan') and immediately scopes the two modes, with 'Day planning selects existing unfinished tasks' clarifying what a day plan actually consumes. It is clearly distinguishable from siblings that only list or complete tasks, though it never names an alternative such as confirm_task_plan.

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?

Usage context is clear: it is a draft-generating step, costs 1 shared credit, and nothing happens until the owner approves. The retry contract ('retry with the SAME request_id', 'Reuse request_id on retries') tells the agent exactly what to do on the second call. It stops short of explicitly contrasting with a separate confirmation tool.

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.