Skip to main content
Glama

Package Vulnerabilities - OSV.dev advisories

osv_vulns
Read-onlyIdempotent

Known vulnerabilities for an open-source package version from OSV.dev (GitHub advisories, PyPI, npm, Go, Maven, crates.io...): id, CVE aliases, summary, severity, fixed versions, references. Plus what plain OSV lacks: CISA KEV 'exploited in the wild' flag + date, FIRST EPSS exploit probability, exploited/most-likely first, and one verified upgrade version that fixes every listed vuln. ~1 s. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.002/call via x402 at https://radarbg.com/x402/osv-vulns.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package": "lodash",
      "version": "4.17.15",
      "ecosystem": "npm"
    },
    "name": "osv_vulns"
  }
}

Input Schema

NameRequiredDescriptionDefault
purlNoOr a package URL, e.g. pkg:npm/lodash@4.17.15
packageNoPackage name, e.g. lodash
versionNoVersion, e.g. 4.17.15 (empty = all known)
maxItemsNoMax results
ecosystemNonpm, PyPI, Go, Maven, crates.io, RubyGems, NuGet

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, the description discloses latency (~1 s), quota (5 calls/day per IP free), authentication (Radar API key via X-API-Key, or x402 at $0.002/call), data provenance (GitHub advisories, PyPI, npm, Go, Maven, crates.io), and result ordering (exploited/most-likely first). These are exactly the operational facts an agent needs before calling and that no annotation conveys.

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 one dense paragraph, but it is front-loaded with what the tool does and the returned fields before moving to enrichment and pricing. The pricing link and x402 URL with an anchor are somewhat verbose, though still operationally relevant since quota shapes agent behavior.

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 does the work of describing return contents and ordering, and it covers cost/auth constraints. Minor gaps: it does not say what happens when no advisories exist or when an ecosystem/version is invalid, and no pagination behavior is described beyond maxItems.

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 package, version, ecosystem, purl and maxItems are already documented in the schema; the description adds no format, precedence, or purl-vs-package/version disambiguation guidance. Baseline 3 applies when the schema carries the parameter burden.

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 states a specific verb+resource: 'Known vulnerabilities for an open-source package version from OSV.dev', and enumerates the returned fields (id, CVE aliases, summary, severity, fixed versions, references) plus the enrichment layer (KEV, EPSS, verified upgrade version). It is clearly not a generic lookup, but it never names or distinguishes itself from the sibling package_safety_check, leaving the agent to 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'for an open-source package version', and the schema note 'empty = all known' hints at a broad-scan mode, but there is no explicit when-to-use/when-not guidance and no named alternative for overlapping needs such as package_safety_check. An agent can guess the right context but is given no routing rule.

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