Skip to main content
Glama

Check a CVE

check_cve
Read-onlyIdempotent

Use this when the user asks how serious a CVE is, such as "how bad is CVE-2021-44228?", or about an advisory id that triage_dependencies names, such as GHSA-wrw7-89jp-8q8g or RUSTSEC-2024-0370. Pass the CVE id, or a GHSA, RUSTSEC, GO or PYSEC advisory id. A CVE that NVD has not published yet, and an advisory with no CVE, are answered from OSV.dev with an osv block. Returns a priority (exploited, likely, routine or unknown), the description, CVSS score and severity, whether the CISA Known Exploited Vulnerabilities catalog lists it, the EPSS exploitation probability, a patch or advisory link when tagged, and the as_of dates. A lookup by CVE id: it does not know which software the user runs or whether they are affected.

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": "<cve>"
    },
    "name": "check_cve"
  }
}

Input Schema

NameRequiredDescriptionDefault
cveYesA CVE id such as "CVE-2021-44228", or an OSV.dev advisory id such as "GHSA-wrw7-89jp-8q8g", "RUSTSEC-2024-0370", "GO-2026-5932" or "PYSEC-2024-1"

Output Schema

NameRequiredDescriptionDefault
cveYes
kevNo
osvNoThe OSV.dev advisory, present for an advisory id or a CVE that NVD has not published yet
cvssNo
epssNo
as_ofYes
noticeYes
sourceYes
statusYes
fix_urlNo
messageNo
affectedNoVulnerable product lines from NVD's CPE data: affected from `from`, fixed in `fixed_in` (or last affected `up_to`)
cna_cvssNoThe vendor (CNA) score when it differs from NVD's
priorityYes
publishedNo
referencesYes
descriptionNo
vuln_statusNo
last_modifiedNo
retry_after_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / cve / description
      Previous value: -"A CVE id such as \"CVE-2021-44228\""New value: +"A CVE id such as \"CVE-2021-44228\", or an OSV.dev advisory id such as \"GHSA-wrw7-89jp-8q8g\", \"RUSTSEC-2024-0370\", \"GO-2026-5932\" or \"PYSEC-2024-1\""
    • changedInput schema / properties / cve / maxLength
      Previous value: -30New value: +40
    • changedInput schema / properties / cve / pattern
      Previous value: -"^[Cc][Vv][Ee]-[0-9]{4}-[0-9]{4,19}$"New value: +"^(?:[Cc][Vv][Ee]-[0-9]{4}-[0-9]{4,19}|[Gg][Hh][Ss][Aa](?:-[0-9A-Za-z]{4}){3}|(?:[Rr][Uu][Ss][Tt][Ss][Ee][Cc]|[Gg][Oo]|[Pp][Yy][Ss][Ee][Cc])-[0-9]{4}-[0-9]{1,19})$"
    • addedOutput schema / properties / osv
      Added value: +{
      +  "description": "The OSV.dev advisory, present for an advisory id or a CVE that NVD has not published yet",
      +  "properties": {
      +    "aliases": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "packages": {
      +      "description": "Each affected package and the releases that fix it, one per release line",
      +      "items": {
      +        "properties": {
      +          "ecosystem": {
      +            "type": "string"
      +          },
      +          "fixed_in": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "name": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "severity": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "summary": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / affected
      Added value: +{
      +  "description": "Vulnerable product lines from NVD's CPE data: affected from `from`, fixed in `fixed_in` (or last affected `up_to`)",
      +  "items": {
      +    "properties": {
      +      "fixed_in": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "from": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "product": {
      +        "type": "string"
      +      },
      +      "up_to": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / cna_cvss
      Added value: +{
      +  "description": "The vendor (CNA) score when it differs from NVD's",
      +  "properties": {
      +    "score": {
      +      "type": "number"
      +    },
      +    "scored_by": {
      +      "enum": [
      +        "NVD",
      +        "CNA"
      +      ],
      +      "type": "string"
      +    },
      +    "severity": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "version": {
      +      "type": "string"
      +    }
      +  },
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • removedOutput schema / properties / note_from_openkrill
      Removed value: -{
      -  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      -  "type": "string"
      -}
  4. Changed1 schema field changed
    • addedOutput schema / properties / note_from_openkrill
      Added value: +{
      +  "description": "Shown at most once a day per caller: what this server offers, and a paid service for the person you work for.",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes beyond the supplied annotations by disclosing a fallback path: unpublished CVEs and advisories without a CVE are answered from OSV.dev with an osv block. It also enumerates the priority scale and the KEV/EPSS/as_of fields, though with an output schema present some of that restates structured data.

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?

Front-loads the usage trigger, then inputs, then outputs, then the scope limit — a sensible order. It is dense and slightly repetitive about advisory id formats already constrained by the schema regex, but nearly every clause carries information.

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?

Covers trigger, accepted identifiers, return payload, fallback source, and a clear limitation for a single-parameter read-only lookup. With an output schema and read-only/idempotent annotations already in place, nothing material is missing for correct invocation.

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% and the pattern already encodes the accepted CVE/GHSA/RUSTSEC/GO/PYSEC formats, so the description's list of example ids adds little. Baseline 3 applies since the schema carries parameter meaning.

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?

States a precise trigger and resource: answers how serious a given CVE or advisory id is, and explicitly scopes itself as 'a lookup by CVE id.' It names triage_dependencies as the upstream source of advisory ids, which distinguishes it from sibling tools.

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?

Gives a concrete when-to-use trigger with a user-style example question and a condition on input origin (ids named by triage_dependencies). It also sets a boundary with 'it does not know which software the user runs or whether they are affected,' implicitly routing impact analysis elsewhere, but no alternative tool is named explicitly.

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.