Skip to main content
Glama

Verified circuit optimization

quantum_verified_circuit_optimization_v1
Idempotent

Problem: Optimize RQM Circuit IR and return the original unless preservation is verified. Input: JSON with circuit. Result: verified candidate or original fallback, metric deltas, preservation evidence. Limits: Local software evidence only; 3 verification qubits; 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

B3.2/5.0
Behavior4/5

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

Annotations only cover safety/mutability flags (readOnly=false, idempotent=true, destructive=false); the description adds meaningful behavior beyond them: the original is returned as a fallback when preservation fails, and the return carries metric deltas and preservation evidence. The stated limits (local software evidence only, 3 verification qubits, 65536 request bytes) further constrain use. It does not discuss permissions or cost implications of the job.

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 telegraphic, with each clause carrying information. It is compact, though the terse fragments for Input and Result sacrifice some clarity for brevity.

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 spelled out, and the description usefully explains the fallback and evidence anyway. However, for a nested, fully undocumented request object with an unusual fixed-price parameter, the input side is under-specified for an agent to invoke it confidently.

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% across 4 required parameters, so the description must carry the load, but it only says the input is 'JSON with circuit.' The nested request object, the const schema_version, the idempotency_key pattern, and especially the const max_total_price ("0.250000") are not explained at all.

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 and resource (optimize RQM Circuit IR) plus the distinguishing behavioral twist (return the original unless preservation is verified), which sets it apart from the plain optimize_quantum_circuit sibling. It stops short of naming the alternatives it is not, so it does not reach a 5.

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 explicit when-to-use guidance or comparison against the obvious alternatives (optimize_quantum_circuit, quantum_optimization_preservation_audit_v1, check_quantum_circuit). The preservation-verification behavior implies a context, but the agent is left to infer when this tool is preferred over its many siblings.

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