Skip to main content
Glama

Packagist List Versions

packagist_list_versions
Read-onlyIdempotent

Release history of one PHP/Composer package on the Packagist registry, given a vendor/package name such as symfony/console. Returns every published version string paired with its release timestamp, plus a total count. Answers which versions of a Composer package exist and when the latest one shipped.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "symfony/console"
    },
    "name": "packagist_list_versions"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesvendor/package

Output Schema

NameRequiredDescriptionDefault
countYesTotal number of versions
packageYesPackage name in vendor/package form
versionsYesList of all versions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/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 fully covered. The description adds the return shape (version strings plus timestamps and a total count) and confirms single-package scope, which is useful but partially duplicates the output schema. It says nothing about pagination, ordering, or handling of large version lists.

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?

Three compact sentences, front-loaded with the resource and scope, then the return contents, then the question it answers. Every sentence carries information, though the last sentence partly restates the first two.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with a full output schema and complete annotations, the definition covers scope, input format, and return contents with nothing material missing.

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% and the single parameter is already described as 'vendor/package', so baseline is 3. The description earns a bump by making the required format concrete with a real example (symfony/console), reducing the chance of passing a bare package name.

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-and-resource pair: the release/version history of a single PHP/Composer package on Packagist, with an example identifier (symfony/console). It is clearly distinct from a package-metadata or search tool, though it never names a sibling to route against explicitly.

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?

It gives a clear use context: 'Answers which versions of a Composer package exist and when the latest one shipped.' That tells the agent when this tool is the right pick, but it offers no exclusions or explicit pointer to alternatives such as packagist_get_package or packagist_search.

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.