Skip to main content
Glama

CVE Lookup

cve_lookup
Read-only

Full CVE record by ID (CVSS, EPSS, KEV, CWE, references, CISA SSVC, Nuclei templates), with the optional GitHub Security Advisory. Call the cve_products tool for every affected product. Unknown impact? Read ssvc.mission_wellbeing.high.

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": {
      "cve_id": "<cve_id>"
    },
    "name": "cve_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
cve_idYesCVE ID, e.g. CVE-2021-44228
include_ghsaNoAdd the GitHub Security Advisory of the CVE, from the local copy of the GitHub Advisory Database

Output Schema

NameRequiredDescriptionDefault
cwesYes
ghsaYesWithout include_ghsa: a link that asks for the advisory. With it: the GitHub advisory; {available:false, reason} if the data is not loaded or unreadable; null if the CVE has none.
refsYesThe first 20 references.
ssvcYesCISA's SSVC assessment. null when CISA has not assessed the CVE.
cve_idYes
cwe_idYesMain CWE, such as CWE-79. Empty when none is known.
in_kevYes
creditsYes
cvss_v3YesBase score, 0-10. null without a v3 vector.
cvss_v4YesBase score, 0-10. null without a v4 vector.
cve_tagsYesTags of the CVE record from NVD or the CNA, such as disputed.
severityYesFrom CVSS v3, else v4, else v2: CRITICAL, HIGH, MEDIUM, LOW, NONE (score 0.0), or UNKNOWN (no CVSS).
poc_countYesReferences tagged Exploit.
ref_countYes
cwe_sourceYesSource of cwe_id, coded as cvss_v3_source; null if none recorded.
epss_scoreYesEPSS probability, 0-1, of exploitation in the next 30 days. null if unscored.
epss_trendYesDaily EPSS history, newest first, up to 30 days.
descriptionYes
cvss_v3_sourceYesSource: nvd, cna (the CVE's CNA), adp (CISA's ADP) or other (any other source). null if none recorded.
cvss_v3_vectorYes
cvss_v4_sourceYesCoded as cvss_v3_source; chosen apart from it.
cvss_v4_vectorYes
kev_date_addedYesYYYY-MM-DD it entered CISA KEV. null if not in KEV or undated.
published_timeYesYYYY-MM-DD.
epss_percentileYesShare of scored CVEs with an equal or lower EPSS score, 0-1. null with epss_score.
nuclei_templatesYes
affected_productsYesThe first 20 products.
ransomware_campaignYesKnown or Unknown for a KEV entry. null outside KEV.
vulnerability_statusYesNVD status, such as Analyzed, Modified, Deferred or Rejected. May be empty.
has_metasploit_moduleYesnull when the Metasploit feed is not loaded.
vendor_advisory_countYesReferences tagged Vendor Advisory.
affected_product_countYesAll products of the CVE; affected_products holds the first 20.
metasploit_module_countYesnull when the Metasploit feed is not loaded.
product_count_by_vendorYesUp to 10 vendors with the most products, and each one's count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavior beyond that: the GHSA section comes from a local copy of the GitHub Advisory Database, and the SSVC subfield ssvc.mission_wellbeing.high is available for impact assessment. It says nothing about behavior on unknown CVE IDs or response timing, so it falls short of fully transparent.

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 core payload is front-loaded in a single dense sentence with a parenthetical field list, followed by two short directives. Everything earns its place, though the telegraphic 'Unknown impact? Read ssvc.mission_wellbeing.high.' is slightly cryptic out of context.

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?

This is a simple two-parameter lookup with a full output schema, so the description needn't explain return values. It covers scope, contents, the one optional extension, and the follow-up tools, leaving only edge-case behavior (invalid or unknown CVE IDs) unaddressed.

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 both cve_id and include_ghsa are already documented in the schema, including the example format and the local-database source for GHSA. The description only restates that the advisory is optional, adding no new syntax or constraint information beyond the schema.

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 the resource (a full CVE record) and the key (by ID), then enumerates the data it contains (CVSS, EPSS, KEV, CWE, references, CISA SSVC, Nuclei templates), which is far more specific than the title alone. It doesn't contrast itself with cve_lookup_bulk or cve_search, so sibling differentiation is only partial, but an agent can still tell what this tool returns.

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

Usage Guidelines4/5

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

It gives an explicit hand-off rule: use cve_products for every affected product, and points to ssvc.mission_wellbeing.high when impact is unknown. It doesn't explain when to prefer this over cve_lookup_bulk (multiple IDs) or cve_search, so the single-vs-batch choice is left implicit.

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.