Skip to main content
Glama

Manage Task Plan

task_plan

Create and manage task execution plans by reading plans, adding steps, updating step status, and reordering pending steps for AI agent workflows.

Instructions

Create, read, add steps, update step status, or reorder pending steps in a task execution 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": {
      "task_id": "<task_id>",
      "operation": "<operation>"
    },
    "name": "task_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNoSteps for operation="set" or "add_steps"
task_idYesTask ID
operationYesPlan operation to perform
stepNumberNoStep number for operation="update_step"
stepStatusNoNew step status for operation="update_step"
orderedStepNumbersNoReordered pending step numbers for operation="reorder_pending"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, and the description adds nothing about mutation semantics: whether operation="set" replaces or merges an existing plan, whether completed steps can be changed, or what happens to in-flight steps on reorder. For a state-mutating plan tool with a "set" operation that can overwrite an existing plan, this is a significant disclosure gap given destructiveHint=false.

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?

A single well-formed sentence that front-loads the verb set with zero filler. It is appropriately sized for a compact tool, though a brief clause on the plan scope would still earn its place.

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?

With 6 parameters at full schema coverage and no output schema, the parameter side is covered. For a mutating, multi-operation plan tool with only generic annotations, the description is minimally adequate but omits operation semantics and cross-operation constraints.

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%, so the schema already documents task_id, operation, stepNumber, stepStatus, orderedStepNumbers and steps. The description echoes a few of these concepts (step status, pending steps) but adds no format, constraint, or interaction detail beyond the schema; baseline 3 applies.

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 names a specific resource (task execution plan) and enumerates the concrete operations: create, read, add steps, update step status, reorder pending steps. It maps cleanly onto the operation enum, though it does not distinguish this tool from siblings like task_next_step or task_checkpoint.

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?

Listing the five operations implies when each is applicable, and the schema enumerates them explicitly. However, there is no guidance on when to prefer this tool over sibling plan-related tools (task_next_step, task_checkpoint, task_status), nor any exclusions or prerequisites.

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