Skip to main content
Glama

Create plan doc

create_plan_doc

Creates or reopens plan.md for the active work, optionally narrowing the implementation pass to specific target paths for focused execution.

Instructions

Create or reopen plan.md for the active work. target_paths may narrow the implementation pass to a subset of the work scope.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_plan_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_idNoOptional explicit work id. Defaults to the active work when unambiguous.
target_pathsNoOptional subset of the work scope for this implementation pass.

Output Schema

NameRequiredDescriptionDefault
pathYes
workYes
createdYes
target_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it only discloses the idempotent-sounding "create or reopen" framing. It never says what happens to existing plan.md content on reopen, whether the file is overwritten or appended, or what prerequisites/authorization the call needs — critical for a mutation tool with zero annotation coverage.

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 tight sentences with the artifact and scope front-loaded and no filler. Density is high, though the second sentence packs the target_paths caveat in a way that is easy to skim past.

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 only two optional parameters and an output schema present, the return-value burden is lifted and the definition is close to adequate. Still, for a write tool with no annotations, an agent is left unsure about overwrite semantics, whether a template is applied, and what "reopen" implies for previously written plans.

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 both parameters are already documented in structured data, giving a baseline of 3. The description's note that target_paths narrows "the implementation pass to a subset of the work scope" largely restates the schema's "Optional subset of the work scope for this implementation pass" and adds no new syntax, format, or edge-case detail.

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 verb pair ("create or reopen") and a concrete resource ("plan.md") scoped to "the active work," which lets an agent distinguish it from create_design_doc, create_spec_doc and create_summary_doc by artifact rather than guessing. It stops short of explicitly contrasting intent with those siblings, so it is clear but not fully differentiated.

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?

Usage is only implied: "for the active work" signals a planning phase, and the target_paths sentence hints at a follow-on "implementation pass," but there is no explicit when-to-use vs. create_spec_doc/create_design_doc guidance and no stated prerequisite (e.g., an active work existing). An agent can infer the context but is not told the exclusions.

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