Skip to main content
Glama

documentar-funcion

Genera documentación para una función. input='||'. [x402: 0.02 USDC on Base, pay-per-use]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesservice input

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral burden. It usefully discloses the payment model (x402, 0.02 USDC on Base, pay-per-use), which is extra context beyond the schema, but it says nothing about return format, authentication, rate limits, or other behavioral traits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

The description is short, front-loads the purpose, and adds only the input format and cost information. It is efficient, though the delimiter syntax is slightly cryptic and the bracketed pricing note could be clearer.

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

Completeness3/5

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

For a simple one-parameter tool with no output schema, the description covers purpose, input format, and cost. However, it does not explain what the generated documentation looks like or when to prefer it over sibling code tools, leaving meaningful gaps.

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

Parameters4/5

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

The input schema only labels the single parameter as 'service input', which is generic despite 100% nominal coverage. The description compensates by specifying the expected format: input='<lenguaje>||<codigo>', telling the agent to pack language and code with a delimiter.

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?

States a specific verb and resource: 'Genera documentación para una función' (generate documentation for a function). It is clear what the tool does, but it does not differentiate itself from siblings like code-explain, code-review, or generar-tests, so it stops short of a 5.

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?

The description gives no guidance on when to use this tool versus alternatives such as code-explain or code-review, and it states no exclusions or prerequisites. Only an implicit usage is conveyed by the purpose itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources