Skip to main content
Glama

task_decompose

Create an active plan by breaking a task into ordered work items with dependencies, files, outputs, acceptance criteria, and risks so coding agents can execute each step.

Instructions

Create the active plan. Each task: {id, title, deps[], files[], produces[], acceptance, risk}.

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": {
      "title": "<title>",
      "prompt": "<prompt>",
      "tasks": "<tasks>"
    },
    "name": "task_decompose"
  }
}

Input Schema

NameRequiredDescriptionDefault
tasksYes
titleYes
promptYes
reasonNo
classificationNostandard

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It does disclose real content the schema hides — the per-task record keys (id, deps, files, produces, acceptance, risk) — but it never says whether this overwrites an existing active plan, what permissions or preconditions apply, or what happens to an in-progress plan.

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?

Two terse sentences, front-loaded with the action, and the brace notation packs the task shape efficiently. The notation is somewhat cryptic for an agent parsing it, but nothing is wasted.

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?

An output schema exists, so return values need no explanation, but for a 5-param mutation tool with no annotations and 0% schema coverage the description leaves too much open: plan-replacement semantics, the meaning of prompt vs title, and the role of classification are all missing.

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 5 parameters, and the description only partially compensates: it enumerates some fields of the nested task object (which the schema leaves as additionalProperties) but says nothing about title, prompt, reason, or classification. Two required params and the classification enum-like default remain entirely unexplained.

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?

"Create the active plan" pairs a specific verb with a specific resource, and the second sentence describes the payload shape, so the agent knows this establishes a plan rather than mutating an existing task. It does not name or contrast any sibling (e.g. task_scope or task_start), so differentiation is inferred 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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: nothing says whether the plan must be created before task_start, whether it replaces a prior active plan, or how it relates to task_scope/task_classify. The agent must guess the ordering in the workflow from sibling names alone.

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