Skip to main content
Glama

Crypto & Web Data API for Agents

OSV vulnerability advisory by ID

security_advisory
Read-only

OSV vulnerability advisory by ID. Returns an OSV.dev advisory: summary, affected packages with fixed versions, severity and references. Price $0.020 per call (x402: USDC on Base or Solana).

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": {
      "id": "<id>"
    },
    "name": "security_advisory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVulnerability ID (GHSA-, PYSEC-, RUSTSEC-, GO-...)
txNoAlternative to the X-Payment-Tx header

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds genuinely new behavioral context by disclosing the return payload shape and, notably, the cost model ($0.020 per call, x402 USDC on Base or Solana), which an agent cannot infer from structured fields. It does not disclose failure behavior for unknown IDs or where the payment tx is supplied, but the pricing disclosure is a meaningful addition.

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?

Three short sentences, front-loaded with the resource and payload before the commercial detail; nothing is padded. Minor redundancy in that the opening sentence echoes the tool name and title rather than adding information.

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 single-ID read-only lookup with no output schema, the description covers what is returned, the ecosystems accepted, and the payment requirement, which is enough to call it correctly. The remaining gaps — not-found behavior, and how this differs from sibling advisory tools — are modest but real.

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%, with the id pattern, examples and length already documented, so the schema carries the parameter burden and baseline 3 applies. The description adds no syntax detail beyond 'by ID' and does not explain the tx parameter's role relative to the X-Payment-Tx header, leaving that entirely to the schema's one-line note.

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 lookup key ('OSV vulnerability advisory by ID') and enumerates the payload fields returned (summary, affected packages with fixed versions, severity, references), so an agent knows exactly what it gets. It does not distinguish this tool from close siblings such as security_osv or security_cve, and the first sentence largely restates the title.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of when another advisory tool (security_cve, security_osv, security_crate) is the better choice, and no stated preconditions beyond needing an ID. The only contextual hint is the 'by ID' phrasing, which implies the input must come from one of the ID ecosystems listed in the schema.

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