Skip to main content
Glama

audit_dependencies

Audit Node.js project dependencies for security vulnerabilities with severity, CVSS scores, and dependency chains. Generates Markdown or HTML reports.

Instructions

Audit Node.js project dependencies for security vulnerabilities. Supports npm and pnpm projects, local or GitHub remote repos. Returns detailed vulnerability info (severity, CVSS score, dependency chains, fix suggestions) and generates Markdown/HTML report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectPathNoLocal project path
remoteRepoNoRemote repo: github:owner/repo or https://github.com/owner/repo
refNoRemote ref (branch / tag / commit SHA), default: main
tokenNoGitHub token (for private repos), or use GITHUB_TOKEN env var
severityNoMinimum severity level, default: low
formatNoReport format, default: md
outputPathNoReport output file path
Behavior3/5

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

No annotations are provided, so the description carries the burden. It mentions returns detailed vulnerability info and generates reports, but doesn't cover performance, network usage, or prerequisites (e.g., Node.js installation). Some behavioral aspects are omitted.

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?

Two sentences packed with essential information. No redundancy or fluff. Front-loaded with the primary purpose.

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?

Given 7 parameters, no output schema, and no annotations, the description covers the tool's purpose, supported scenarios, and output types. Some details like environment requirements are missing, but overall it is fairly complete.

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% with descriptions for all 7 parameters. The tool description adds context (supports npm/pnpm, returns report formats) but does not significantly enhance parameter understanding beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool audits Node.js project dependencies for security vulnerabilities, specifying supported package managers (npm, pnpm), project types (local or GitHub remote), and outputs (vulnerability info and reports). This is specific and action-oriented.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use: for security audits of Node.js dependencies, with guidance on local vs remote repos and supported formats. It lacks explicit when-not-to-use or alternatives, but given no siblings, it's clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/double527/audit-mcp-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server