Skip to main content
Glama

clidocs_generate_manpage

Generate man page documentation for a project directory, converting code into readable Unix manual pages.

Instructions

Generate man page documentation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
directoryYesProject directory
Behavior1/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, and it discloses nothing beyond the bare action. It doesn't state whether existing man pages get overwritten, what files are created, where output goes, what the expected project structure is, or why an api_key might be required. This is a significant gap for a 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.

Conciseness3/5

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

The single sentence has zero wasted words, but it essentially restates the tool name — 'Generate man page documentation' adds little information beyond 'clidocs_generate_manpage'. It is under-specified rather than genuinely concise, since the space saved could have been used to explain the api_key parameter or output behavior.

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 low-complexity tool with two params, less is needed, but the description is still incomplete. The unexplained api_key parameter, the lack of output format details, and no statement about file creation/overwrite behavior leave an agent guessing. With no output schema to compensate, the description should explain what gets generated and where.

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

Parameters2/5

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

Schema coverage is 50%: only 'directory' has a description ('Project directory'), while 'api_key' is completely undocumented in both schema and description. The description adds no parameter meaning beyond the schema — it doesn't clarify what the directory should contain or why an API key is needed to generate local man page documentation.

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 states a clear verb ('Generate') and resource ('man page documentation'), which is specific enough to distinguish it from its closest siblings clidocs_generate_help and clidocs_generate_markdown based on the output format. However, it doesn't explicitly name or contrast those siblings, so the differentiation is implicit rather than stated.

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 guidance on when to use this tool versus alternatives. Given the sibling tools clidocs_generate_help and clidocs_generate_markdown exist, an agent has no way to decide which documentation format to generate. No prerequisites or context about the target project (e.g., must be a CLI project) are provided.

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/barnburner121/claude-plugin-marketplace'

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