Skip to main content
Glama

check_version_drift

Compares installed dependencies in pyproject.toml, package.json, or go.mod against indexed library versions, reporting outdated, up-to-date, and not-indexed packages.

Instructions

Compares installed dependencies against indexed library versions. Reads pyproject.toml, package.json, go.mod and reports outdated, up-to-date, and not-indexed libraries.

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": {
      "repo": "<repo>"
    },
    "name": "check_version_drift"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name (as shown in list_repos)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It does disclose that the tool reads manifest files and buckets results into outdated, up-to-date, and not-indexed — which usefully signals a non-destructive read/analysis operation — but it omits whether the repo must already be indexed, what happens when a manifest is absent, and whether the operation is read-only in any guaranteed sense.

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 sentences, both load-bearing: the first states the comparison, the second names the parsed files and the three result categories. The core action is front-loaded with zero filler.

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 one-parameter analysis tool with no output schema, the description covers what it reads and what categories of result to expect, which is most of what an agent needs. The notable remaining gap is the precondition that the repo and its libraries be indexed for the comparison to mean anything.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains that 'repo' is a repository name as shown in list_repos. The description adds nothing about that parameter (no format hints, no notes on indexed-vs-unindexed repos), which is the expected baseline when the schema does the work.

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 ('Compares installed dependencies against indexed library versions') and then enumerates the concrete artifacts it parses (pyproject.toml, package.json, go.mod), so an agent knows exactly what the tool inspects. No sibling in the provided list offers comparable version-drift analysis, so ambiguity is low even without naming an alternative.

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 purpose — an agent can infer it should call this to audit dependency freshness — but the description never states when to prefer it over adjacent tools such as indexed_libraries or pin_library_version, nor any precondition. There are no exclusions or prerequisites spelled out.

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