Skip to main content
Glama

Packagist Package Intelligence — PHP/Composer Health (AI)

packagist_package_intelligence
Read-only

Complete health analysis for any PHP Composer package

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": {
      "composer_packages": "<composer_packages>"
    },
    "name": "packagist_package_intelligence"
  }
}

Input Schema

NameRequiredDescriptionDefault
apify_api_keyNoYour Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up
composer_packagesYesPackagist (Composer/PHP) package names to analyze, as vendor/package

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / apify_api_key
      Added value: +{
      +  "description": "Your Apify API token (optional). When provided the actor runs live and returns real data. Get one free at https://apify.com/sign-up",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / composer_packages
      Added value: +{
      +  "description": "Packagist (Composer/PHP) package names to analyze, as vendor/package",
      +  "type": "string"
      +}
    • removedInput schema / properties / input
      Removed value: -{
      -  "description": "Input for Packagist Package Intelligence — PHP/Composer Health (AI). See https://apify.com/noniner/packagist-package-intelligence.",
      -  "type": "object"
      -}
    • addedInput schema / required
      Added value: +[
      +  "composer_packages"
      +]
  3. Added

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already establish readOnlyHint=true, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond that: it does not explain what signals constitute "health" (dependencies, maintenance cadence, security advisories, downloads), that calls hit live network data via Apify, or whether the optional API key changes behavior between mock and real results.

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 short sentence with zero filler and the key qualifier (PHP Composer) placed early. It is terse rather than bloated, though the structure offers no secondary statements that would orient the agent.

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

Completeness2/5

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

There is no output schema, so the description carries the burden of explaining what a "complete health analysis" returns, and it does not. For a tool whose value is entirely in its report contents, an agent cannot judge from this definition whether the output will answer its question.

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 both parameters are already documented in the schema, including the apify_api_key live-vs-mock behavior and the vendor/package format. The description provides no additional parameter meaning, making the baseline 3 appropriate.

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 resource and scope — "health analysis for any PHP Composer package" — and the PHP/Composer qualifier implicitly separates it from the npm, PyPI, crates, NuGet, and RubyGems siblings. It stops short of enumerating what the analysis covers, so the verb "health analysis" stays somewhat abstract.

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 ecosystem qualifier: an agent can infer this tool is for PHP/Composer packages and the sibling tools cover other registries. There is no explicit when-to-use statement, no exclusions, and no mention of how it relates to the sibling intelligence tools for other package managers.

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.