Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

dep_vuln_scan

Read-onlyIdempotent

Scan npm, Cargo, pip, and Go lock files against known-vulnerability data to report severity, CVEs, and recommended upgrades for remediation.

Instructions

Scan dependencies for known vulnerabilities. Cross-references package lock files (npm, Cargo, pip, Go) against a database of known-vulnerable packages. Reports severity, CVEs, and recommended upgrades.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dep_vuln_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
summaryYes
totalDepsYes
outdatedCountYes
vulnerabilitiesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety behavior is covered by structured data. The description adds value beyond that by disclosing the data source (a database of known-vulnerable packages) and the report contents (severity, CVEs, recommended upgrades). It stops short of stating whether the vulnerability database is local or refreshed, or what happens when no lock file is found.

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, front-loaded with the core action, then the mechanism, then the output. Every sentence carries distinct information (scope, supported ecosystems, report fields) with no repetition of the title or annotations.

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?

With zero parameters, an output schema, and full annotation coverage, the description only needs to explain what is scanned and what comes back, which it does. The remaining gap is operational: no statement about prerequisite lock files or what occurs when an unsupported ecosystem or missing lock file is encountered.

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?

The tool takes zero parameters, so there is no parameter semantics for the description to explain; the baseline of 4 applies. The description correctly implies the tool operates on the current project context rather than on caller-supplied arguments.

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 states a specific verb and resource ('Scan dependencies for known vulnerabilities') and narrows scope concretely by naming the ecosystems covered (npm, Cargo, pip, Go lock files). It is clearly distinct from file- or secret-oriented siblings, though it never explicitly contrasts itself with the broader 'security_scan' tool, so sibling differentiation is implied by scope 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 implied by the scope sentence: an agent can infer this is the tool for dependency-vulnerability queries. However, there is no explicit when-to-use versus when-not guidance, no mention of prerequisites (a lock file must exist), and no routing to alternatives such as 'security_scan' or 'dependency_graph'.

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