Skip to main content
Glama
snyk-labs

Node.js API Documentation MCP Server

by snyk-labs

get_api_for-events

Search Node.js Events API documentation for any class or method to retrieve detailed information.

Instructions

Node.js API: Events

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
classNoThe class name to search for.
methodNoThe method name to search for.
requiredNo
Behavior1/5

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

No annotations are provided, and the description offers no behavioral traits. It does not disclose whether the tool performs a read operation, has authentication requirements, or any side effects. The description is a bare label with no behavioral context.

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 extremely short but at the expense of clarity. It does not earn its place because it provides almost no useful information for an agent selecting or invoking the tool. A longer, more informative description would be appropriate.

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's simplicity and lack of annotations/output schema, the description is woefully incomplete. It does not explain the tool's purpose (retrieving API docs for Node.js Events module) or provide any context for correct usage.

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?

The description adds no information about the parameters (class and method) beyond what is already in the input schema. While the schema has descriptions, the tool description fails to clarify their purpose or usage context, missing an opportunity to add value.

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 'Node.js API: Events' is vague and does not use a specific verb-resource structure. It resembles a label rather than a clear statement of what the tool does. While it distinguishes from sibling tools by module name, it lacks a verb like 'retrieve' or 'get' and does not clarify the action.

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?

No usage guidance is provided. The description does not mention when to use this tool versus the many sibling tools (e.g., for other modules) or the alternative search tool. There are no when-to-use or when-not-to-use instructions.

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

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