Skip to main content
Glama

capability_drift

Compares the current capability registry against a lockfile and reports missing, new, or changed capabilities so you can detect drift and verify installed agent capabilities.

Instructions

Compare the current registry with the lockfile and report missing/new/changed capabilities.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "capability_drift"
  }
}

Input Schema

NameRequiredDescriptionDefault
liveNo
lockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden, and it only implies a read-only diff. It does not say whether the tool writes anything, what happens when no lockfile exists, whether differences are only reported or also reconciled, or how results are shaped.

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?

One sentence, front-loaded with the comparison and ending on the reported categories, with no filler. It is efficiently built, though its brevity is partly under-specification rather than pure economy.

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

Completeness2/5

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

The tool is structurally simple (two optional params, no output schema), so the description could easily have been complete, yet the meaning of 'live' and the lockfile-missing behavior remain unknown. An agent could invoke it but could not predict the outcome of either parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description has to explain the two parameters and does not. 'lock' can be loosely inferred as the lockfile to compare against, but 'live' (boolean, default false) is completely opaque — the agent cannot tell whether it means querying a live registry instead of a cached one.

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 uses a specific verb (compare) with two concrete resources (current registry vs lockfile) and enumerates the reported outcome classes (missing/new/changed). That is enough to separate it from siblings like capability_lock or capability_verify, though no sibling is named explicitly.

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?

It states what happens but never when to reach for it: no prerequisite that a lockfile must exist first, no indication of whether it should follow capability_lock, and no contrast with capability_verify or capability_health. The intended moment of use is left entirely to inference.

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