Skip to main content
Glama

Affine Earth Math Court Remote

verify_amplitude_estimation

QC-010 Amplitude estimation. fraction must equal M/N exactly. Floats refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
MYesnumber of marked entries, 0..N, decimal, e.g. 1
NYessize of the sample space, 1..64, decimal, e.g. 4
fractionYesthe presented amplitude fraction as an exact rational, must equal M/N, e.g. 1/4

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / M / description
      Added value: +"number of marked entries, 0..N, decimal, e.g. 1"
    • addedInput schema / properties / N / description
      Added value: +"size of the sample space, 1..64, decimal, e.g. 4"
    • addedInput schema / properties / fraction / description
      Added value: +"the presented amplitude fraction as an exact rational, must equal M/N, e.g. 1/4"
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "M",
      +  "N",
      +  "fraction"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a real behavioral trait — that non-exact inputs are rejected outright ('Floats refused') and that the fraction must match M/N exactly, implying strict input validation. However, nothing is said about permissions, side effects, or what a pass/fail result looks like.

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?

Three terse telegraphic sentences, with the subject and the hard input constraint front-loaded and no filler. It is efficient, though the extreme terseness leaves gaps rather than wasting words.

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 verification tool with a fully described schema, the definition is adequate but thin: there is no output schema and no indication of what verification result is returned or what a failure means. Given the low complexity, the missing return semantics is the main remaining gap.

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 description coverage is 100%, so all three parameters are already documented in the schema, including the same M/N equality rule and the example '1/4'. The description largely restates that rule and adds only the float-rejection nuance, which is the correct baseline-3 outcome when the schema does the heavy lifting.

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 verification task ('Amplitude estimation', tagged QC-010), so an agent knows it checks an amplitude-estimation claim rather than computing anything. It does not differentiate from the close sibling verify_amplitude_amplification, which shares the same domain vocabulary, so the agent must infer the split from the names alone.

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 statement of when to use this versus the many other verify_* siblings, nor any prerequisite or expected caller context. The only clause offered is a validation rule ('fraction must equal M/N exactly'), which is a constraint rather than routing guidance.

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