Skip to main content
Glama

generate_documentation

Generate a complete, saveable documentation set (README, API docs, architecture, sequence diagrams) as file content. Returns structured files for your project without writing to disk.

Instructions

Generate a full, saveable documentation set (README, API docs, architecture docs, Mermaid sequence diagrams) as file(s) — distinct from documentation, which returns inline Markdown for a single piece of content. Returns structured, saveable file content — never writes to disk itself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specYesCode/project to document or description of what should be documented
modelNoModel to use (default: deepseek-chat)
doc_setNoWhich docs to produce (e.g. "README, API Docs, Architecture Docs, Sequence Diagram")
providerNoAI Provider
target_folderNoTarget folder for the generated doc file(s)
project_contextNoExisting project structure/conventions the docs must reflect
Behavior4/5

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

With no annotations provided, the description discloses an important behavioral trait: 'never writes to disk itself'. It also clarifies the return type ('structured, saveable file content'), which is a non-obvious detail. This goes beyond what the schema alone conveys and helps the agent understand side-effect-free behavior.

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?

The description is two sentences long and front-loaded with the core purpose. The second sentence adds a comparative distinction and a critical behavioral detail. Every clause earns its place; no redundancy or fluff.

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

Completeness4/5

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

Given there is no output schema, the description compensates by explaining what the tool returns ('structured, saveable file content') and what the generated set includes. It omits some optional details like file naming or how the model parameter is used, but the essential contextual information is present for a tool with this level of complexity.

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 baseline is 3. The description adds minimal extra meaning for parameters, though it indirectly clarifies 'target_folder' by stating the tool never writes to disk itself, implying the folder is a suggested path rather than an immediate write location. No deeper parameter-level enrichment.

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

Purpose5/5

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

The description uses a specific verb ('Generate') with a precise resource ('a full, saveable documentation set') and enumerates content types (README, API docs, architecture docs, Mermaid sequence diagrams). It explicitly distinguishes itself from the sibling tool 'documentation' by contrasting scope and output format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description provides a clear when-to-use signal by comparing with the sibling 'documentation' ('distinct from documentation, which returns inline Markdown for a single piece of content'). It does not explicitly list other alternative tools, but the key competing option is covered sufficiently.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Abbas-F-R/DeepSeek-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server