Skip to main content
Glama

Public npm package record from the npm registry: latest

dev_npm_registry
Read-only

Public npm package record from the npm registry: latest version, license, description, homepage, repository and tarball URL. Read-only lookup of one package by exact name; no download counts. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "name": "<name>"
    },
    "name": "dev_npm_registry"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExact npm package name, e.g. lodash or @scope/name (max 214 characters)

Output Schema

NameRequiredDescriptionDefault
nameNo
sourceNo
licenseNo
tarballNo
homepageNo
checkedAtNo
repositoryNo
descriptionNo
latestVersionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, yet the description still adds substantial context beyond them: per-call pricing of $0.002, the x402 payment mechanism with USDC on Base/Solana and other networks, and the important guarantee that failed calls are not charged. The main remaining gap is any latency, rate-limit, or caching behavior, which is not mentioned.

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?

Three tight sentences with the resource described first and the pricing constraint last, so nothing critical is buried. The pricing clause is dense with network detail but each element (price, currency, networks, refund policy) carries decision-relevant information for a paid tool.

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?

Complete enough for a single-parameter paid lookup: purpose, return fields, cost, payment rail, and billing failure semantics are all present, and an output schema exists so return values need no further explanation. Adding error behavior for nonexistent packages or the non-charge boundary condition would close the remaining gap.

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?

Only one parameter exists and schema coverage is 100%, with the schema already documenting exact-match semantics, the @scope/name form, and the 214-character limit. The description reinforces "exact name" but adds no format or edge-case detail the schema does not already supply, so the baseline 3 applies.

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?

States a specific verb and resource ("Read-only lookup of one package" on the npm registry) and enumerates exactly what the record contains: latest version, license, description, homepage, repository, tarball URL. It also bounds scope with "exact name" and a negative ("no download counts"), so an agent knows precisely what this returns versus a general registry search.

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

Usage Guidelines4/5

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

Clear context for use: a read-only lookup of a single package identified by exact name, with an explicit exclusion for download-count/statistics use cases. It does not name an alternative tool for fuzzy search or download stats, so the agent must infer that such queries fall outside this tool rather than being routed elsewhere.

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