Skip to main content
Glama

Make this quantum circuit smaller, but return the original unless equivalence is verified.

optimize_quantum_circuit
Idempotent

Make this quantum circuit smaller, but return the original unless equivalence is verified.

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.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), so the bar is lower. The description still adds real value beyond them by disclosing the conditional fallback semantics: the circuit is only swapped for the smaller version if equivalence is verified, otherwise the original is returned.

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?

It is a single, front-loaded sentence with no padding, but it is essentially a restatement of the title and leaves out information this complex tool needs. Brevity here comes from omission rather than efficiency.

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?

For a paid, nested-schema transformation tool with an output schema and multiple overlapping siblings, the description omits the cost/payment model (max_total_price, payment_rail), the meaning of the profile option, supported circuit formats, and idempotency behavior. The equivalence guarantee is the only substantive content.

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

Parameters1/5

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

Schema description coverage is 0% across 4 parameters (including a nested request object with circuit/backend/profile, plus payment_rail, idempotency_key, and max_total_price). The description explains none of these, so an agent gets nothing about the profile enum, supported formats, or the pricing/idempotency requirements.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as quantum_verified_circuit_optimization_v1, quantum_phase_aware_rewrite_v1, or quantum_openqasm3_preflight_v1. The agent must infer usage entirely from the name.

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