Skip to main content
Glama

lookup_cve

Retrieve NVD records for a CVE to get description, CVSS score/vector, CWEs, publication dates, and reference links for vulnerability triage.

Instructions

Get the NVD record for a CVE: description, CVSS score and vector, CWEs, publication dates and reference links.

Args: cve_id: CVE identifier, e.g. "CVE-2021-44228".

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cve_id": "<cve_id>"
    },
    "name": "lookup_cve"
  }
}

Input Schema

NameRequiredDescriptionDefault
cve_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the data source (NVD) and the contents returned, which implies a read-only retrieval, but it says nothing about rate limits, latency, freshness of NVD data, or behavior for a malformed or unknown CVE id.

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?

The purpose sentence is front-loaded and dense with useful specifics, and the Args block is short. The docstring-style framing is mild boilerplate but earns its place by carrying the id example.

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?

This is a single-parameter lookup and an output schema exists, so return values need not be explained further. The description covers what is fetched and the id format; the only meaningful omissions are error/not-found behavior and any rate-limit considerations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning, and it does: cve_id is documented with a concrete example format ("CVE-2021-44228"), which tells the agent the expected identifier shape. It stops short of noting case sensitivity or normalization of ids missing the CVE- prefix.

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?

"Get the NVD record for a CVE" names a specific verb and resource and enumerates the returned fields (description, CVSS score and vector, CWEs, publication dates, references). It is clearly a raw record fetch rather than analysis, but it never names a sibling such as triage_cve or epss_score to make the distinction explicit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives. The enumerated return fields only faintly imply that you call it when you want the full NVD record instead of a triage or scoring tool; the agent must infer that itself.

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