Skip to main content
Glama

release_drift_provenance

Read-only

Detect release drift between two package versions by comparing provenance, publishing workflow, and publisher account changes to flag releases published differently.

Instructions

release-drift: whether a new version was published differently from the old one (provenance removed, workflow changed, another npm account).

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

Input Schema

NameRequiredDescriptionDefault
newYesNew version
oldYesOld version
nameYesPackage
registryYes

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 behavior are covered. The description adds genuine value by enumerating the kinds of drift detected (removed provenance, changed workflow, different npm account), but it says nothing about what the result looks like or whether the comparison is per-version or per-publication event.

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?

A single efficient sentence with the key concept front-loaded and no filler. It reads as a fragment ('release-drift: whether...') rather than a complete sentence, which slightly reduces scannability but wastes no words.

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?

For a four-required-parameter read-only check with no output schema, the description should say something about the shape of the answer (boolean, list of drift findings, severity). It explains what drift means but not what an agent receives, leaving a real gap for a tool with no output 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 description coverage is 75% with the registry enum documented structurally but not semantically; the description adds no meaning to old/new/name/registry beyond a passing mention of 'npm account'. With the schema largely self-documenting, baseline 3 is appropriate, though it does not compensate for the undocumented registry field.

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 description states a specific check: whether a new version was published differently from the old one, with concrete examples of drift (provenance removed, workflow changed, another npm account). That is enough for an agent to know what the tool answers. It does not distinguish itself from the nearby release_drift_diff or release_drift_source siblings, so it stops short of a 5.

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 explicit when-to-use guidance, no prerequisites, and no mention of alternatives such as release_drift_diff for a general version diff. The use case is only inferable from the definition of the check itself, which is the same weak implied-usage pattern seen in typical 'update settings' descriptions.

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