Skip to main content
Glama

Qecguard for Stim DEM lint, decode, threshold & shield

qec_drift_shield

Read-onlyIdempotent

Metered ($0.010): Calibration drift safety shield comparing baseline vs current QPU snapshots for threshold breach, Lambda regression, and hotspot couplers.

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": {
      "baseline": "<baseline>",
      "current": "<current>"
    },
    "name": "qec_drift_shield"
  }
}

Input Schema

NameRequiredDescriptionDefault
presetNoHardware baseline preset (default willow-105).
currentYes
baselineYes
distanceNoOdd code distance in [3, 11] (default 5).
patchQubitsNoOptional active physical qubit indices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds meaningful behavioral context by disclosing that the tool is metered at $0.010 and by naming the drift checks it performs, though it does not explain output details or threshold semantics.

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?

The description is a single front-loaded sentence with the cost first and the purpose second. It contains no filler and every phrase contributes to identifying the tool.

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?

The tool has nested input objects and no output schema, so the description should ideally say more about what the comparison returns. It identifies the analysis targets but does not explain result shape, thresholds, or how Lambda regression and hotspot couplers are reported.

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 60%, and the schema itself documents the nested baseline/current fields, preset, distance, and patchQubits. The description only reinforces that baseline and current are compared; it adds no syntax, default, or interpretation details beyond the schema.

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?

The description states a specific comparison task: baseline vs current QPU snapshots for threshold breach, Lambda regression, and hotspot couplers. This clearly distinguishes it from the QEC DEM siblings, which handle decoding, inspection, linting, sampling, synthesis, and threshold sweeps.

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?

The comparison targets imply the tool is used for calibration drift checks, but there is no explicit when-to-use or when-not-to-use guidance. No alternatives are named, so the agent must infer the use case from the purpose statement.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.