Skip to main content
Glama

Qasmguard for OpenQASM lint, simulation, routing & FTQC

q_ftqc_estimate

Read-onlyIdempotent

Metered ($0.020): Qualtran/Willow-calibrated surface-code distance, distillation/cultivation factory sizing, runtime, and Pareto trade-off estimator.

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": "q_ftqc_estimate"
  }
}

Input Schema

NameRequiredDescriptionDefault
qasmNoOptional OpenQASM circuit to auto-extract logicalQubits, tCount, tDepth.
tCountNoTotal T-gate count (>= 0).
tDepthNoCritical-path T-depth (<= tCount).
factoryTypeNoMagic-state factory architecture (default 15-to-1-distillation).
logicalQubitsNoLogical qubit count (>= 1) if qasm omitted or overridden.
hardwareProfileNoPhysical fault-tolerant architecture profile (default willow-superconducting).
measurementCountNoLogical measurement count (>= 0).
targetTotalErrorNoTarget total algorithm failure probability in (0, 1) (default 0.01).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is lower, and the description adds two genuinely useful facts beyond them: the $0.020 metered cost and the Qualtran/Willow calibration basis. Because there is no output schema, the enumerated result quantities (distance, factory sizing, runtime, Pareto points) also serve as the only return-value disclosure, though nothing is said about result format or precision.

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 front-loaded sentence with the price flag first and no filler. It is dense to the point of jargon-stacking ('Qualtran/Willow-calibrated surface-code distance, distillation/cultivation factory sizing'), which slightly slows parsing, but nothing is redundant.

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 an eight-parameter estimator with no output schema, the description covers what is computed and its cost, but omits the input-mode interaction (qasm overriding explicit counts) and any indication of how Pareto trade-off results are presented. It is adequate to identify the tool, not fully adequate to invoke it with confidence.

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%, including enum values and default notes, so the schema fully documents the eight parameters. The description adds no parameter-level meaning (e.g. that qasm auto-extraction overrides tCount/tDepth, or how targetTotalError drives distance selection), so baseline 3 applies.

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 names the concrete outputs (surface-code distance, factory sizing, runtime, Pareto trade-offs) and the model basis (Qualtran/Willow-calibrated), so an agent can tell this is a fault-tolerant resource estimator. It lacks an explicit verb ('estimate') and never differentiates itself from the sibling quantum tools, but the subject matter is unambiguous.

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?

The only guidance offered is the 'Metered ($0.020)' cost flag. There is no statement of when to reach for this estimator versus q_simulate or q_profile_circuit, no note that every parameter is optional, and no hint about which input mode (qasm vs explicit tCount/tDepth/logicalQubits) to prefer.

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.