Skip to main content
Glama

x402-npm-package-info

Npm Package Info: Looks up an npm package and returns its latest version, description, license, and repository 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
nameNo
inputNo
packageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / name / description
      Removed value: -"Name to process"
    • removedInput schema / properties / package / description
      Removed value: -"Package to process"
  2. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add real behavioral context that structured fields lack: the return payload fields and the payment model ('5 free trial calls per signed wallet'), which implies wallet-based auth and a quota. However, it says nothing about error handling, what happens after the trial quota, or rate limits beyond the trial count.

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?

Two tight clauses: the lookup/return summary is front-loaded and the pricing note follows. Nothing is padded, though the emoji pricing suffix is slightly informal for a tool description.

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

Completeness3/5

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

No output schema exists, and the description usefully enumerates the returned fields to fill that gap. But with no annotations and three undocumented, ambiguous parameters, an agent still lacks enough information to know which parameter to pass and under what authentication conditions the call succeeds.

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?

Three parameters (name, input, package) exist with 0% schema description coverage, and the description does not mention any of them or clarify which synonym to supply. With overlapping, ambiguous parameter names, the description fails to compensate for the schema gap.

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?

The description gives a specific verb ('looks up') and a well-defined resource ('an npm package'), and enumerates what is returned (latest version, description, license, repository). It clearly places the tool in the npm ecosystem, though it does not explicitly contrast with sibling package-info tools like x402-pypi-package-info or x402-crates-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 Guidelines2/5

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

There is no statement of when to use this tool, when not to, or which alternative (pypi/crates equivalents, npm-audit) to prefer. The only routing signal is the tool name itself, which the description merely restates.

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