Skip to main content
Glama

x402 Package Advisories

package_advisories

Security advisories for one open-source package version (npm, PyPI, Go, Maven, crates.io, NuGet, RubyGems, Packagist, Pub, Hex...). Returns a verdict (vulnerable yes/no, vuln count, max severity, max CVSS v3 score, counts by severity, recommended upgrade version re-checked against OSV, latest stable version and whether it is affected) plus every advisory: OSV/GHSA id, CVE aliases, summary, severity label, CVSS v3 score (computed from the vector) and v4 vector, affected ranges, fixed versions, the fix for this version, published/modified dates and references. Duplicate records (GHSA vs PYSEC/GO ids with the same CVE) are merged. Also returns the version's licenses, publish date, deprecation and dependency counts from deps.dev. Omit version to check the latest stable release. Vulnerability data from OSV.dev (CC-BY 4.0); package metadata from deps.dev. Unknown packages/versions, bad input and upstream errors are not charged. Costs $0.003 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name, e.g. lodash, django, golang.org/x/net, org.apache.logging.log4j:log4j-core
versionNoExact version, e.g. 4.17.15 (default: latest stable)
ecosystemYesPackage ecosystem: npm, PyPI, Go, Maven, crates.io, NuGet, RubyGems, Packagist, Pub, Hex, CRAN, Hackage, SwiftURL, ConanCenter (aliases like pip, cargo, gem, composer accepted)
include_withdrawnNoInclude withdrawn advisories (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/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 so: it discloses deduplication of GHSA vs PYSEC/GO records, that the recommended upgrade is re-checked against OSV, the data sources and their licensing (OSV.dev CC-BY 4.0, deps.dev), the charging model ($0.003 USDC via x402) and that failed/unknown lookups are not charged. That covers cost, side effects and failure modes that structured fields do not.

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?

The purpose is front-loaded in the first sentence and the remainder is grouped logically by return payload, provenance and pricing. The long enumeration of returned fields is dense but justified since there is no output schema; a few items (the trailing '...' ecosystem list, duplicated ecosystem names) are mild redundancy.

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?

For a tool with no output schema and no annotations, the description supplies the return shape in detail, the deduplication rule, the advisory sources, error/charging behavior and the payment requirement. Nothing an agent needs to call it correctly or interpret the result 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 description coverage is 100%, so all four parameters are already documented, and the description's 'omit version' note merely restates the schema default. It adds no new meaning for ecosystem aliasing or include_withdrawn, so the 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?

The first clause names a specific verb and resource — 'Security advisories for one open-source package version' — and the parenthetical ecosystem list pins the exact domain. The 'one package version' scoping implicitly separates it from manifest_audit (whole manifest) and vuln_details (single advisory), so an agent can pick it without opening other schemas.

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?

There is explicit guidance for one parameter ('Omit version to check the latest stable release'), which tells the agent how to do a latest-release sweep. However, it never says when to prefer this over manifest_audit or vuln_details, nor any precondition such as needing to know the ecosystem string first. Usage is implied by the scope statement rather than stated.

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