Skip to main content
Glama

npm versions

npm_versions
Read-onlyIdempotent

Free: published versions of an npm package (newest first) with publish dates, bump type and deprecations, to pick valid from/to values.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package": "<package>"
    },
    "name": "npm_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoOptional: list only versions after this one
limitNoMax versions returned (default 50)
packageYesnpm package name, e.g. 'react', 'next', '@types/node'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-safety (readOnly, idempotent, openWorld), but the description adds value by disclosing ordering (newest first) and payload contents (publish dates, bump type, deprecations) and flagging the call as 'Free'. It stops short of coverage/pagination or rate-limit details, but that is a minor gap given the annotation coverage.

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?

A single front-loaded sentence with the resource and ordering stated first and the intended downstream use last; no wasted clauses.

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?

With no output schema, the description carries the burden of explaining return values, and it does so adequately (dates, bump type, deprecations, ordering). Only edge behavior like empty results or truncation via limit is left implicit.

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 all three parameters are documented in the schema, making a 3 the baseline. The description adds only the notion of from/to ranges, and mentioning 'to' when no such parameter exists adds slight noise rather than clarity.

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 — published versions of an npm package — plus ordering (newest first) and returned fields, which separates it from npm_changelog and npm_breaking_changes. It never names those siblings, so differentiation is inferred rather than stated.

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 trailing clause 'to pick valid from/to values' implies this is a precursor step for tools that accept version ranges (e.g. dependency_upgrade_plan), which is useful. There is no explicit when-not or named alternative, leaving usage context only implied.

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