Skip to main content
Glama

query_cves

Read-onlyIdempotent

Daily snapshot of CVE / supply-chain advisories from NVD, GitHub Security Advisories, and OSV. Use before merging dependency updates, when triaging an alert, or when a user asks "is package X compromised".

Requires $0.01–$0.05 USDC (x402) or an Authorization Bearer trial/paid key.
On payment_required, call fillin_probe then fillin_signup (POST /v1/signup)
for a free 20-query trial, or fillin_payment_challenge then retry with
X-Payer-Address, X-Payer-Nonce, X-Payer-Signature (or Bearer).
POST /v1/probe for 1 free taste/IP/day.

Each result row carries a structured `affected` list (one entry per
affected package: ecosystem, name, vulnerable_range, patched_range) and
a numeric `severity_score` (CVSS baseScore, nullable on OSV-only rows).
A buyer can act on the returned row — pin to `patched_range` — without
a second hop to NVD or GHSA.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNo1-20
queryYesVulnerability / supply-chain query.
cutoffYesTraining cutoff as ISO-8601 date.
min_severityNoOptional CVSS baseScore floor (0.0-10.0). When set, rows with a populated severity_score below this value are dropped, and rows whose severity is unknown are skipped. Use 7.0 for high+critical only, 9.0 for critical only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

While annotations declare readOnlyHint, openWorldHint, and idempotentHint, the description adds critical behavioral details: payment requirements (USDC/x402, Bearer key), the specific HTTP error-response flow, and the guarantee that each returned row carries an 'affected' list and numeric severity_score. It also explains that a buyer can act directly on the row without an extra hop, which is non-obvious behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured with clear intent: purpose, use cases, payment, error handling, and result structure. Each section is dense but not padded. It front-loads the purpose and usage immediately, making it easy for an agent to evaluate relevance without reading the full text. No redundant sentences.

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?

Given the payment authentication complexity, error recovery steps, and rich output semantics, the description covers everything an agent needs to invoke correctly. It even addresses optional parameters (min_severity) with practical guidance. The existence of an output schema means return-format details aren't strictly required, but the description still provides enough context for acting on results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers all four parameters, so the baseline is 3. The description adds value by explaining the 'affected' list structure ('ecosystem, name, vulnerable_range, patched_range') and severity_score semantics (CVSS baseScore, nullable on OSV-only rows). It also gives concrete min_severity thresholds ('Use 7.0 for high+critical only, 9.0 for critical only'). This goes beyond the schema's terse descriptions.

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 description explicitly states the tool queries a 'daily snapshot of CVE / supply-chain advisories from NVD, GitHub Security Advisories, and OSV' and gives specific use cases ('before merging dependency updates, when triaging an alert, or when a user asks...'). This clearly differentiates it from sibling search tools like query_markets or query_papers.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance with concrete scenarios and also outlines the exact flow for handling payment_required errors (fillin_probe → fillin_signup or fillin_payment_challenge). This goes beyond vague context and gives an agent a decision path.

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