Skip to main content
Glama
kongyo2

@kongyo2/npm-info-mcp-server

List npm Package Versions

npm_package_versions
Read-onlyIdempotent

List published npm package versions with release dates, sorted most recent first. Includes dist-tags and deprecation notices.

Instructions

List published versions of an npm package with release dates, sorted by most recent first.

Args:

  • package_name (string): The npm package name

  • limit (number): Maximum versions to return, 1-100 (default: 20)

Returns: Version list with publish dates, dist-tags, and deprecation notices. Includes:

  • version number and publish date for each version

  • dist-tags annotation (latest, next, beta, etc.)

  • deprecation warnings where applicable

  • total version count

Examples:

  • "react" -> Lists recent React versions with dates

  • "typescript", limit=5 -> Last 5 TypeScript releases

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of versions to return, sorted by most recent (default: 20)
package_nameYesnpm package name
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint. The description adds value by detailing the return structure (version list with publish dates, dist-tags, deprecation notices) and providing examples. It does not contradict annotations and offers additional 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.

Conciseness5/5

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

The description is concise and well-structured: a one-sentence summary, followed by parameter details, return information, and examples. Every sentence adds information; no wasted words.

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 tool has 2 parameters and no output schema, the description adequately covers the return structure and examples. It does not explicitly address edge cases like missing packages, but the main functionality is well-explained.

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?

Schema description coverage is 100% for both parameters. The description adds examples and clarifies constraints (e.g., limit range 1-100, default 20) beyond the schema. The examples demonstrate parameter usage, adding practical semantics.

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 explicitly states the tool's action: 'List published versions of an npm package with release dates, sorted by most recent first.' This is a clear verb (List) + resource (npm package versions), and it distinguishes from sibling tools like npm_package_dependencies and npm_package_info.

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 provides clear context for use (listing versions) but does not explicitly state when not to use this tool or mention alternative tools. The intended use is implied by the purpose, but no exclusions or comparisons are given.

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/kongyo2/npm-info'

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