Skip to main content
Glama

check_drift

Detect MCP server drift by comparing an MCP client config against an mcpwatch.lock file using the public index; report tool, auth, grade, index, and stale-verification changes.

Instructions

Compare the servers in an MCP client config against an mcpwatch.lock file (from python3 -m mcpwatch.watch lock) using the public index. Reports changed, added or removed tools, auth and grade changes, removed or reassigned index entries, and stale verification. Any lookup error is returned as an error, never as no drift. Downloads public index shards; the config and lock are not sent.

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": {
      "config": "<config>",
      "lock": "<lock>"
    },
    "name": "check_drift"
  }
}

Input Schema

NameRequiredDescriptionDefault
lockYesThe mcpwatch.lock contents as a JSON string.
configYesThe config file contents as a JSON string.
max_stale_daysNoReport servers whose tools were last verified more than this many days ago.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that public index shards are downloaded, that the config and lock contents are not transmitted (a privacy guarantee), and that lookup failures surface as errors rather than being silently reported as 'no drift' — an important failure-mode disclosure. It does not state whether the operation is read-only or discuss rate limits or index download cost, leaving minor gaps.

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 core comparison before the enumeration of reported drift types. The middle clause is a dense list, but every item carries signal about what the agent will receive. No filler or marketing language.

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?

There is no output schema, so the description must convey return content, and it does by enumerating the drift categories plus the error-vs-no-drift guarantee. Combined with the fully described input schema, an agent has enough to call it correctly. Minor omissions remain around whether the check is read-only and how the index download behaves.

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 100%, so all three parameters (config, lock, max_stale_days) are already documented in the schema, including the stale-verification threshold semantics. The description adds only the provenance of the lock file and the JSON-string nature of both inputs, which is marginal beyond what the schema provides. Baseline 3 is appropriate.

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 gives a specific verb and both resources: it compares servers in an MCP client config against an mcpwatch.lock file using the public index, and it enumerates the drift categories reported (changed/added/removed tools, auth and grade changes, reassigned index entries, stale verification). That is far more than a restatement of the name. It stops short of distinguishing itself from check_server or scan_config, so an agent must infer the division of labor.

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 names the command that produces the lock file, which tells the agent the prerequisite artifact, but there is no explicit 'use this when' or 'use X instead' guidance relative to the sibling tools. An agent can infer this is the drift-comparison path once a lock exists, but nothing rules out misuse.

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