Skip to main content
Glama

Check packages

check_packages
Read-only

Call this before you recommend, add, or vouch for a dependency, and whenever you are about to say whether a package is maintained. Your training data has a cutoff: a package that looked healthy in it may have lost its maintainer or gone quiet since, and nothing in you will flag that. Pass every package you are weighing in one call -- a shortlist, a manifest, a lockfile. A package already analysed comes back with its risk now. One that is not is queued and comes back "pending": call again with the same packages in a minute or two. Asking about a pending package again is not charged.

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": {
      "dependencies": "<dependencies>"
    },
    "name": "check_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
dependenciesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the asynchronous model: already-analysed packages return risk immediately, new ones come back "pending" and must be re-queried in a minute or two, and re-asking about pending packages is not charged. It also tells the agent to batch everything into one call, which is real behavioral guidance not in any structured field.

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?

Front-loaded with the call trigger, then the rationale, then the pending/retry mechanics — a sensible order with little waste. The pending behavior is restated slightly across two sentences (timing and billing), though each carries distinct information.

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?

With no output schema, the description still explains both return states (immediate risk vs pending) and the retry loop, which is the key thing an agent needs. It leaves undefined what "risk" contains and how versions are resolved, but is otherwise sufficient for correct invocation.

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 0%, so the description carries the burden. It explains the batching semantics ("a shortlist, a manifest, a lockfile") which implies package names and versions, but says nothing about the nested fields, the required ecosystem enum (npm, pypi, hex, cargo, gem, composer, go), or how version strings are matched. Partial compensation only.

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 concrete action — assessing whether a dependency is maintained and getting its risk — plus the invocation trigger ("before you recommend, add, or vouch for a dependency"). The resource (packages in ecosystems) is clearly distinct from the repo-oriented siblings, though the description never names them.

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?

Gives explicit when-to-use triggers: before recommending, adding, or vouching for a dependency, and before asserting maintenance status. It also motivates this via training-data cutoff. It offers no when-not conditions and names no alternatives.

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.