Skip to main content
Glama

release_drift_lockfile

Read-only

Compare old and new lockfiles by downloading every upgraded package from its registry and comparing release artifacts to identify version drift.

Instructions

release-drift: every package a lockfile change upgrades, downloaded from its registry and compared as release_drift_diff does.

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": {
      "old": "<old>",
      "new": "<new>"
    },
    "name": "release_drift_lockfile"
  }
}

Input Schema

NameRequiredDescriptionDefault
newYesNew lockfile
oldYesOld lockfile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and network exposure are covered; the description usefully confirms that packages are actually downloaded from registries, which is real added context for an open-world read. It does not mention private-registry auth, rate limiting, or failure behavior for unresolvable packages. Nothing here contradicts the annotations.

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 sentence with little waste, and the substantive content comes first after the prefix. The 'release-drift:' label and the 'as release_drift_diff does' clause cost space without adding selection guidance.

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 should at least indicate what comes back — a list of upgraded packages with per-package comparison results? — and it does not. For a two-parameter, read-only tool the scope statement is otherwise adequate, and the annotations carry the safety profile.

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 both parameters described as 'Old lockfile' and 'New lockfile', so the baseline is 3. The description adds only that the diff scope is limited to packages the change upgrades, which slightly narrows interpretation but adds no format or path detail beyond the schema.

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 sentence names the concrete resource (every package a lockfile change upgrades) and the concrete operation (downloaded from its registry and compared), which is far more than a restated name. It also distinguishes itself from release_drift_diff by pointing at that tool as the comparison model rather than duplicating it. Only the redundant 'release-drift:' prefix dilutes the opening.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to choose this over release_drift_diff, release_drift_source, or release_drift_provenance; the mention of release_drift_diff describes behavior, not routing. The agent is left to infer that this tool is for the case where inputs are old/new lockfiles, which is only implicit in the schema.

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