Skip to main content
Glama

Agent Dependency Radar — Package Advisory Preflight

dependency_preflight

Use for ONE public pinned package: ecosystem npm or PyPI, package_name and exact version, e.g. {ecosystem: npm, package_name: lodash, version: 4.17.21}. Compare installed and latest published advisories with registry evidence. Free beta; no install or automatic upgrade. Use release_gate for a grouped release decision.

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": {
      "ecosystem": "<ecosystem>",
      "package_name": "<package_name>",
      "version": "<version>"
    },
    "name": "dependency_preflight"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYesCurrent exact installed version; not a range.
ecosystemYesExact OSV ecosystem: npm or PyPI.
package_nameYesCanonical registry package name, e.g. lodash, @scope/name, requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: 'no install or automatic upgrade' establishes a non-mutating read-only profile, plus 'free beta' signals availability/cost. It doesn't cover rate limits, latency, or exactly what evidence shape comes back, so it stops short of full disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, no filler: scope first, then what it returns, then behavioral caveats, then the sibling exit ramp. Every sentence earns its place.

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 three-required-parameter lookup with no output schema and no annotations, the definition covers purpose, inputs, side effects, and alternatives. Auth/credential expectations and the shape of the 'registry evidence' are the only notable omissions, and 'free beta' partially covers the former.

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%, so the baseline is 3. The description reinforces the key constraint (pinned, exact version, not a range) and shows a complete example call object, but adds little beyond what the enum and per-parameter descriptions already state.

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?

States a concrete action ('Compare installed and latest published advisories with registry evidence') on a precisely bounded resource ('ONE public pinned package'), and explicitly separates itself from release_gate, which handles the grouped case. An agent can pick between the two without consulting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the selection condition (single public pinned package), the ecosystem scope, and names the alternative (release_gate) with the exact circumstance that selects it (a grouped release decision). The 'public' qualifier also implicitly excludes private/internal packages.

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