Skip to main content
Glama

devresources__packagist_search

Search Packagist PHP packages by keyword, e.g. query "laravel": downloads and favers. Source: Packagist. License: Public registry metadata — free use with attribution (search results link back to the source) (Packagist).

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": {
      "query": "<query>"
    },
    "name": "devresources__packagist_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose that result records include download counts and favers plus an attribution/licensing posture. It says nothing about rate limits, authentication requirements, result ordering, or error behavior — meaningful gaps for a registry-search tool with zero annotation coverage.

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?

The core purpose and example are front-loaded in a single tight sentence, so the agent gets the key information immediately. The trailing license/attribution sentence is largely boilerplate and the parenthetical repeats the same idea, slightly diluting the payload.

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 simple two-parameter lookup with a fully described schema and no output schema, the definition covers purpose, an example query, and a hint at what result fields look like. It is nearly complete, lacking only matching/ordering semantics and any failure-mode guidance.

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 both parameters are documented in the schema, so the baseline of 3 applies. The description contributes only an example query value ("laravel") and does not clarify matching semantics (keyword vs exact name) or ordering of the limited result set.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("Search Packagist PHP packages") and names the domain (PHP, Packagist), which cleanly separates it from siblings like npm_package_search, rubygems_search, and hexpm_package_search. An agent can route PHP-package queries here without opening the schema.

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 implied by the source binding (Packagist = PHP ecosystem) and by the example query "laravel", but there are no explicit when-to-use/when-not rules or named alternatives. No exclusions, caveats, or prerequisites are stated.

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.