Skip to main content
Glama

MathCase Exact Checks + Pipeline

mathcase_check_fraction

Read-onlyIdempotent

Test a supplied equality 4/n = 1/x + 1/y + 1/z using exact integer cross-products. Example: n="157", denominators=["40","2094","6575160"]. Supply positive decimal strings, n >= 2, and three distinct denominators. Return the verdict and the board_url unchanged.

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": {
      "n": "<n>",
      "denominators": "<denominators>"
    },
    "name": "mathcase_check_fraction"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes
denominatorsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds that verification is done with exact integer cross-products (i.e., deterministic, no floating-point ambiguity) and that it returns the verdict and board_url. The mention of 'board_url unchanged' is slightly puzzling since no such parameter exists in the schema, which weakens the disclosure.

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?

Three compact sentences: purpose first, then a worked example, then input constraints and return behavior. Every sentence adds information, and the example is valuable given the unusual string-encoded numeric format.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (two parameters, boolean-style verdict output), an output schema exists so return values need not be detailed, and the description supplies format, constraints, and an example. Only the ambiguous 'board_url unchanged' reference and the unexplained mapping of x/y/z to the denominators array leave minor gaps.

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?

With 0% schema description coverage, the description carries the full burden and does well: it specifies that n and denominators are positive decimal strings, that n >= 2, that exactly three distinct denominators are required, and provides a concrete example. It does not explain the semantic relationship between x, y, z and the denominators array, but overall it compensates for the empty schema.

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 operation: 'Test a supplied equality 4/n = 1/x + 1/y + 1/z using exact integer cross-products.' That is far more precise than the tool name alone and clearly distinguishes it from the sibling case/pipeline tools. It stops short of explicitly naming a sibling it should be preferred over, so it is not a 5.

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?

The description gives input constraints ('Supply positive decimal strings, n >= 2, and three distinct denominators'), which implies when the tool is applicable, but it never states when to use this versus the check_case or pipeline tools. Usage is inferable from the purpose rather than explicitly guided.

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.