Skip to main content
Glama

motion.docs.create

Generates project documentation such as READMEs, architecture overviews, API references, and user guides from a project ID and template.

Instructions

Generate project documentation

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": "motion.docs.create"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
templateNo
projectIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2/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. "Generate" hints at a write operation, but nothing is said about whether existing docs are overwritten, what permissions or project context are required, or what happens when type/template are omitted (all parameters are optional).

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

Conciseness2/5

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

Four words are efficient but under-specify rather than clarify. The single phrase is front-loaded yet too thin to orient an agent for a three-parameter creation tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations, no output schema, and three undocumented parameters, the definition provides essentially nothing an agent needs to call it correctly. It lacks output expectations, defaults, and any note on the effects of leaving all optional parameters empty.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description says nothing about the three parameters. The type enum values (readme, architecture, api, user-guide), the template format, and the role of projectId are all left entirely unexplained.

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?

"Generate project documentation" supplies a verb and a resource, so the broad intent is legible. However, it never says what kind of documentation is produced or how this differs from the sibling motion.docs.update, leaving the agent to guess whether this creates or refreshes docs.

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, no mention of prerequisites such as a project existing, and no reference to the sibling update tool. The agent must infer that this is the creation path purely from the name.

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