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

pypi-package-metadata-releases-mcp

Get PyPI package dependencies

get_package_dependencies
Read-onlyIdempotent

Parse PyPI requires_dist metadata for the latest or a specified version, separating core runtime dependencies from optional extra groups so you can audit what a package installs.

Instructions

Parse requires_dist metadata for the latest or a specific version of a PyPI package, separating core runtime dependencies from optional extra groups.

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_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoOptional exact release version (e.g. "2.32.3"). Defaults to latest.
package_nameYesPyPI package name (e.g. "requests", "fastapi", "httpx").
include_extrasNoInclude optional extra dependency groups. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description usefully adds that it parses requires_dist and splits core runtime dependencies from optional extra groups, but says nothing about failure behavior for unknown packages/versions or rate limiting.

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 no filler; the resource and the core-vs-extras split come first. It could be slightly clearer about output shape, but nothing in it 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?

For a simple three-parameter read-only tool with rich annotations and full schema coverage, this is nearly complete — the description explains what is parsed and how results are conceptually separated. The main gap is that, with no output schema, it doesn't indicate how the dependency groups are presented or what happens on an invalid version.

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 all three parameters are already documented (version defaults to latest, include_extras defaults true). The description's 'latest or a specific version' and 'optional extra groups' mirror that rather than adding syntax or edge-case detail, so the baseline of 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?

Uses a specific verb ('Parse') with a specific resource ('requires_dist metadata' of a PyPI package) and states the scope (latest or a specific version). It is clearly distinguishable from siblings like get_package_metadata or check_python_requires, though it never names them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus get_package_metadata or get_release_history, and no stated prerequisites (e.g., the package must exist, a version must be valid). At best, the mention of latest vs. specific version implies a usage context rather than stating one.

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