Skip to main content
Glama

dev_composer

Read-only

PHP Composer package info — Latest version and metadata for a PHP package on Packagist: version, release date, description, license, repository, requirements and recent versions. Price: $0.002 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
nameYesvendor/package, e.g. laravel/framework

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new information — the $0.002 USDC cost on Base via x402 — which an agent needs before calling, plus the set of metadata returned; it stops short of describing failure modes for unknown packages.

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?

One compact sentence front-loads what the tool returns, with the pricing note appended, giving full clarity in minimal space. The price sentence is slightly tangential to purpose but is justified as a call precondition.

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 single-parameter read tool with no output schema, the description enumerates the returned metadata fields and discloses the paid x402 cost, which is enough for an agent to decide and call correctly. Only edge-case behavior (e.g., nonexistent packages) is missing.

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 coverage is 100% and the single 'name' parameter already documents the 'vendor/package' format. The description only reiterates that it concerns a PHP package, so it adds essentially nothing beyond the schema — 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?

States a specific verb+resource: latest version and metadata for a PHP package on Packagist, naming the concrete fields (version, release date, description, license, repository, requirements, recent versions). It is clear which ecosystem it covers, though it does not explicitly distinguish itself from ecosystem siblings like dev_npm or dev_pypi.

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 'PHP Composer package' — an agent can infer this is the right tool for Packagist lookups rather than npm/PyPI, but there is no explicit when-to-use statement, no prerequisites, and no named alternative.

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.

Resources