Skip to main content
Glama

package_advisories

Security advisories for one open-source package version (npm, PyPI, Go, Maven, crates.io, NuGet, RubyGems and more). Returns a verdict (vulnerable, counts, max severity/CVSS, recommended upgrade, latest stable) plus each advisory's id, CVEs, summary, severity, CVSS, ranges, fixes and references. Omit version to check latest stable. Data: OSV.dev (CC-BY 4.0) and deps.dev. Unknown packages and errors are not charged. Costs $0.003 USDC per call via x402. Free sample: GET /v1/sample.

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": "package_advisories"
  }
}

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

A3.7/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 substantial work: it discloses the pricing model ($0.003 USDC per call via x402), that unknown packages and errors are not charged, the upstream data sources with licensing (OSV.dev CC-BY 4.0, deps.dev), a free sample endpoint, and the default treatment of withdrawn advisories. It stops short of describing rate limits, latency, or auth flow beyond the x402 mention.

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 description front-loads the core purpose and packs the return shape, pricing, and data attribution into a few dense sentences. Every sentence carries information, though the return-field enumeration is lengthy and could be tighter since no output schema exists to absorb it.

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?

For a 4-parameter lookup tool with no output schema, the description supplies the return shape (verdict plus per-advisory fields), cost, error-charging behavior, and data provenance, which is enough for an agent to call it correctly. The only meaningful gap is absence of any routing guidance relative to its sibling tools.

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 the schema already documents all four parameters including aliases and the latest-stable default. The description adds only the 'omit version to check latest stable' nuance and the include_withdrawn default, both of which are already present in the schema, so it adds little beyond structure.

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 resource and scope: security advisories for a single open-source package version, enumerating supported ecosystems and describing the verdict returned. It is far from tautological, but it never distinguishes itself from the sibling vuln_details or manifest_audit, so an agent must infer which one to pick when both could apply.

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?

Usage is only implied by the phrasing 'for one open-source package version' and the note 'Omit version to check latest stable', which is really parameter guidance. There is no explicit when-to-use versus when-not-to-use statement and no named alternative, so guidance is adequate but incomplete.

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