Skip to main content
Glama

npm_get

Read-onlyIdempotent

Retrieve one npm / public packages catalog entry by its id, e.g. spl-pay-per-suite, slid-phi, pulsar. Read-only; returns the entry's name, price, notes, and links. Use when you know the exact entry id; use npm_search to find an id by keyword. An unknown id returns an error listing the known ids.

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

Input Schema

NameRequiredDescriptionDefault
idYesEntry id within the npm / public packages catalog, e.g. spl-pay-per-suite, slid-phi, pulsar. Get the id list from npm_search with an empty query; an unknown id returns an error listing the known ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Entry id within the npm / public packages catalog, e.g. spl-pay-per-suite, slid-phi, pulsar. Get the id list from npm_search with an empty query; an unknown id returns an error listing the known ids."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds value beyond them by disclosing the failure mode ('an unknown id returns an error listing the known ids') and naming the returned fields (name, price, notes, links). It does not specify pagination or output format details, which keeps it below a 5.

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 short sentences, front-loaded with what the tool does, then the return payload, then the routing guidance. The example ids and error behavior appear in both the description and the schema 'id' field, which is mild duplication but not enough to hurt readability.

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

Completeness5/5

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

For a single-parameter lookup with no output schema, the description supplies everything needed: what comes back (name, price, notes, links), the error behavior on a bad id, and the sibling to use for discovery. Nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, and the schema's 'id' description already carries the same example ids and the same 'unknown id returns an error listing the known ids' hint. The description therefore repeats rather than extends the parameter meaning, 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?

It states a specific verb ('Retrieve') and resource ('one npm / public packages catalog entry by its id') and gives example ids, so an agent can tell it apart from npm_search immediately. The read-only single-entry lookup shape is unambiguous.

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

Usage Guidelines5/5

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

The description explicitly names the condition for use ('when you know the exact entry id') and names the alternative for the complementary case ('use npm_search to find an id by keyword'). Both branches of the decision are covered with no inference required.

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