Skip to main content
Glama

PyPI Package Metadata & Releases MCP

Get PyPI release history

get_release_history
Read-onlyIdempotent

Retrieve chronological release versions for a PyPI package ordered newest first, including upload timestamps, file counts, wheel and sdist flags, yanked status, and requires_python.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum recent releases to return (1 to 100). Default 15.
package_nameYesPyPI package name (e.g. "django", "numpy", "requests").
include_yankedNoInclude yanked releases in the list. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior context: results are ordered newest first and the payload includes specific fields (timestamps, file counts, wheel/sdist flags, yanked status, requires_python), which matters because no output schema exists. It stops short of describing behavior at the limits, such as what happens for a package with fewer releases than the limit.

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 sentence that front-loads the core operation and ordering before enumerating fields. It is dense rather than padded, though the trailing field list is somewhat list-like and could be trimmed given the schema already handles parameters.

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 no output schema, the description carries the return-value burden and largely discharges it by enumerating the returned fields and their ordering. Combined with annotations that cover safety and idempotency and a fully documented schema, the definition is close to complete, with only edge-case behavior (empty results, truncation beyond limit) left implicit.

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 self-documenting, and the baseline is 3. The description contributes indirectly by establishing that the list is newest-first, which clarifies what 'limit' actually bounds, but it adds no direct semantics for package_name, limit, or include_yanked beyond the schema.

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 a specific verb ('Retrieve') and resource ('chronological release versions for a PyPI package'), so the operation is unambiguous. It does not differentiate itself from siblings such as get_package_metadata, which an agent might reasonably guess also surfaces version information.

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 only implied by the content of the return data — an agent can infer this is the tool for version-history questions. There is no explicit when-to-use statement, no exclusion of alternatives like get_package_metadata, and no note on prerequisites such as packages needing to exist on PyPI.

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.