Skip to main content
Glama

Package Search

package_search
Read-only

Searches package names and descriptions on npm, crates.io, Packagist, RubyGems and NuGet, returning name, version, description, downloads where the registry gives them, licence, repository and last publish date. PyPI has no search API: it is checked by exact name only. Registries that fail are listed in unavailable. Limit per registry max 10. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.

Input Schema

NameRequiredDescriptionDefault
qYesPackage name or keywords (1-100 characters)
limitNoResults per registry, 1-10 (default 5)
ecosystemsNoComma list of npm, crates, packagist, rubygems, nuget, pypi (default: all)

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
sourceNo
resultsNo
pypiNoteNo
checkedAtNo
unavailableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint it discloses non-obvious behavior: per-registry limit cap, how registry failures are reported, and a full payment model (x402 on Base/Solana/Arc, $0.002 per successful call, failed calls uncharged). That payment/auth and failure semantics are exactly the kind of context annotations cannot carry. It does not describe pagination or result ordering.

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?

The purpose and coverage lead, followed by caveats and pricing. It is a dense paragraph rather than a list, but nearly every clause carries operational value (registries, fields, PyPI limitation, cap, payment terms) with little filler.

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?

With an output schema present, the field enumeration is redundant but harmless; the description still covers registry scope, the PyPI edge case, failure reporting, and payment requirements, which is ample for a multi-registry search tool. The one gap is sibling differentiation against 'package'.

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%, so all three parameters are already documented in the schema. The description restates the 10-per-registry cap and lists the ecosystems, adding no syntax or formatting detail beyond what the schema provides; baseline 3 is appropriate.

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 ('searches package names and descriptions') and enumerates the registries covered plus the fields returned, so an agent knows exactly what it gets. It does not, however, differentiate itself from the sibling tool 'package', which plausibly performs exact-name lookups — the PyPI caveat hints at that split but never names the alternative.

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?

It provides useful scoping context (PyPI is exact-name only, limit is capped at 10, failed registries surface in 'unavailable'), which implies when it is appropriate. But there is no explicit when-to-use versus the sibling 'package' tool or other search tools, leaving routing to inference.

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