Skip to main content
Glama
pypi-package-metadata-releases-mcp

pypi-package-metadata-releases-mcp

Get PyPI package metadata

get_package_metadata
Read-onlyIdempotent

Look up a Python package on PyPI to inspect its current version, summary, author, license, Python constraint, release count, project URLs, and classifiers.

Instructions

Look up a Python package on PyPI (pypi.org) to inspect its latest version, summary, author, license, requires_python constraint, total releases, project URLs, and classifiers.

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

Input Schema

NameRequiredDescriptionDefault
package_nameYesPyPI package name (e.g. "requests", "fastapi", "pydantic").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 safety is covered; the description adds value by naming the external target (pypi.org) and enumerating exactly what the response contains, which partially compensates for the missing output schema. It does not address failure behavior for a nonexistent package, network errors, or rate limits, which matters for an open-world lookup.

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?

A single front-loaded sentence with the action first and the returned fields after; nothing is redundant. The comma-delimited field list is slightly dense but every item is informative given there is no output schema.

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 one-parameter, read-only lookup with full schema coverage and rich annotations, the description covers purpose, target source, and return contents. Only the behavior for invalid or unknown package names is left unstated, a minor gap relative to the tool's simplicity.

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% and the single parameter includes type, minLength and example values ("requests", "fastapi", "pydantic"), so the schema does the documentation work. The description adds no further constraint such as case-sensitivity or normalization of package names, so baseline 3 applies.

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?

"Look up a Python package on PyPI" gives a specific verb (look up) and resource (PyPI package), plus a concrete list of the fields inspected, so an agent immediately knows this is the general-metadata tool rather than a dependencies/downloads/release-history tool. It stops short of explicitly naming the siblings it differs from, so differentiation is inferable rather than stated.

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 by the enumeration of returned fields (version, author, license, classifiers), letting an agent infer this is the tool for a general package overview. However, there is no explicit when-to-use/when-not-to-use guidance and no mention of alternatives like get_release_history or check_python_requires, even though 'requires_python' and 'total releases' overlap with those siblings.

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