Skip to main content
Glama

Check a project’s dependency files

check_dependencies
Read-onlyIdempotent

Scans a project’s package files (a lockfile is best) for vulnerable and outdated dependencies across npm, PyPI, Composer, RubyGems, Go, Maven and NuGet, including packages installed by other packages. Returns a health score, the vulnerable packages worst first with the version that fixes each, and runtimes (Node, PHP, Python...) past end of life. Nothing is stored.

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": {
      "files": "<files>"
    },
    "name": "check_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesUp to 10 package files, 4 MB in all. A lockfile gives exact versions: package-lock.json, yarn.lock, pnpm-lock.yaml, composer.lock, poetry.lock, uv.lock, Pipfile.lock, Gemfile.lock, gradle.lockfile, packages.lock.json. Manifests also work: package.json, composer.json, requirements.txt, pyproject.toml, Pipfile, Gemfile, go.mod, pom.xml, build.gradle, .csproj. .nvmrc, Dockerfile and compose files add runtime end-of-life checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the description earns credit for the extra context it supplies: the shape of the result (health score, vulnerable packages ordered worst first with fix versions, EOL runtimes) and the privacy assurance 'Nothing is stored.' It does not mention any size/rate limits or failure behavior, which keeps it from 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense but front-loaded sentence set: verb and resource first, then coverage, then return values, then the privacy note. Every clause carries information and nothing is repeated.

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?

With one parameter, no output schema, and safety covered by annotations, the description does the necessary work of explaining what comes back. Minor gaps remain around unsupported-file handling and any limits beyond the 4 MB already stated in the 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% and the single parameter is fully documented in the input schema, including accepted lockfiles, manifests, and runtime files. The description adds only the advisory 'a lockfile is best' and the transitive-dependency note, both of which are largely restatements or covered by the schema, so baseline 3 applies.

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?

States a specific verb ('Scans'), a specific resource ('a project's package files'), the ecosystems covered, and the three result categories returned. It is clear this operates on supplied local files, which implicitly separates it from a repo-scanning sibling, but no sibling is named explicitly, so it stops short of full differentiation.

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 implied by the resource ('a project's package files') and there is helpful input guidance ('a lockfile is best'), but the description never says when to prefer this over check_package, get_advisory or scan_public_repo, nor any exclusions. An agent must infer the routing.

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