Skip to main content
Glama
Akshay1018

CodeDoc MCP Server

by Akshay1018

generate_smart_doc

Generate clear code documentation and audit summaries from files or snippets. Supports language selection to match your project's needs.

Instructions

Universal tool for documentation and audits.

  • file_path: Path to local file.

  • code_snippet: Pasted code from chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoauto
file_pathNo
doc_contentYes
code_snippetNo
audit_resultsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

With no annotations provided, the description must disclose behavioral traits, but it only lists two parameter hints ('file_path', 'code_snippet') and does not explain what happens when the tool is invoked—whether it reads files, generates output, mutates state, or what the return format is. This is a significant gap for a tool with no annotation support.

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 short, but it is under-specified rather than appropriately concise. The phrase 'Universal tool for documentation and audits' is vague filler, and the two parameter hints are too sparse to be useful. It does not front-load the core purpose or provide structured, valuable information.

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?

Given the tool has 5 parameters (2 required) and no output schema details, the description is grossly incomplete. It fails to explain the required inputs or any behavioral or output context, making it inadequate for an agent to select and invoke the tool correctly.

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%, so the description must compensate. It only provides minimal meaning for 'file_path' and 'code_snippet', but completely ignores the required parameters 'doc_content' and 'audit_results', as well as 'language'. This leaves the agent without crucial information for invocation.

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

Purpose2/5

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

The description 'Universal tool for documentation and audits' is vague and tautological, restating the tool's name without specifying a concrete action. It does not mention what the tool actually does with the provided inputs (e.g., 'doc_content', 'audit_results') and fails to distinguish it from sibling tools like 'scan_project_files' or 'global_security_audit'.

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

Usage Guidelines1/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, what scenarios it is appropriate for, or how it relates to alternatives. The description gives no context for selection, making it impossible to know whether to choose this tool over its siblings.

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/Akshay1018/mcp-codedoc'

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