Skip to main content
Glama

package_info

Read-only

Package metadata and metrics (GET /package/api/{name}).

Fields include active_version, depends_on_* / used_by_* counts (core and optional),
author, source_url, release and upload dates, and importance_score.

importance_score = used_by_core_counts + 0.3 * used_by_optional_counts
(higher means more packages depend on this one, with optional Used by
counted at 30 percent).

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

Input Schema

NameRequiredDescriptionDefault
nameYesPyPI package name (PEP 503 normalize on the API).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / name / description
      Added value: +"PyPI package name (PEP 503 normalize on the API)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds substantive behavior: it identifies returned metadata fields and explains the importance_score formula and interpretation. It does not cover auth or rate limits, but those are less necessary given the annotations and output schema.

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?

It is front-loaded with purpose and endpoint, then lists fields and the one nontrivial derived metric. The formula adds value because importance_score's meaning is not obvious from its name. No sentence is wasted.

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?

The tool is a simple read-only lookup with one fully described parameter and an output schema, so the definition is close to complete. It explains the returned fields and the importance_score formula. The main unaddressed context is routing relative to sibling tools, which prevents a 5.

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?

The single required name parameter is fully documented in the schema as a PEP 503-normalized PyPI package name. The description only echoes {name} in the endpoint and adds no syntax or format detail beyond the schema. With 100% schema coverage, 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?

The description names the resource (package metadata and metrics) and gives the endpoint, so it is clear what the tool returns. It does not explicitly differentiate from siblings such as last_update or search_packages, which keeps it below a 5.

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 implied: call it to get a package's metadata and metrics by name. There is no explicit when-to-use or when-not-to-use guidance, and no sibling alternatives are named.

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.