Skip to main content
Glama

Count CVEs over time

get_timeline
Read-onlyIdempotent

How many CVEs matching a filter were published per hour, day, week, month or year (the bucket follows the period), split by severity. Use it for trends and exact counts: the count of a filter is the sum of its buckets.

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": "get_timeline"
  }
}

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`.
kevNoOnly CVEs in CISA's Known Exploited Vulnerabilities catalog.
fromNoFirst day (`YYYY-MM-DD`, UTC, inclusive) of a `custom` range.
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`).
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. Changed12 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 / 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 / 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 / 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

A4/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, closed-world behavior, so safety is covered. The description adds genuinely non-obvious semantics beyond that: the bucket granularity follows the requested period, results are split by severity, and the count for a filter equals the sum of its buckets.

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 with zero filler: the first front-loads what is counted and at what granularity, the second adds the usage cue and the sum invariant. Nothing is repeated from the schema or annotations.

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?

With 12 optional parameters and no output schema, the description needs to convey the result shape, and it does so at a high level (time buckets split by severity). It stops short of describing the exact response structure or how multiple filters combine, but the schema already covers all parameter 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 all 12 parameters (range, from/to, severity, kev, exploit, cwe, vendor, product, ecosystem, assigner, q) are already documented in the schema. The description only alludes to 'a filter' generically and adds no syntax or interaction detail, so baseline 3 is appropriate.

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 states a specific verb and resource: it counts how many CVEs matching a filter were published, bucketed by hour/day/week/month/year and split by severity. That aggregate framing implicitly separates it from record-returning siblings like get_cve or search_cves, though no sibling is named explicitly.

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?

'Use it for trends and exact counts' gives clear positive guidance on when this tool is the right choice, and the sum-of-buckets note explains why it yields exact totals. There is no explicit when-not or named alternative, so it falls short of a 5.

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