Skip to main content
Glama

Agent Toolkit (all-in-one)

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

check_package

[DevOps Doctor] 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

A3.9/5.0
Behavior4/5

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

No annotations provided, so the description carries the burden and does well: it names the two live data sources, the classes of findings, the cost model (0.005 USDC per call, 3 free daily), and notes a payment parameter is optional during the free sample. Missing: what a negative/pass result looks like, latency, and whether checks are cached, but for a read-only lookup this is substantially informative.

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?

Three tight sentences, front-loaded with the core purpose followed by what it catches, then the pricing. Bracket prefix '[DevOps Doctor]' is noise, but nothing else wastes space.

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?

A no-annotation, no-output-schema tool whose results are the entire product; the description never says what the response contains (verdict, severity, version list, reason). For a safety gate where an agent must interpret the outcome before installing, that is a meaningful gap.

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 schema already documents all four parameters including defaults and the enum. The description's only added meaning is the payment/free-tier context, which is useful but marginal given the schema does the heavy lifting.

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+resource and scope: live check of an npm/PyPI package name against registry and OSV. The title and first sentence make clear it's about supply-chain safety (hallucinated names, typosquats, deprecation, CVEs), and it distinguishes from scan_dependencies (which scans a project's existing dependencies) by being a single-package pre-install check.

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?

Covers when to use implicitly — 'before installing it' — and the title frames it as a pre-install gate. But it never explicitly says when not to use it or names a sibling alternative (e.g., scan_dependencies for a whole manifest, safety_pass for broader checks).

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.