Skip to main content
Glama

Audit a whole dependency tree

check-manifest

Audit direct and transitive lockfile dependencies against OSV and identify the upgrade, parent upgrade, or override that fixes each vulnerability.

Instructions

Audits every package in a lockfile (direct and transitive) against OSV, the way Dependabot would, and says how to fix each finding: the direct upgrade on the same release line, the parent upgrade that clears a transitive one, or an override. Pass a project directory or a file path, or the file content with its name. Supported: package-lock.json, npm-shrinkwrap.json, pnpm-lock.yaml, yarn.lock, package.json, requirements.txt, poetry.lock, uv.lock, pdm.lock, pyproject.toml, Cargo.lock, Cargo.toml, go.mod, Gemfile.lock, packages.lock.json, gradle.lockfile, pom.xml, build.gradle, build.gradle.kts, libs.versions.toml, composer.lock, composer.json, requirements*.txt. Without a lockfile the tree is resolved through deps.dev. GitHub workflows (.github/workflows/*.yml, action.yml, or the directory) get an Actions check: advisories and SHA pinning.

Input Schema

NameRequiredDescriptionDefault
pathNoProject directory or path to a lockfile/manifest.
contentNoFile content, when the file is not on disk yet.
fileNameNoName of the file in content, e.g. "package-lock.json".
includeDevNoInclude dev dependencies (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does reasonably well: it discloses the data source (OSV), the remediation taxonomy (same-line direct upgrade, parent upgrade, override), the deps.dev resolution fallback, and the special GitHub Actions path covering advisories and SHA pinning. It does not mention network/auth requirements (e.g., GitHub token for the Actions check), rate limits, or whether anything is written to disk, 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?

Purpose and remediation behavior are front-loaded in the first sentence, with input modes and supported formats following logically. The supported-file enumeration is long but earns its place as a validity check for fileName; the trailing GitHub Actions sentence is slightly tacked on but is genuinely necessary scope information.

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 four-parameter audit tool with no output schema, the description covers inputs, data source, fallback resolution, remediation output, and the Actions special case. What it lacks is return-shape detail (per-finding structure, severity counts) that would otherwise be supplied by an output schema, since none exists here.

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 100%, so baseline is 3, but the description adds real meaning beyond the schema: it explains why path can be a directory versus a file, and the long supported-format list effectively defines what fileName values are valid. includeDev is left entirely to its schema description, which is the only semantic gap.

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?

"Audits every package in a lockfile (direct and transitive) against OSV" gives a specific verb, resource, and scope, and the explicit "direct and transitive" framing separates it from a single-package check like check-package. It also states what the output delivers (a fix per finding), so an agent knows the shape of the value returned.

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?

It clearly states the input modes — project directory, file path, or content plus fileName — and enumerates which manifests/lockfiles are accepted, plus the deps.dev fallback when no lockfile exists. It does not explicitly name a sibling (check-package, check-packages) or say when to prefer those over this whole-tree audit, so routing is left partly to inference.

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