Skip to main content
Glama

Find the phase, rotation, ordering, or convention bug in this quantum operation.

diagnose_quantum_phase
Idempotent

Find the phase, rotation, ordering, or convention bug in this quantum operation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes
payment_railNo
idempotency_keyYes
max_total_priceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.1/5.0
Behavior2/5

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

Annotations declare idempotentHint=true and destructiveHint=false, so the description adds little on safety. The real behavioral payload -- that this requires a paid call (max_total_price), supports x402/account_core_balance payment rails, and is idempotency-keyed -- appears nowhere in the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence is maximally concise and front-loaded, but that brevity reflects under-specification rather than disciplined editing.

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 schema is deeply nested with a 3-level required request object, a custom recursive type, and three required top-level parameters, yet the description covers only the abstract goal. An output schema exists so return values need not be explained, but the inputs and call mechanics are not.

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 must compensate, but it adds nothing about original vs candidate circuits, the format enum (openqasm3 / rqm_circuit_ir_0_2), semantic_context, or the pricing/idempotency parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

Tautological: description restates name/title.

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?

No when-to-use guidance, no statement of prerequisites, and no routing to or away from the many overlapping phase/diagnosis siblings. The agent must guess which of these tools applies.

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.

Resources