Skip to main content
Glama

Affine Earth Math Court Remote

verify_qft_phases

Read-onlyIdempotent

QC-003 QFT phase table verifier: certifies phases[j] == (j*k)/n as exact rationals for n in {2,4,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>",
      "n": "<n>",
      "phases": "<phases>"
    },
    "name": "verify_qft_phases"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes
nYes
phasesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / k / description
      Removed value: -"input index, 0 <= k < n, decimal, e.g. 1"
    • removedInput schema / properties / n / description
      Removed value: -"register size: 2, 4 or 8, e.g. 4"
    • removedInput schema / properties / phases / description
      Removed value: -"the n phases j*k/n as exact rationals, comma-separated in j order, e.g. 0/4,1/4,2/4,3/4 for n=4, k=1"
  2. Changed3 schema fields changed
    • addedInput schema / properties / k / description
      Added value: +"input index, 0 <= k < n, decimal, e.g. 1"
    • addedInput schema / properties / n / description
      Added value: +"register size: 2, 4 or 8, e.g. 4"
    • addedInput schema / properties / phases / description
      Added value: +"the n phases j*k/n as exact rationals, comma-separated in j order, e.g. 0/4,1/4,2/4,3/4 for n=4, k=1"
  3. Changed3 schema fields changed
    • removedInput schema / properties / k / description
      Removed value: -"input index, 0 <= k < n, decimal, e.g. 1"
    • removedInput schema / properties / n / description
      Removed value: -"register size: 2, 4 or 8, e.g. 4"
    • removedInput schema / properties / phases / description
      Removed value: -"the n phases j*k/n as exact rationals, comma-separated in j order, e.g. 0/4,1/4,2/4,3/4 for n=4, k=1"
  4. Added
  5. Removed
  6. Changed4 schema fields changed
    • addedInput schema / properties / k / description
      Added value: +"input index, 0 <= k < n, decimal, e.g. 1"
    • addedInput schema / properties / n / description
      Added value: +"register size: 2, 4 or 8, e.g. 4"
    • addedInput schema / properties / phases / description
      Added value: +"the n phases j*k/n as exact rationals, comma-separated in j order, e.g. 0/4,1/4,2/4,3/4 for n=4, k=1"
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "k",
      +  "n",
      +  "phases"
      +]
  7. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already state readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: verification is done in exact rational arithmetic and float inputs are rejected outright. It still doesn't say how a failure is surfaced (exception vs. negative verdict).

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?

Two compact sentences with the identity check front-loaded and the refusal rule last as a guard condition. Nothing is padding, though the QC-003 identifier is inert for an agent choosing a tool.

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 small three-parameter verifier with no output schema, the core semantics are present, but two things an agent needs are missing: the string encoding of the arguments and whether a failed certification raises or returns a verdict.

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

Parameters3/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 strings, so the description must compensate. It does map roles well (k as multiplier, n as the size restricted to 2/4/8, phases as the table indexed by j), but it never explains why these are strings or what encoding (e.g., JSON-encoded list) is expected.

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 a specific verb ('certifies') and resource ('QFT phase table') and pins the exact predicate phases[j] == (j*k)/n plus the allowed domain n in {2,4,8}. It is unambiguous what the tool checks, though it never distinguishes itself from the closely-named sibling verify_qpe_phase.

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?

Usage is only implied: you call it when you have a phase table to certify. The constraints 'n in {2,4,8}' and 'Floats refused' implicitly define when the tool is inapplicable, but there is no explicit when-to-use/when-not or pointer to an alternative verifier.

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