Skip to main content
Glama

cves__get_vulnerability

Fetches a single security advisory by GHSA, CVE, or PYSEC ID and returns its summary, details, and references for vulnerability review.

Instructions

One advisory by id (GHSA-..., CVE-..., PYSEC-...): summary, details and references.

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": {
      "vuln_id": "<vuln_id>"
    },
    "name": "cves__get_vulnerability"
  }
}

Input Schema

NameRequiredDescriptionDefault
vuln_idYes

Output Schema

NameRequiredDescriptionDefault
idYes
aliasesYes
detailsYes
summaryYes
severityYes
publishedYes
referencesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose what the response contains (summary, details, references) and which identifier namespaces are accepted, but says nothing about behavior for unknown/malformed IDs, whether the lookup is remote, or any rate/auth constraints.

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?

A single front-loaded sentence with no filler; the identifier formats and the returned fields are packed in without redundancy.

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 one-parameter getter with an output schema that already documents return structure, the description covers purpose, accepted ID forms, and payload contents. The only real gap is not-found/failure behavior, which is minor at this complexity.

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 compensate for the single undocumented parameter, and it does by listing the three accepted ID prefixes (GHSA-, CVE-, PYSEC-). It stops short of stating whether the prefix is mandatory, case sensitivity, or whether other ecosystems are supported.

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 retrieval action, the resource ('one advisory'), the key ('by id'), and the return payload (summary, details, references). It also enumerates accepted ID namespaces (GHSA, CVE, PYSEC), which separates it from package-oriented siblings, though it never names an alternative directly.

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: an agent infers it should call this when it already holds an advisory identifier in one of the listed formats. There is no statement of when to prefer it over cves__lookup_package, nor any prerequisite or exclusion.

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