Skip to main content
Glama

Affine Earth Math Court Remote

verify_qpe_phase

Read-onlyIdempotent

QC-004 Quantum Phase Estimation verifier: certifies presented rational phase equals k / 2^m for 1 <= m <= 8. Floats refused.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "k": "<k>",
      "m": "<m>",
      "phase": "<phase>"
    },
    "name": "verify_qpe_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes
mYes
phaseYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / k / description
      Removed value: -"eigenphase index, 0 <= k < 2^m, decimal, e.g. 1"
    • removedInput schema / properties / m / description
      Removed value: -"precision bits, 1..8, e.g. 2"
    • removedInput schema / properties / phase / description
      Removed value: -"the presented phase as an exact rational num/den, must equal k/2^m, e.g. 1/4 for m=2, k=1"
  2. Changed3 schema fields changed
    • addedInput schema / properties / k / description
      Added value: +"eigenphase index, 0 <= k < 2^m, decimal, e.g. 1"
    • addedInput schema / properties / m / description
      Added value: +"precision bits, 1..8, e.g. 2"
    • addedInput schema / properties / phase / description
      Added value: +"the presented phase as an exact rational num/den, must equal k/2^m, e.g. 1/4 for m=2, k=1"
  3. Changed3 schema fields changed
    • removedInput schema / properties / k / description
      Removed value: -"eigenphase index, 0 <= k < 2^m, decimal, e.g. 1"
    • removedInput schema / properties / m / description
      Removed value: -"precision bits, 1..8, e.g. 2"
    • removedInput schema / properties / phase / description
      Removed value: -"the presented phase as an exact rational num/den, must equal k/2^m, e.g. 1/4 for m=2, k=1"
  4. Added
  5. Removed
  6. Changed4 schema fields changed
    • addedInput schema / properties / k / description
      Added value: +"eigenphase index, 0 <= k < 2^m, decimal, e.g. 1"
    • addedInput schema / properties / m / description
      Added value: +"precision bits, 1..8, e.g. 2"
    • addedInput schema / properties / phase / description
      Added value: +"the presented phase as an exact rational num/den, must equal k/2^m, e.g. 1/4 for m=2, k=1"
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "k",
      +  "m",
      +  "phase"
      +]
  7. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds real value with the m in [1,8] bound and the float-rejection rule, but it does not say what a certification produces (pass/fail verdict, error on mismatch), which matters since there is no output schema.

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

Conciseness5/5

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

Two tight sentences, no filler: the identity and bounds come first, then the input restriction. Every clause carries information an agent needs.

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?

For a three-required-parameter verifier with no output schema and no parameter descriptions, the description covers the mathematical contract and input restrictions but leaves the return value and accepted string encodings unspecified. It is adequate to attempt a call but not to predict the response shape.

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

Parameters4/5

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

Schema coverage is 0% and all three parameters are untyped-content strings, so the description carries the burden. It successfully maps k as numerator, m as the exponent of 2 (bounded 1-8), and phase as the presented rational, plus the constraint that floats are rejected. It stops short of specifying accepted string formats for k and phase (e.g. '1/8' vs '0.125'), which is the main residual ambiguity.

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 ('certifies') and a precise mathematical predicate: the presented rational phase equals k / 2^m with 1 <= m <= 8. This is distinguishable from sibling verifiers by the exact predicate, though it never names an alternative or states scope boundaries against tools like verify_qft_phases.

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?

'Floats refused' gives an implicit when-not condition (do not call with float input), and the m-range narrows applicability. However, there is no explicit statement of when to prefer this over the many other verify_* siblings, so selection guidance is only implied.

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