Skip to main content
Glama

veto_doc_gen

Read-only

Generate documentation comments (JSDoc, TSDoc, or docstring) for all public APIs in a source file. Returns annotated file content.

Instructions

Reads a source file and generates JSDoc/TSDoc/docstring comments for all public APIs. Returns the annotated file content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
styleNoDocumentation style: 'jsdoc', 'tsdoc', 'docstring', or 'auto' (default).
file_pathYesAbsolute path to source file.
agent_responseNoPhase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop.
Behavior3/5

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

Annotations indicate readOnlyHint=true, so the description's claim of 'reads' is consistent. It adds that the tool returns annotated file content, but does not disclose other behavioral traits like file type support or if it overwrites files.

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 that front-load the action and are free of unnecessary information. Every sentence adds value.

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 the schema richness and lack of output schema, the description adequately explains the tool's purpose and return value. It could elaborate on the scope of 'public APIs' or language support, but it is mostly complete.

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 coverage is 100% with descriptions for all three parameters. The description does not add additional meaning beyond what the schema provides, so a baseline score is appropriate.

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 clearly states it reads a source file and generates documentation comments for all public APIs, returning annotated content. It uses specific verbs and resources, and distinguishes from siblings like veto_commit_message or veto_changelog.

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 implies usage for generating JSDoc/TSDoc/docstring comments but provides no explicit guidance on when to use this tool versus others, nor any prerequisites or limitations.

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/jigyasudham/veto'

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