Skip to main content
Glama
depaudit-mcp

depaudit-mcp

by 0xmortuex

suggest_fixes

Proposes minimal upgrade plans for lockfile vulnerabilities: safe target versions, breaking-change flags, dependency paths, and apply commands or manifest edits; prints the plan only.

Instructions

Propose a minimal upgrade plan for the vulnerabilities in a project's lockfiles.

For each vulnerable package: the smallest version that fixes every advisory (re-checked against OSV so the target is not itself vulnerable), whether the bump is breaking (major, or minor on 0.x), the dependency path for transitive packages, and the command or manifest change to apply it. This tool NEVER modifies files; it only prints the plan.

Input Schema

NameRequiredDescriptionDefault
pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it states plainly that the tool never modifies files and only prints a plan, and it discloses that targets are re-checked against OSV so the suggested version is not itself vulnerable. It omits operational context such as network access requirements or behavior when no vulnerabilities exist, which keeps it below a 5.

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?

Front-loaded purpose sentence, then a compact enumeration of exactly what the plan contains, then a closing non-mutation guarantee. Every clause is substantive; the middle sentence is dense but the list structure keeps it scannable.

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-only planning tool this covers the important ground: what it produces, that it is safe, and that targets are verified. An output schema exists, so the return-value enumeration is somewhat redundant but harmless. The one genuine hole is the meaning of 'path', which an agent needs before it can call the tool correctly.

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

Parameters2/5

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

Schema description coverage is 0% and the single required parameter is named only 'path'. The description hints that it refers to a project with lockfiles, but never clarifies whether it is a project root, a directory to scan recursively, or a specific lockfile — a meaningful ambiguity given lockfiles may be nested. The schema provides no help, so this gap is fully the description's responsibility.

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 first sentence gives a specific verb and resource: propose a minimal upgrade plan for vulnerabilities in a project's lockfiles. That is clearly distinguishable from scan_project or list_outdated, which detect rather than plan. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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 can infer this belongs after a scan, since it consumes detected vulnerabilities and emits remediation. There is no explicit when-to-use, when-not-to-use, or pointer to scan_project/list_outdated/check_package as the preceding or alternative step.

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