Skip to main content
Glama

Affine Earth Math Court Remote

verify_amplitude_estimation

Read-onlyIdempotent

QC-010 Amplitude estimation verifier: certifies presented rational fraction == M/N exactly. 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": {
      "M": "<M>",
      "N": "<N>",
      "fraction": "<fraction>"
    },
    "name": "verify_amplitude_estimation"
  }
}

Input Schema

NameRequiredDescriptionDefault
MYes
NYes
fractionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / M / description
      Removed value: -"number of marked entries, 0..N, decimal, e.g. 1"
    • removedInput schema / properties / N / description
      Removed value: -"size of the sample space, 1..64, decimal, e.g. 4"
    • removedInput schema / properties / fraction / description
      Removed value: -"the presented amplitude fraction as an exact rational, must equal M/N, e.g. 1/4"
  2. Changed3 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"
  3. Changed3 schema fields changed
    • removedInput schema / properties / M / description
      Removed value: -"number of marked entries, 0..N, decimal, e.g. 1"
    • removedInput schema / properties / N / description
      Removed value: -"size of the sample space, 1..64, decimal, e.g. 4"
    • removedInput schema / properties / fraction / description
      Removed value: -"the presented amplitude fraction as an exact rational, must equal M/N, e.g. 1/4"
  4. Added
  5. Removed
  6. 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"
      +]
  7. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world behavior, so the safety profile is covered. Beyond that, the description adds two genuinely useful behavioral facts: comparison is exact (no tolerance), and float inputs are refused. It does not say what happens on a mismatch (false vs. error) or how the verdict is reported, which keeps it below the top mark.

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 short sentences, front-loaded with the tool's identity and immediately followed by the hard constraint. Nothing is redundant, though the 'QC-010' identifier is opaque to an agent and occupies prime opening position without adding actionable meaning.

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?

With no output schema, the description must say something about the verdict it produces, and it does not — an agent cannot tell whether a failed equality returns false, an error, or a message. Combined with the unspecified input string format for three undocumented parameters, the definition is adequate but leaves real gaps for a tool whose entire value is a pass/fail result.

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 0% with three bare string parameters, so the description must carry the burden. It does establish the semantic relationship between them — 'fraction' is the presented value being checked against M/N — which the schema does not convey. However, it never specifies the expected string format for M, N, or fraction (e.g. '3/4' vs '0.75' vs integers), leaving the agent to guess how to encode inputs.

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 states a specific verb and resource: it certifies that a presented rational fraction equals M/N exactly. That is concrete enough for an agent to know this is an exact-equality verifier rather than a numeric computation tool. It is not cross-referenced against near-identical siblings such as verify_amplitude_amplification, so the 'QC-010' label is the only differentiator beyond the wording.

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 or when-not-to-use guidance and no named alternative among the many verify_* siblings. The only usage signal is the negative constraint 'Floats refused', which tells the agent what input will be rejected but not when to choose this tool over a related 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