Skip to main content
Glama

P0: CVE, package and domain checks

Package risk

package_risk
Read-onlyIdempotent

Use when you must vet a dependency before installing or shipping it: pass ecosystem (npm, PyPI, Go, crates.io, RubyGems, Maven, NuGet). Returns the exact paid x402 request for your input (GET /package/risk, $0.005 per call), with a link to the full schema; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. With a P0 access key (header Authorization: Bearer p0k_…, buy one at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) this tool makes the paid call itself and returns the data, deducting the listed price.

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name; Maven is groupId:artifactId, Go is the module path
versionYesExact version, e.g. 4.17.15
ecosystemYesPackage ecosystem

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 readOnly/ idempotent annotations, the description discloses the payment model ($0.005 per call), that it returns an x402 request URL plus a schema link rather than data by default, that bad input is rejected before any charge, and that a P0 bearer key makes it execute the paid call and deduct the price. These are exactly the non-obvious traits an agent could not get from annotations.

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?

It is front-loaded with the usage condition and follows with payment mechanics in a logical order with no filler sentences. The embedded purchase URL is long and dense, but it carries necessary information rather than redundant prose.

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

Completeness5/5

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

There is no output schema, and the description compensates by explaining precisely what is returned (a paid x402 request with schema link, or the data when a P0 key is supplied) and how the charge works. For a three-required-parameter tool with a billing flow, nothing essential for correct invocation is missing.

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% and the enum, name-format notes (Maven groupId:artifactId, Go module path), and version example are already in the schema. The description restates the ecosystem list without adding syntax or format meaning, so it earns only the baseline.

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?

The description names a specific action and resource: vet a dependency before installing or shipping, with the ecosystem set spelled out. It is clear what the tool produces (a paid x402 request or the data itself), but it does not distinguish itself from related siblings such as vuln_cve or software_eol, so an agent must infer the boundary.

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?

It gives explicit triggering conditions ('use when you must vet a dependency before installing or shipping it') and coverage for all seven ecosystems. It stops short of naming alternative tools or stating when not to use it, so there is no exclusion 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