Skip to main content
Glama
lirantal

NodeJS API Docs MCP Server

by lirantal

retrieve-nodejs-modules-api-documentation

Retrieve Node.js API documentation for a specific module or class, including methods and properties.

Instructions

Retrieve, fetch, and get Node.js API documentation for a specific module or class.

You call the `retrieve-nodejs-modules-api-documentation` MCP tool with the following parameters:
```json
{
  "module": "util",
  "method": "styleText"
}
```

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoThe method name to retrieve Node.js API documentation for
moduleYesThe module or class name to retrieve Node.js API documentation for
Behavior3/5

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

No annotations provided, so description carries full burden. It states it retrieves and returns documentation, but does not explicitly mention that it is read-only, any side effects, or authentication needs. The behavior is implied but not fully disclosed.

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 well-structured with clear sections (use_case, example, important_notes). Every sentence adds value, no fluff, and it is appropriately sized for the tool's complexity.

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

Completeness5/5

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

Given no output schema, the description explains that it returns documentation including methods and properties. It also provides context with sibling tool and an example, making it complete for a retrieval tool.

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%, so baseline is 3. The description adds an example showing actual values ('util' and 'styleText') and context about using search for unknown modules, but does not significantly enhance parameter understanding beyond the schema.

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 retrieves Node.js API documentation for a specific module or class, with a use case and example. It distinguishes from the sibling tool 'search-nodejs-modules-api-documentation' by advising to use search first if module is unknown.

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

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool (to retrieve documentation for a known module) and when not (if module unknown, use search first). Provides an example and important notes with clear guidance.

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/lirantal/mcp-server-nodejs-api-docs'

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