Skip to main content
Glama

devresources__npm_package_search

Search npm packages by keyword, e.g. query "react": version, description and monthly downloads. Source: npm registry. License: Public registry metadata — free use with attribution (search results link back to the source) (npm registry).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose useful context the schema lacks: the data source (npm registry), the fields returned, and a licensing/attribution note with results linking back to the source. It omits rate limits, auth requirements, and result ordering, which leaves real gaps for a source-backed search.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, which is good, but the middle sentence is awkwardly punctuated ("e.g. query "react": version, description and monthly downloads"), making the field list read like part of the query. The license clause repeats "(npm registry)" twice and takes as much space as the functional description.

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?

For a simple two-parameter search with no output schema, the description covers purpose, an example, returned fields, and data source — enough to invoke it correctly. Remaining gaps (limit semantics, ordering) are minor and partially covered by the schema.

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%, so both query and limit are already documented, establishing a baseline of 3. The description adds only an example query value ("react") and the returned field set; it says nothing about limit behavior or result ordering beyond what the schema states.

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 ("Search npm packages by keyword") and names the result fields (version, description, monthly downloads), so the agent knows what it gets back. It does not distinguish itself from the close siblings npm__npm_search_packages or npm__npm_get_package, which keeps it out of 5 territory.

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?

Usage is only implied by the phrase "Search npm packages by keyword" plus the "react" example; there is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool for a different need. An agent must infer from the sibling names that other registries have their own search tools.

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.