Skip to main content
Glama

Rank several CVEs

check_cves
Read-onlyIdempotent

Rank several CVEs. Use this when the user has a list of CVE ids and wants to know which to deal with first, such as "which of these CVEs should I patch first?". Pass up to 10 CVE ids. Returns each one's priority, CVSS score, CISA exploited-list status and EPSS score, most urgent first, with a count per priority. An id NVD could not be asked about in this call is marked deferred; ask for it again later. It does not know which software the user runs.

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": {
      "cves": "<cves>"
    },
    "name": "check_cves"
  }
}

Input Schema

NameRequiredDescriptionDefault
cvesYesUp to 10 CVE ids

Output Schema

NameRequiredDescriptionDefault
countYes
countsYes
noticeYes
sourceYes
resultsYes
deferredNoIds not read in this call to stay within NVD's request limit; ask for them again in a minute

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / deferred
      Added value: +{
      +  "description": "Ids not read in this call to stay within NVD's request limit; ask for them again in a minute",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / results / items / 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 / results / items / 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 / results / items / 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?

Annotations already declare read-only, idempotent, open-world and non-destructive, so the bar is lower; the description still adds real value by disclosing the output ordering, the per-priority count, and the deferred/retry semantic for ids that could not be resolved in this call. The remaining gap is that it does not say how long a deferred id should be waited on or whether the call can partially fail — but the retry hint is the behaviorally important part.

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-loaded with purpose, then usage trigger, then contract, then limitation — a sensible order with no filler sentences. It is slightly over-detailed on return values that the output schema already covers, which keeps it from a 5.

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?

For a one-parameter read tool with full schema coverage, annotations and an output schema, the description covers everything an agent needs: what it does, when to reach for it, the input cap, the ordering of results, and the deferred-retry behavior.

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 coverage is 100% with a single array parameter that already carries the pattern, min/max items and uniqueness constraints, so the schema does the heavy lifting. The description's 'Pass up to 10 CVE ids' merely restates maxItems and adds no format or syntax detail beyond the schema.

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 specific verb and resource ('Rank several CVEs') and immediately pins the scope as a batch of ids ('Pass up to 10 CVE ids'), which implicitly separates it from the singular sibling check_cve. An agent can tell what it gets back (priority ordering) without opening either schema.

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 an explicit triggering condition ('when the user has a list of CVE ids and wants to know which to deal with first') reinforced with a concrete example utterance. It also states a boundary ('It does not know which software the user runs'), but never names a sibling alternative for the single-CVE or dependency-triage cases.

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.