Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Search CVE advisories

cve_search

Search CVE advisories by ID or keyword, querying NVD or the local knowledge base, and persist results as advisory records with vendor/product and exploit-state details.

Instructions

Search for CVE advisories by id or keyword. When public fetch is enabled and "offline" is not set, queries the NVD 2.0 REST API and persists each result as an "advisory" knowledge record with CPE vendor/product and reference-derived exploit state. Set "offline" to search the local knowledge base only. Upstream failures degrade to warnings.

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

Input Schema

NameRequiredDescriptionDefault
cveIdNoExact CVE identifier, e.g. "CVE-2016-10372".
limitNoMaximum number of results to return.
keywordNoFree-text keyword search (used when cveId is absent).
offlineNoWhen true, search only the local knowledge base.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that successful public searches persist advisory knowledge records with CPE vendor/product and exploit-state metadata. It also explains that local-only search is controlled by offline and that upstream failures degrade to warnings, giving useful operational context for a non-read-only, open-world tool.

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?

The description is front-loaded with the purpose, then covers persistence, offline mode, and failure behavior in four tight sentences. Every sentence contributes useful information without repetition.

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 search tool with no output schema, the description covers the important side effect of persisting results, the offline mode, and degraded failure behavior. It leaves some operational details unstated, such as NVD authentication/rate-limit considerations and whether repeated searches can create duplicate advisory records.

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?

The schema already documents all four parameters at 100% coverage, so the baseline is 3. The description restates the cveId/keyword/offline semantics and adds the public-fetch condition for offline, but does not add syntax, format, or edge-case detail beyond the schema.

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: search CVE advisories by id or keyword. It is clear enough to distinguish from generic knowledge search, though it does not explicitly contrast with sibling tools such as advisory_search.

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?

It explains the online versus offline behavior clearly: public fetch queries NVD when enabled and offline is not set, while offline searches only the local knowledge base. It does not name sibling alternatives or state when to choose another advisory-related tool instead.

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

Deploy Server

Other Tools