Skip to main content
Glama
Security Intelligence MCP Server

Security Intelligence MCP Server

by df4u1t

nvd_query

Query NVD for CVE details by ID or search by keyword, severity, and date; use daysBack to retrieve recent vulnerabilities for triage.

Instructions

Query the NVD for CVE details by ID, or search CVEs by keyword/date/severity. Use daysBack for recent CVEs (e.g., daysBack=0 for today, 7 for past week, 30 for past month).

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

Input Schema

NameRequiredDescriptionDefault
cveIdNoSpecific CVE ID to fetch details for (e.g., CVE-2021-44228). When provided, other search params are ignored.
keywordNoOptional keyword to search for
daysBackNoLook back N days from today. Examples: 0=today, 7=past week, 30=past month, 90=past 3 months
pubEndDateNoOptional explicit published end date (ISO 8601)
startIndexNoStart index for pagination
pubStartDateNoOptional explicit published start date (ISO 8601). Only use if daysBack is not sufficient.
cvssV3SeverityNoFilter by CVSS v3 severity rating
lastModEndDateNoFilter by last modified end date (ISO 8601)
resultsPerPageNoResults per page (max 200)
lastModStartDateNoFilter by last modified start date (ISO 8601)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and does not meet it. It never states that this is a read-only operation, says nothing about NVD's rate limits or API-key requirements, and does not describe pagination behavior or result caps despite exposing startIndex and resultsPerPage.

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?

Two sentences, front-loaded with the core capability and followed by the most useful parameter hint. The daysBack examples duplicate the schema's own examples, so a small amount of the text does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter tool with no annotations and no output schema, the description covers the two access modes adequately but omits pagination strategy, rate-limit constraints, and any sense of return shape. It is minimum viable rather than 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 explains every parameter, including the daysBack examples that the description repeats almost verbatim. The description adds no new semantics such as how daysBack interacts with explicit pubStartDate/pubEndDate beyond what the schema states.

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 names a specific verb and resource ('Query the NVD for CVE details') and distinguishes its two operating modes: direct ID lookup versus keyword/date/severity search. It does not differentiate itself from sibling tools such as search_sigma_hq_cve or otx_query, which is the only thing keeping it from a 5.

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?

It gives concrete guidance for the daysBack parameter (0=today, 7=past week, 30=past month), which is genuine when-to-use help. However, it offers no guidance on choosing between ID lookup and search, no exclusions, and no comparison to any alternative tool for CVE data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.