Skip to main content
Glama

Check dependency drift

check_dependencies
Read-onlyIdempotent

Checks a list of package dependencies against live registries to report current release versions, major versions behind, and deprecations, helping identify outdated or deprecated packages before upgrades.

Instructions

Given a list of dependencies (from package.json or requirements.txt), report the latest version of each, how many major versions behind it is, and deprecations. Up to 40 at once.

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

Input Schema

NameRequiredDescriptionDefault
ecosystemNoRegistry: "npm" (JS/TS), "pypi" (Python), "cargo" (Rust), "go" (Go modules), "rubygems" (Ruby), "maven" (Java/Kotlin/Scala), "nuget" (.NET), "packagist" (PHP), "pub" (Dart/Flutter), "hex" (Elixir/Erlang). Defaults to npm.npm
dependenciesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing what is reported (latest version, majors behind, deprecations), but the batch limit it states ('Up to 40 at once') conflicts with the schema's maxItems of 100, which is a behavioral inaccuracy an agent will rely on.

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?

Two sentences, front-loaded with the input contract and then the outputs, with no filler. The final clause is short but carries the inaccurate batch limit, which slightly undercuts an otherwise tight structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly takes on the job of describing return values and does so at a summary level. However, it leaves the 40-vs-100 batching discrepancy unresolved and gives no indication of how results are ordered or how missing/deprecated packages are represented, which matters for a batch tool returning per-dependency reports.

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 description coverage is 50%, and the schema already does substantial work: the ecosystem enum is fully documented per registry and the dependency name field carries concrete examples. The description adds only the manifest-file framing for the dependencies array and the (inconsistent) 40-item cap, and says nothing about how ecosystem selection changes behavior between npm and pypi inputs.

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 names a specific verb and resource ('report the latest version of each') and enumerates the three outputs: latest version, major-versions-behind, and deprecations. It also scopes the input source ('package.json or requirements.txt'), which makes it clearly distinguishable from siblings like migrate or whats_new.

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 rather than stated: the parenthetical naming package.json/requirements.txt tells the agent what input to feed it, but there is no explicit when-to-use versus when-not, and no routing to migrate or whats_new for follow-up work. An agent can infer the context but must guess at boundaries.

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

Deploy Server

Other Tools