Skip to main content
Glama

dev_lockfile_audit

Read-only

Lockfile vulnerability audit (multi-ecosystem) — Audit a whole dependency lockfile for known vulnerabilities in one call. Pass content= (lockfile text), url= (raw or GitHub blob URL) or packages=npm:lodash@4.17.15,pypi:django@3.2.1. Auto-detects package-lock.json (v1-v3), yarn.lock (classic + berry), pnpm-lock.yaml, requirements.txt, Pipfile.lock, poetry.lock, uv.lock, Cargo.lock, go.sum, go.mod, Gemfile.lock and composer.lock (or set type=). Checks up to 2,000 pinned packages against OSV.dev in batch, de-duplicates GHSA/CVE aliases, and returns per-package max severity (CVSS 3 computed when no label), advisory IDs, fixed-in versions, the minimum safe upgrade, a CLEAN/REVIEW/UPGRADE NOW verdict and a Markdown table. Unpinned requirements are listed separately. Price: $0.01 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "dev_lockfile_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYeslodash==... or the full text of package-lock.json / requirements.txt / go.sum

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Annotations declare a read-only, non-destructive, open-world operation, and the description is consistent while adding material context the annotations cannot: batch limit of 2,000 pinned packages, OSV.dev as the data source, GHSA/CVE alias de-duplication, CVSS 3 computation fallback, separate handling of unpinned requirements, and a cost/auth requirement of $0.01 USDC on Base via x402. Disclosing the paid x402 flow is exactly the kind of operational detail an agent needs before calling.

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?

It is a single dense paragraph, but the most decision-relevant facts (what it audits, the input options, supported formats, price) are front-loaded and few sentences are filler. The long format enumeration is informative but is the main reason it reads as a wall of text.

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?

There is no output schema, and the description compensates well by describing the return payload: per-package max severity with CVSS 3, advisory IDs, fixed-in versions, minimum safe upgrade, a CLEAN/REVIEW/UPGRADE NOW verdict and a Markdown table. The only completeness gap is the mismatch between the advertised url/packages/type inputs and the single-parameter schema.

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 a single documented 'content' parameter, so the schema carries the burden and baseline 3 applies. The description does add useful format guidance (full lockfile text, package-lock v1-v3, yarn classic/berry, poetry.lock, etc.), but it also advertises url=, packages= and type= parameters that do not exist in the input schema, which muddies rather than clarifies the accepted 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 opens with a specific verb and resource — 'Lockfile vulnerability audit (multi-ecosystem)' — and scopes it as auditing a 'whole dependency lockfile' in one call, which implicitly separates it from single-package auditors like dev_dependency_audit or dev_vulns. It never names a sibling to route against, so it lands just short of the top score.

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 strongly implied (audit an entire lockfile rather than one package) and the accepted input styles are enumerated, so an agent can infer the trigger condition. However, there is no explicit when-not guidance and no pointer to the sibling tools to use for a single package or a CVE lookup.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources