Skip to main content
Glama

List npm package names

npm_registry_packages_list
Read-onlyIdempotent

List npm package names in registry key order, with an opaque cursor. Optional inputs: after, limit and cursor. Returns a list (use cursor when paginated). Costs credits; see meta.creditsCharged.

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": {
      "context": "<context>",
      "llm_model": "<llm_model>"
    },
    "name": "npm_registry_packages_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNoInclusive start: the named package is the first row. Leave it out to start at the beginning.
limitNoNames per page, 1 to 1000. Default: 1000.
cursorNoCursor from `page.nextCursor` of the previous response. It only continues the same lookup and filters.
contextYesDescribe the user's underlying goal in one sentence, not the tool you are calling.
llm_modelYesThe exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess.
conversation_idNoEcho the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the description's added value is in disclosing cost ("Costs credits; see `meta.creditsCharged`"), key ordering, and opaque-cursor pagination. Those are real behaviors not encoded in the annotations. It still omits the result shape and any enumeration limits.

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?

Three compact clauses, front-loaded with what is listed and in what order, then pagination, then cost. The parameter enumeration is slightly redundant given the schema but costs little.

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?

With no output schema, the description should clarify the returned shape; "Returns a list" is the minimum, and the `page.nextCursor` reference appears only in the schema. Six parameters at full schema coverage keep it adequate, but scope (whole registry vs. subset) is never stated.

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%, and the description's mention of `after`, `limit`, and `cursor` adds no meaning beyond the schema's own explanations of inclusive start, page size, and cursor reuse. Baseline 3 applies when the schema does the work.

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?

"List npm package names in registry key order" gives a specific verb plus resource and adds an ordering scope that separates it from registry-adjacent siblings like changes or recent listings. It stops short of naming which sibling to use for filtered or time-ordered enumeration.

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 this tool is the right choice versus npm_registry_changes_list, npm_registry_recent_list, or npm_user_packages_list, nor any exclusion. The only operational hints are pagination and cost, which are not usage routing.

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.