Skip to main content
Glama

Packagist Get Package

packagist_get_package
Read-onlyIdempotent

Full Packagist registry record for one PHP/Composer package named in vendor/package form, e.g. symfony/console. Returns description, repository URL, maintainers, license, type, download and favers counts, and every published version with its requires, autoload, and dist details. Answers what a Composer package is, who maintains it, and what each release declares.

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": "laravel/framework"
    },
    "name": "packagist_get_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name in "vendor/package" form

Output Schema

NameRequiredDescriptionDefault
packageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/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 structurally. The description adds that the record is exhaustive ('every published version'), which is useful scope information, but its enumeration of return fields is largely redundant given a full output schema exists, and it says nothing about failure behavior for unknown package names.

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?

Two tight sentences: the first establishes the operation, resource, and format with an example; the second describes the payload and the questions it answers. It is front-loaded and free of filler, though the long field enumeration in sentence two overlaps with the output schema and could be trimmed.

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-only lookup with a full output schema, rich annotations, and 100% schema coverage, the description supplies everything an agent needs to select and invoke it correctly. The return payload is documented structurally, so the description only needs to establish scope and intent, which it does.

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 is documented as 'Package name in "vendor/package" form' with an example. The description restates the same format and gives a second example (symfony/console), which reinforces but does not add meaning beyond the schema, so the 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?

The description names a specific operation on a specific resource: the full registry record for one PHP/Composer package in vendor/package form, with a concrete example. The phrase 'Full Packagist registry record' implicitly distinguishes it from narrower siblings like packagist_list_versions and package_stats, but it never names an alternative, so differentiation is inferred 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?

It gives implied usage through the closing sentence about which questions it answers (what the package is, who maintains it, what each release declares). There is no explicit when-to-use versus when-to-use-a-sibling guidance and no exclusions, so an agent must infer that this is the broad 'get everything' call rather than the narrower stats or version-list calls.

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.