Skip to main content
Glama

Gate Basis Decomposition

quantum_gate_basis_decomposition_v1
Idempotent

Problem: Decompose this supported circuit operation into the supplied bounded gate basis and verify the declared relation. Input: JSON with operation, target basis, phase context. Result: decomposition or withheld candidate, gate list, verification status. Limits: Local software evidence only; 65536 request bytes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes
schema_versionYes
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.8/5.0
Behavior2/5

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

Annotations cover idempotency, non-destructiveness and closed-world scope, and the description adds the 'local software evidence only' limit and a byte cap. But it hides the most consequential behavior: the schema's max_total_price const and idempotency_key indicate this is a paid, job-submitting operation, and the description never says a job is queued, that funding is required, or how results are retrieved. That omission is serious for a non-read-only tool.

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?

The Problem/Input/Result/Limits structure is front-loaded and compact, with no filler sentences. Slightly dense but every block earns its place.

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?

An output schema exists so return values need not be described, and the description does convey the transformation and its bounded-evidence limits. It is nonetheless incomplete for a paid, idempotent job tool whose request envelope and payment parameter are invisible to the reader.

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% and the request payload is an untyped open object, so the description carries the full burden. It names only operation, target basis and phase context, leaving the required schema_version, idempotency_key and max_total_price parameters, plus the pricing semantics, entirely unexplained.

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?

States a specific verb+resource (decompose a circuit operation into a supplied bounded gate basis, then verify the relation), which is more specific than the name alone. However 'this supported circuit operation' is vague and the description does not distinguish it from closely named siblings such as quantum_two_qubit_target_synthesis_v1 or synthesize_two_qubit_target.

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 or when-not-to-use guidance, and no routing to alternatives despite many overlapping decomposition/synthesis siblings. The Problem/Input/Result/Limits framing implies a workflow but never states the conditions that select this tool over its neighbors.

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