Skip to main content
Glama

DevOps Doctor

Check if an npm or PyPI package is real, current and safe before installing it

check_package

Live check against the npm / PyPI registry and the OSV vulnerability database. Catches hallucinated package names, typosquats, deprecated packages and known vulnerabilities. Price 0.005 USDC per call; first 3 calls per day free.

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>",
      "name": "<name>"
    },
    "name": "check_package"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name, e.g. express or requests
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
versionNoOptional version to check for vulnerabilities (defaults to latest)
ecosystemYesnpm or pypi

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses both external data sources, the class of findings returned, and the cost model (0.005 USDC per call, first 3 calls/day free). It omits the response shape and whether a failed check differs from an error, but the pricing and sourcing disclosures are substantive.

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?

Three compact sentences, front-loaded with the mechanism and the detections, then the cost. Every sentence carries distinct information and nothing is repeated from the schema.

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

Completeness3/5

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

For a four-parameter read tool with no output schema and no annotations, the description never indicates what a result looks like — a verdict field, a list of CVEs, or a boolean plus findings. An agent knows the inputs and the cost but must call blind to learn the return shape.

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 all four parameters are already documented, including the 'defaults to latest' behavior and the optional x402 payment field. The description adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 specific verb and resource (live check against npm/PyPI registry and OSV) and enumerates exactly what it detects: hallucinated names, typosquats, deprecated packages, known vulnerabilities. This distinguishes it clearly from a bulk dependency scanner like scan_dependencies, which operates on manifests rather than a single named package.

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?

The title supplies a clear use context ('before installing it') and the description scopes the tool to a single package lookup. It does not name when to prefer scan_dependencies or check_config_file, so the exclusion/routing side of the guidance is absent.

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.