Skip to main content
Glama
packagist-mcp

packagist-mcp

by Ankur1911

list_versions

Read-onlyIdempotent

Retrieve a package's release history—versions, dates, PHP constraints, and security advisory IDs—to choose a safe version or gauge how often it ships.

Instructions

Release history of a package, newest first: version, release date, PHP constraint, and the IDs of any security advisories that affect that exact version (or an abandoned marker). Pre-releases are hidden unless requested. Use it to choose a safe version or to see how often a package ships.

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": "list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name as 'vendor/package'.
limitNoMaximum versions to return.
include_prereleasesNoInclude alpha, beta and RC releases.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world behavior. The description adds ordering (newest first), default filtering of pre-releases, and the presence of an abandoned marker — real behavioral context beyond the annotations. It doesn't discuss size/limit behavior in prose, but the schema covers that.

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?

Three tight sentences: what it returns, the default filtering rule, then the intended use. Front-loaded with the resource and ordering, with no filler.

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?

There is no output schema, and the description compensates by enumerating the returned fields, so an agent knows what it will get back. It leaves minor gaps such as whether results are ever truncated beyond 'limit' or how abandoning affects filtering, but nothing critical for correct invocation.

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 100%, so baseline is 3; the description earns a bump by clarifying the default filtering effect of include_prereleases ('hidden unless requested') and by framing what the returned fields mean, which the schema cannot express.

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?

States a specific verb and resource ('Release history of a package, newest first') and enumerates the returned fields (version, release date, PHP constraint, advisory IDs, abandoned marker). It does not explicitly differentiate itself from siblings such as get_package or security_advisories, which also touch overlapping data.

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

Usage Guidelines4/5

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

Gives clear use cases ('choose a safe version', 'see how often a package ships'), which orients the agent well. It stops short of naming alternatives or exclusions, e.g. when to prefer security_advisories for advisory detail rather than this list.

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