Skip to main content
Glama

Create design doc

create_design_doc

Create or reopen a design document for the active work using a standard template, optionally specifying a work ID to keep context durable.

Instructions

Create or reopen design.md for the active work using the standard workdoc template.

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_design_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
work_idNoOptional explicit work id. Defaults to the active work when unambiguous.

Output Schema

NameRequiredDescriptionDefault
pathYes
workYes
createdYes
target_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/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. It does disclose two useful traits — the operation is an upsert ("create or reopen") and content comes from a "standard workdoc template" — but it never says whether reopening overwrites existing edits, whether it is safe/idempotent, or what permissions are needed for a write to the active work.

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

Conciseness5/5

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

One sentence, front-loaded with the action and resource, with no filler or redundancy. Nothing in it could be removed without losing information.

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?

The tool is simple (one optional, fully documented parameter) and an output schema exists, so return-value detail is unnecessary. However, for a write tool with zero annotations, the description leaves the key risk unaddressed: whether reopening an existing design.md destroys prior content. That gap keeps it at minimum-viable completeness.

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 single optional work_id parameter with its default-to-active-work behavior is already documented. The description's phrase "for the active work" reinforces but does not extend the schema's meaning, so the 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 verb pair ("Create or reopen") and a concrete resource ("design.md"), plus the scope ("the active work"), which is enough for an agent to tell it apart from the sibling plan/spec/summary doc creators. It stops short of explicitly naming those siblings, so it is clear rather than exemplary.

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: it is the tool for producing design.md under the active work, and "reopen" hints at a re-entry scenario when a design doc already exists. There is no explicit when-to-use vs. when-not guidance and no reference to alternatives like create_plan_doc or create_spec_doc.

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