Skip to main content
Glama

generate_project_documentation

Analyze codebases to create structured project documentation with intelligent file discovery, supporting multiple languages and output formats.

Instructions

Generate comprehensive project documentation based on codebase analysis with intelligent file discovery and structured output

WORKFLOW: Ideal for creating production-ready code, tests, and documentation TIP: Generate unlimited iterations locally, then review with Claude SAVES: Claude context for strategic decisions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysisDepthNoLevel of analysis detaildetailed
analysisTypeNoType of analysis to performcomprehensive
codeNoThe code to analyze (for single-file analysis)
docStyleNoDocumentation style to usemarkdown
filePathNoPath to single file to analyze
filesNoArray of specific file paths (for multi-file analysis)
focusAreasNoAreas to focus on: api, architecture, setup, contributing
includeExamplesNoInclude usage examples in documentation
languageNoProgramming languagejavascript
maxDepthNoMaximum directory depth for discovery (1-5)
projectPathNoAbsolute path to project root directory
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions 'intelligent file discovery' and 'structured output' but doesn't describe what the tool actually returns, whether it modifies files, what permissions are needed, or any rate limits. For a complex tool with 11 parameters and no output schema, this leaves significant behavioral gaps unexplained.

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?

The description is poorly structured with unclear sectioning ('WORKFLOW:', 'TIP:', 'SAVES:') that doesn't flow logically. The 'SAVES: Claude context for strategic decisions' sentence adds questionable value. While not overly verbose, the organization is confusing and some content feels tangential rather than essential to understanding the tool's function.

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?

For a complex documentation generation tool with 11 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what the output looks like, whether files are created/modified, error conditions, or how the 'intelligent file discovery' actually works. The tool's complexity demands more complete behavioral and output context than provided.

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 all parameters are documented in the schema. The description doesn't add any specific parameter information beyond what's in the schema. It mentions 'codebase analysis' which aligns with parameters like 'projectPath' and 'analysisType', but provides no additional syntax, format, or interaction details. The baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the tool's purpose: 'Generate comprehensive project documentation based on codebase analysis with intelligent file discovery and structured output.' This specifies the verb ('generate'), resource ('project documentation'), and method ('codebase analysis'). However, it doesn't explicitly differentiate from sibling tools like 'analyze_project_structure' or 'analyze_single_file', which prevents a perfect score.

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?

The description includes some usage context: 'WORKFLOW: Ideal for creating production-ready code, tests, and documentation' and 'TIP: Generate unlimited iterations locally, then review with Claude.' This implies when to use it (for documentation generation in development workflows) but doesn't explicitly state when NOT to use it or name alternatives among the many sibling tools. The guidance is helpful but incomplete.

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/houtini-ai/houtini-lm'

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