Skip to main content
Glama

OpenQASM 3 preflight

quantum_openqasm3_preflight_v1
Idempotent

Problem: Parse, normalize, and assess OpenQASM 3 before downstream execution. Input: JSON with source. Result: go, no-go, or unsupported verdict, normalized source, warnings and evidence. Limits: Local software evidence only; 3 verification qubits; 65536 source 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.4/5.0
Behavior4/5

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

Annotations cover the safety/idempotency profile (idempotentHint=true, destructiveHint=false, openWorldHint=false), and the description adds real behavioral context beyond them: possible outcomes (go/no-go/unsupported), produced artifacts (normalized source, warnings, evidence), and concrete limits (local evidence only, 3 verification qubits, 65536 source bytes). It does not mention that the call carries a price, which is a notable omission given max_total_price is required, but nothing contradicts the annotations.

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 framing is compact, front-loaded, and wastes almost no words; every clause carries information. It is slightly telegraphic for a tool with a 4-field required envelope, but density here is a virtue rather than padding.

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 verdict/warning detail need not be re-explained, and the description covers purpose and limits adequately. What is missing is the calling contract: the required request envelope, idempotency key, and pricing field are undocumented in both schema and description, which leaves an agent under-informed for a paid, job-submitting tool with a nested object parameter.

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 burden falls on the description, and it only partly delivers: 'JSON with source' gestures at the payload, but schema_version, idempotency_key, and max_total_price are never explained, and the nested 'request' envelope is opaque. A user cannot tell from the text where 'source' actually lives in the schema.

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 specific verbs and resource: 'Parse, normalize, and assess OpenQASM 3 before downstream execution.' That is far more than a restatement of the title and tells the agent this is a validation/preflight step, not an executor. It does not, however, set itself apart from the very similar sibling quantum_openqasm3_repair_v1 / repair_openqasm3.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'before downstream execution' implies when this belongs in a workflow, but there is no explicit when-not guidance and no routing to alternatives such as repair_openqasm3 or check_quantum_circuit in the sibling list. Usage is inferable rather than stated.

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