Skip to main content
Glama

Get Vulnerability

get_vulnerability
Read-onlyIdempotent

Get full detail for a single vulnerability by its OSV ID, e.g. "GHSA-jf85-cpcp-j695", "CVE-2021-23337", "PYSEC-2021-XXX". Returns summary, details, aliases, severity, affected packages/ranges, and references. Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "GHSA-jf85-cpcp-j695"
    },
    "name": "get_vulnerability"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA vulnerability ID, e.g. "GHSA-jf85-cpcp-j695", "CVE-2021-23337", "PYSEC-2021-1".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "id": "GHSA-jf85-cpcp-j695"
      +  },
      +  {
      +    "id": "CVE-2021-23337"
      +  }
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds two things they don't: 'Keyless' (no authentication required) and the shape of the response (summary, details, aliases, severity, affected ranges, references), which matters because there is no output schema. It omits the behavior for an unknown or malformed ID, so it is not fully transparent.

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?

Three short sentences: identity of the operation first, response contents second, auth note last. Every sentence contributes new information and nothing is repeated.

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 read tool this covers input, output fields, and auth, which is close to complete given the absent output schema. The only real gap is routing relative to the package-oriented sibling tool.

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 coverage is 100% and the single `id` parameter is already documented with the same example IDs in the schema, so the description's examples restate structured data rather than adding format rules (e.g. whether an alias like CVE-XXXX resolves for a GHSA record). 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?

States a specific verb and resource ('Get full detail for a single vulnerability by its OSV ID') and enumerates the returned fields, which distinguishes it from a list or search operation. It stops short of naming the sibling query_package_vulns, so an agent must infer that this tool takes an ID while that one takes a package.

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: 'by its OSV ID' tells the agent it needs an identifier in hand, which rules out discovery-style lookups. There is no explicit when-to-use or when-not-to-use clause and no pointer to query_package_vulns for the case where the agent only has a package name and no ID.

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.