Skip to main content
Glama

Is this package version vulnerable or malicious?

check_package
Read-onlyIdempotent

Checks one package version (npm, PyPI, Go, crates.io, Packagist, RubyGems, Maven, NuGet) against OSV.dev: advisory ids, severity, CVSS, fixed-in versions and malicious flags. Free tier: 30 calls/day per IP with full results, then $0.001 per call in USDC over x402 (/v1/package).

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

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name, e.g. lodash
versionYesExact version, e.g. 4.17.15
ecosystemNoOne of npm, PyPI, Go, crates.io, Packagist, RubyGems, Maven, NuGet, Pub, Hex (default npm)

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?

Annotations already declare readOnly, idempotent, and open-world behavior, and the description goes beyond them by disclosing the upstream data source (OSV.dev), the rate limit (30 calls/day per IP) and the pay-per-call fallback at $0.001 in USDC via x402. That cost/quota disclosure is genuinely useful for an agent deciding whether to retry; it does not cover error behavior for unknown packages.

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?

Two sentences, purpose first, operational cost second – front-loaded with no filler. The pricing sentence is dense with numbers but earns its place as cost information; nothing is redundant with the schema.

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 correctly enumerates the return payload (advisory ids, severity, CVSS, fixed-in versions, malicious flags), which is what the agent needs to know it can act on results. Only gap is failure/unknown-package behavior for a three-parameter tool.

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 each of the three parameters is already documented with examples and the ecosystem default. The description only restates the ecosystem list and the 'one version' constraint, adding no syntax or format detail beyond the schema. 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 ('checks one package version') plus the backing service (OSV.dev), the supported ecosystems, and the exact result fields returned. An agent can tell this is the single-package lookup distinct from the bulk-oriented sibling scan_dependencies 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?

The phrase 'Checks one package version' implies the single-package use case versus scan_dependencies, but the alternative is never named and no exclusion criteria are given. The free-tier/quota sentence gives operational context for when the call is expensive to repeat, but not selection guidance.

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