Skip to main content
Glama
depaudit-mcp

depaudit-mcp

by 0xmortuex

explain_vulnerability

Retrieves an OSV advisory by ID and summarizes its severity, affected version ranges, fix, and references so you can assess a dependency vulnerability.

Instructions

Explain one advisory: summary, severity, affected version ranges, fix, references.

id: an OSV-known id such as GHSA-x84v-xcm2-53pg, CVE-2018-18074, PYSEC-2018-28 or RUSTSEC-2020-0071.

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

No annotations are supplied, so the description must carry behavioral disclosure. It does signal a read-only lookup and names the sections returned, but says nothing about data source/auth needs, network requirements, rate limits, or what happens when the id is unknown or not found.

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 output contents are front-loaded in the first clause and the id format guidance follows, with no filler. The line breaks make the parameter note slightly awkward to parse as prose but nothing is wasted.

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

Completeness5/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 tool with an output schema, so return shape is already covered — and the description still previews what sections come back. The one remaining gap, error behavior on an unknown id, is minor given the schema richness and tool simplicity.

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% and the schema only declares a bare string "Id", so the description has to compensate — and it does, giving four concrete accepted identifier formats (GHSA-…, CVE-…, PYSEC-…, RUSTSEC-…). That is real added meaning the schema lacks; it could go further on case sensitivity or prefix requirements.

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 object ("Explain one advisory") and enumerates the content produced: summary, severity, affected version ranges, fix, references. That makes it distinguishable from siblings like scan_project and list_outdated, though it never names those siblings explicitly.

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 the singular object "one advisory" — an agent can infer this is the per-advisory deep dive rather than a bulk scan, but there is no statement of when to prefer it over check_package or suggest_fixes, and no prerequisites or exclusions.

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