Skip to main content
Glama

Create and validate a work contract

todo_create_plan

Creates atomic plans for complex work by breaking requests into prioritized tasks with dependencies, deliverables, and acceptance criteria. Use direct mode for small independent jobs.

Instructions

Create an atomic plan for genuinely complex work. Small work should run independently; direct contracts remain supported for compatibility.

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>"
    },
    "name": "todo_create_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
tasksYes
requirementsYes
correlationIdNo
workspaceRootYes
externalContextNo
originalRequestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not say what validation occurs, what happens if tasks or requirements are rejected, whether a plan can be re-created or overwritten, or how the mode switch changes behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no padding, so it is not bloated. But the brevity comes at the cost of substance: the second clause about compatibility is the only concrete statement, and the first is jargon that does not front-load actionable 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?

This is a high-complexity creation tool with nested objects, five required parameters, and a validation role, yet the description omits parameter meaning, validation semantics, and failure behavior. The presence of an output schema excuses it from explaining return values, but far too much else is left undocumented for a tool of 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 description coverage is 0% across 7 parameters, including deeply nested tasks, requirements, and acceptanceCriteria objects with enums and defaults. The description only obliquely gestures at the mode enum ('direct contracts' vs 'atomic plan') and says nothing about requirements dispositions, requirementIds linkage, dependency ordering, or estimatedMinutes, leaving the burden entirely on the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource ('Create an atomic plan') is identifiable, and the mention of 'direct contracts' hints that the tool also accepts a non-plan mode. However, 'atomic plan' and 'genuinely complex work' are never defined, so the agent cannot tell precisely what artifact this creates, and the title's claim of 'validate' is absent from the description body.

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?

There is an implied when-not-to-use: 'Small work should run independently' tells the agent not to call this for simple tasks. But no sibling is named as the alternative for small or direct work, and no prerequisites or preconditions for planning are stated.

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