Skip to main content
Glama

Search CVEs

search_cves
Read-onlyIdempotent

Finds CVEs matching a filter and returns one page of them with the total, newest first by default. Reaches the first 10,000 results of a filter.

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
qNoA CVE id or its start (`CVE-2024-3`), an EUVD id (`EUVD-2021-34768`, its CVE), or words found in the title, description, vendor or product. 3–200 characters.
toNoLast day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range.
cweNoOnly CVEs whose record or NVD names this weakness: `CWE-79` (cross-site scripting) or `79`.
dirNoDirection of the order: `desc` is newest or highest first. Default `desc`.
kevNoOnly CVEs in CISA's Known Exploited Vulnerabilities catalog.
fromNoFirst day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range.
pageNoPage number from 1.
sortNoOrder of the rows. `kevAdded`: when CISA added it to KEV, CVEs not in KEV last. Default `published`.
rangeNoPublication date window, resolved in UTC when the request runs. `custom` uses `from` and `to`. Default `all`.
vendorNoOnly CVEs whose record lists this vendor among the affected, exact name in any case (`Microsoft`).
exploitNoOnly CVEs with a known public exploit or proof of concept (a reference tagged `exploit`, CISA SSVC exploitation `poc` or `active`, a Metasploit module, a Nuclei template or an Exploit-DB entry).
productNoOnly CVEs affecting this product, of `vendor` when one is given.
assignerNoOnly CVEs assigned by this CNA, by its short name in any case (`GitHub_M`).
pageSizeNoRows per page, up to 100. Default `20`.
severityNoOnly these severities: CRITICAL, HIGH, MEDIUM, LOW, NONE, UNKNOWN. NONE is a CVSS score of 0, UNKNOWN is not scored yet.
ecosystemNoOnly CVEs with a reviewed GitHub advisory for a package of this ecosystem: npm, PyPI, Maven, NuGet, Go, RubyGems, crates.io, Packagist, Pub, Hex, SwiftURL, GitHub Actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • changedInput schema / properties / assigner / description
      Previous value: -"Only CVEs assigned by this CNA, by its short name, any case, e.g. \"GitHub_M\"."New value: +"Only CVEs assigned by this CNA, by its short name in any case (`GitHub_M`)."
    • changedInput schema / properties / cwe / description
      Previous value: -"Only CVEs with this weakness, e.g. \"CWE-79\" (cross-site scripting)."New value: +"Only CVEs whose record or NVD names this weakness: `CWE-79` (cross-site scripting) or `79`."
    • changedInput schema / properties / dir / description
      Previous value: -"Default \"desc\" (newest or highest first)."New value: +"Direction of the order: `desc` is newest or highest first. Default `desc`."
    • changedInput schema / properties / ecosystem / description
      Previous value: -"Only CVEs with a reviewed GitHub advisory for a package of this ecosystem."New value: +"Only CVEs with a reviewed GitHub advisory for a package of this ecosystem: npm, PyPI, Maven, NuGet, Go, RubyGems, crates.io, Packagist, Pub, Hex, SwiftURL, GitHub Actions."
    • changedInput schema / properties / exploit / description
      Previous value: -"Only CVEs with a known public exploit or proof of concept (a reference tagged exploit, CISA SSVC exploitation poc or active, a Metasploit module, a Nuclei template or an Exploit-DB entry)."New value: +"Only CVEs with a known public exploit or proof of concept (a reference tagged `exploit`, CISA SSVC exploitation `poc` or `active`, a Metasploit module, a Nuclei template or an Exploit-DB entry)."
    • changedInput schema / properties / from / description
      Previous value: -"First day (YYYY-MM-DD, UTC, inclusive) of a custom range."New value: +"First day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range."
    • changedInput schema / properties / kev / description
      Previous value: -"Only CVEs in the CISA Known Exploited Vulnerabilities catalog."New value: +"Only CVEs in CISA's Known Exploited Vulnerabilities catalog."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 1."New value: +"Page number from 1."
    • changedInput schema / properties / pageSize / description
      Previous value: -"Rows per page, up to 100."New value: +"Rows per page, up to 100. Default `20`."
    • changedInput schema / properties / product / description
      Previous value: -"Only CVEs affecting this product (of the vendor, when one is given)."New value: +"Only CVEs affecting this product, of `vendor` when one is given."
    • changedInput schema / properties / q / description
      Previous value: -"A CVE id or its start (CVE-2024-3), an EUVD id (EUVD-2021-34768, finds its CVE), or words to find in the title, description, vendor and product."New value: +"A CVE id or its start (`CVE-2024-3`), an EUVD id (`EUVD-2021-34768`, its CVE), or words found in the title, description, vendor or product. 3–200 characters."
    • changedInput schema / properties / range / description
      Previous value: -"When it was published. Default \"all\". \"custom\" uses from and to."New value: +"Publication date window, resolved in UTC when the request runs. `custom` uses `from` and `to`. Default `all`."
    • changedInput schema / properties / severity / description
      Previous value: -"Only these severities. NONE is a CVSS score of 0, UNKNOWN is not scored yet."New value: +"Only these severities: CRITICAL, HIGH, MEDIUM, LOW, NONE, UNKNOWN. NONE is a CVSS score of 0, UNKNOWN is not scored yet."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the list. Default \"published\". \"kevAdded\" orders by when CISA added it to KEV."New value: +"Order of the rows. `kevAdded`: when CISA added it to KEV, CVEs not in KEV last. Default `published`."
    • changedInput schema / properties / to / description
      Previous value: -"Last day (YYYY-MM-DD, UTC, inclusive) of a custom range."New value: +"Last day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range."
    • changedInput schema / properties / vendor / description
      Previous value: -"Only CVEs whose record lists this vendor as affected, any case, e.g. \"Microsoft\"."New value: +"Only CVEs whose record lists this vendor among the affected, exact name in any case (`Microsoft`)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / exploit / description
      Previous value: -"Only CVEs with a known public exploit or proof of concept (a reference tagged exploit, or CISA SSVC exploitation poc or active)."New value: +"Only CVEs with a known public exploit or proof of concept (a reference tagged exploit, CISA SSVC exploitation poc or active, a Metasploit module, a Nuclei template or an Exploit-DB entry)."
    • changedInput schema / properties / q / description
      Previous value: -"A CVE id or its start (CVE-2024-3), or words to find in the title, description, vendor and product."New value: +"A CVE id or its start (CVE-2024-3), an EUVD id (EUVD-2021-34768, finds its CVE), or words to find in the title, description, vendor and product."
  3. Changed1 schema field changed
    • addedInput schema / properties / exploit
      Added value: +{
      +  "description": "Only CVEs with a known public exploit or proof of concept (a reference tagged exploit, or CISA SSVC exploitation poc or active).",
      +  "type": "boolean"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description's job is to add operational context — and it does: pagination, a total count in the response, a newest-first default ordering, and a hard 10,000-result access ceiling that affects how deep an agent can page. That ceiling is the kind of limit an agent cannot learn from annotations or schema and would otherwise discover only by failure.

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?

Two sentences, both load-bearing, with the return shape and the result cap front-loaded. Nothing is repeated from the schema and there is no filler.

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 16-parameter search tool with no output schema, the description covers the essentials: it returns a page plus a total, and only the first 10,000 results are reachable. It stops short of describing the row fields or how the total interacts with paging, but the schema carries all filter semantics.

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 every one of the 16 parameters is already documented with examples and defaults. The description adds only the default ordering ("newest first"), which duplicates the `published`/`desc` defaults in the schema rather than extending them.

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?

States a specific verb and resource ("Finds CVEs matching a filter") plus the return shape (one page with a total, newest first by default). It does not name a sibling such as get_cve or find_filter_values, so the agent must infer that this is the multi-result search versus single-record lookup.

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

Usage Guidelines3/5

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

Usage is only implied by "matching a filter" and by the note about reaching the first 10,000 results. There is no explicit guidance on when to prefer this over get_cve for a single ID, or over find_filter_values for discovering valid filter values.

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