Skip to main content
Glama

Saasment Security MCP

Search CVEs in NVD

search_cves
Read-onlyIdempotent

Search NVD for CVEs by id, keyword, CPE or product, CVSS severity, CISA KEV membership, or date range (max 120 days). At least one filter is required; returns summaries—use get_cve for full records. Read-only. Results come from NVD, which applies rate limits; retry later if a call is throttled.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_cves"
  }
}

Input Schema

NameRequiredDescriptionDefault
cpeNoCPE 2.3 name or partial match string, for example cpe:2.3:a:apache:log4j or cpe:2.3:a:apache:log4j:2.14.1.
cveIdNoMatch one CVE id.
limitNoMaximum CVEs to return (default 10).
hasKevNotrue returns only CVEs that are in the CISA Known Exploited Vulnerabilities catalog.
vendorNoCPE vendor, for example apache. Requires product.
keywordNoKeywords searched in CVE descriptions; every word must match. Product names work here.
productNoCPE product name, for example log4j. Builds a CPE match string; use cpe for full control.
severityNoCVSS base severity to match (see cvssVersion).
modifiedToNoEnd of the last-modified range (default: now). Requires modifiedFrom.
startIndexNoResult offset for paging; use nextStartIndex from the previous result.
cvssVersionNoCVSS version that severity applies to (default 3). Version 2 has no CRITICAL.
publishedToNoEnd of the published-date range (default: now). Requires publishedFrom.
modifiedFromNoStart of the last-modified range: YYYY-MM-DD or ISO 8601. At most 120 days.
publishedFromNoStart of the published-date range: YYYY-MM-DD or ISO 8601. NVD allows ranges of at most 120 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/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, non-destructive. The description adds behavioral context beyond them: it returns summaries not full records, NVD applies rate limits so calls may be throttled and should be retried, and date ranges are capped. It omits pagination via startIndex but schema covers that.

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?

Three tight sentences, purpose and filter list front-loaded, followed by the summary-vs-full-record routing and rate-limit caveat. No wasted wording.

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 complex 14-parameter tool with no output schema, the description notes the return shape ('returns summaries') and routes to get_cve for full records, plus covers filter requirement and rate limits. Safety is carried by annotations, so it is essentially complete.

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 the schema already documents all 14 parameters including examples and constraints. The description adds only a high-level grouping of the filter categories and the 120-day limit; baseline 3 applies when the schema does the heavy lifting.

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 (Search), the resource (NVD CVEs), and enumerates the filter dimensions (id, keyword, CPE/product, severity, KEV, date range). It also distinguishes itself from the sibling get_cve by noting it returns summaries only.

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?

Explicitly states 'At least one filter is required' and names the alternative: 'use get_cve for full records,' giving the condition that selects it. The 120-day date-range cap and rate-limit retry guidance add practical usage constraints.

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