Skip to main content
Glama

Agent Toolkit (all-in-one)

Scan a whole project's dependencies (lockfile) for known vulnerabilities and typosquats in one call

scan_dependencies

[DevOps Doctor] Send package-lock.json, yarn.lock, pnpm-lock.yaml, package.json, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, go.mod, go.sum, Cargo.lock, composer.lock or Gemfile.lock. Checks up to 1000 exact versions against OSV.dev and returns every vulnerable package with CVE, severity and the version to upgrade to, plus names that look like typosquats of popular packages. Not charged if the vulnerability database is down. Price 0.01 USDC per call; first 3 calls per day free.

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": "scan_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesThe lockfile or manifest text (max 3 MB)
paymentNoOptional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts.
filenameNoOptional file name, e.g. package-lock.json (helps detection)
include_devNoInclude dev dependencies (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the third-party data recipient (OSV.dev), the scan cap (1000 versions), pricing (0.01 USDC, first 3/day free), and notably the failure-mode billing behavior ('Not charged if the vulnerability database is down'). It also characterizes the return payload, which is essential since no output schema exists.

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 dense sentences, front-loaded with the input formats and immediately followed by what the scan does and returns. The long lockfile enumeration is load-bearing rather than filler, and the cost and free-tier caveats are packed into a single closing clause.

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 4-parameter tool with no annotations and no output schema, the description covers the input, the external service, the result fields, cost, and failure billing — everything needed to decide to call it and interpret the answer. Minor gaps remain: no indication of runtime, result-count limits, or what happens on an unrecognized manifest.

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 the baseline is 3; the description earns above that by enumerating the exact manifest formats accepted, which tells the agent what belongs in the required `content` field and what `filename` should hold. The pricing and free-tier statements also give meaning to the otherwise opaque `payment` parameter. It adds no detail on `include_dev` beyond the schema's default.

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?

States a specific verb and resource — 'Checks up to 1000 exact versions against OSV.dev' — plus the concrete output (vulnerable packages with CVE, severity, upgrade version) and a second capability (typosquat detection). The title's 'whole project's dependencies (lockfile)' framing plus the enumerated manifest types makes it distinguishable from a single-package check without opening the schema.

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 accepted-file list implicitly defines the use case: an agent holding a lockfile or manifest knows this is the tool for it, and 'in one call' signals the batch alternative to per-package checks. It never explicitly names a when-not condition or routes to a sibling such as check_package for a single dependency, so it stops short of full routing guidance.

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.