Skip to main content
Glama

Package registry info

package_info
Read-only

Fetch version, license, repository, homepage, download stats, and release dates for npm, PyPI, or crates.io packages to evaluate dependencies and confirm maintenance.

Instructions

Latest version, description, license, repository and homepage for any npm, PyPI or Rust (crates.io) package, with weekly downloads (npm), release date (PyPI, crates.io) or 90-day downloads (crates.io). Good for picking dependencies and checking they're maintained. Costs $0.001 per call.

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": {
      "ecosystem": "<ecosystem>",
      "name": "<name>"
    },
    "name": "package_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name, e.g. "zod", "requests", "serde".
ecosystemYes"npm", "pypi" or "crates".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description earns credit for adding the per-call price ($0.001) and for disclosing that the returned metric differs by ecosystem — weekly downloads for npm, release date for PyPI/crates, 90-day downloads for crates. It stops short of describing behavior on invalid or unknown package names.

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?

Two tight sentences: the first front-loads the returned fields and ecosystems, the second covers purpose and cost. No filler, nothing repeated from the schema verbatim except the field list, which is doing real work.

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?

A read-only, two-parameter lookup with no output schema, so the description's job is to say what comes back and what it costs — both are covered, including ecosystem-dependent return variation. Error behavior for unknown packages is the only meaningful gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is a 3. The description goes beyond it by mapping human ecosystem names onto the enum values — 'Rust (crates.io)' clarifies that the enum member to pass is 'crates', which the schema alone leaves slightly ambiguous.

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?

Names the exact resource (package registry lookup) and enumerates the returned fields — latest version, description, license, repository, homepage — plus the three supported ecosystems. That specificity separates it from a vulnerability-lookup sibling like package_vulns, though the description never names that alternative explicitly.

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?

'Good for picking dependencies and checking they're maintained' supplies a concrete use case, which is more than nothing. But there is no when-not guidance, no mention of package_vulns or other tools for adjacent needs, and no statement about how to handle a package that isn't found.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.