Skip to main content
Glama

depguard_audit_project

Audit all project dependencies in one command: scans direct, transitive, and package manager vulnerabilities. Supply package.json path to receive a consolidated security report. Ideal for reviewing project security after cloning a new repo.

Instructions

Audit ALL dependencies in a project at once. Scans direct deps (full audit), transitive deps from lock file (vulnerability check), and the packageManager field. Pass the path to package.json and get a consolidated security report. Use this when the user asks to review project security or after cloning a new repo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesAbsolute path to package.json file
includeDevDependenciesNoInclude devDependencies in audit (default: false)
targetLicenseNoProject license for compatibility check (auto-detected from package.json if not set)
Behavior4/5

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

No annotations provided, so description carries full burden. It describes what is scanned (direct deps, transitive deps, packageManager) and output (consolidated report). Does not explicitly state read-only, but implies no side effects. Adequate for an audit tool.

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, no wasted words. Front-loaded with main action, then usage context. Perfectly concise.

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 no output schema, description gives a fair idea of return (consolidated report). Could specify report format, but adequate for expected behavior. Covers all key aspects.

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?

Input schema has 100% coverage. Description adds context: says parameters are used and mentions auto-detection of targetLicense. Provides a bit more meaning beyond schema, improving clarity.

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 ALL dependencies in a project at once, including direct, transitive, and packageManager field. It distinguishes from sibling tools like depguard_audit (single package) and depguard_audit_deep (possibly deeper scan) by emphasizing 'ALL' and 'project' scope.

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?

Explicitly says 'Use this when the user asks to review project security or after cloning a new repo', providing clear context. Could also mention alternatives explicitly, but the guidance is sufficient.

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/mopanc/depguard'

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