Skip to main content
Glama

Affine Earth Math Court Remote

verify_hhl

Read-onlyIdempotent

QC-005 HHL linear system witness verifier: for n<=2 integer matrix A and rational vectors b, x, certifies A*x == b exactly without matrix inversion. 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": {
      "b": "<b>",
      "matrix": "<matrix>",
      "x": "<x>"
    },
    "name": "verify_hhl"
  }
}

Input Schema

NameRequiredDescriptionDefault
bYes
xYes
matrixYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / b / description
      Removed value: -"right-hand side b as comma-separated rationals, one per row, e.g. 2,4"
    • removedInput schema / properties / matrix / description
      Removed value: -"integer matrix A, 1x1 or 2x2: rows separated by '|', entries by ',', e.g. 2,0|0,2"
    • removedInput schema / properties / x / description
      Removed value: -"the presented solution x as comma-separated rationals, e.g. 1,2; the court checks A x = b exactly and never inverts"
  2. Changed3 schema fields changed
    • addedInput schema / properties / b / description
      Added value: +"right-hand side b as comma-separated rationals, one per row, e.g. 2,4"
    • addedInput schema / properties / matrix / description
      Added value: +"integer matrix A, 1x1 or 2x2: rows separated by '|', entries by ',', e.g. 2,0|0,2"
    • addedInput schema / properties / x / description
      Added value: +"the presented solution x as comma-separated rationals, e.g. 1,2; the court checks A x = b exactly and never inverts"
  3. Changed3 schema fields changed
    • removedInput schema / properties / b / description
      Removed value: -"right-hand side b as comma-separated rationals, one per row, e.g. 2,4"
    • removedInput schema / properties / matrix / description
      Removed value: -"integer matrix A, 1x1 or 2x2: rows separated by '|', entries by ',', e.g. 2,0|0,2"
    • removedInput schema / properties / x / description
      Removed value: -"the presented solution x as comma-separated rationals, e.g. 1,2; the court checks A x = b exactly and never inverts"
  4. Added
  5. Removed
  6. Changed4 schema fields changed
    • addedInput schema / properties / b / description
      Added value: +"right-hand side b as comma-separated rationals, one per row, e.g. 2,4"
    • addedInput schema / properties / matrix / description
      Added value: +"integer matrix A, 1x1 or 2x2: rows separated by '|', entries by ',', e.g. 2,0|0,2"
    • addedInput schema / properties / x / description
      Added value: +"the presented solution x as comma-separated rationals, e.g. 1,2; the court checks A x = b exactly and never inverts"
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "b",
      +  "matrix",
      +  "x"
      +]
  7. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world verification. The description adds useful domain behavior beyond that: exact certification, no matrix inversion, and refusal of floating-point inputs. It does not describe the return value or failure representation.

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?

It is a single dense sentence with no filler, and the core purpose and constraints are front-loaded. Every phrase contributes useful scope or behavior information.

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?

The tool has three undocumented string parameters and no output schema, so the description should ideally clarify input serialization and what successful or failed certification returns. It covers mathematical meaning and constraints well, but leaves enough operational detail missing that an agent may not know how to call it or interpret results.

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?

The description identifies the roles and domains of the three parameters: A as an integer matrix, b and x as rational vectors, with n<=2. However, schema coverage is 0% and the description does not explain how matrix and vector values are encoded in the required string parameters, which is a significant operational gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: it certifies A*x == b for an HHL linear-system witness. The HHL and QC-005 qualifiers plus the n<=2 integer-matrix/rational-vector scope distinguish it from the many other algorithm-specific verify_* siblings.

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

Usage Guidelines4/5

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

It clearly states when the tool applies: n<=2 integer matrix A and rational vectors b and x, with floats refused. That gives an explicit boundary, but it does not name an alternative tool for cases outside that boundary.

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