Skip to main content
Glama

Chess Sim

Chess forced-mate finder: mate in 1 to 3

chess_mate_search
Read-only

Chess forced-mate finder: mate in 1 to 3. Exhaustive search for a forced checkmate for the side to move (every defence checked), up to mate in 3, with the first move and a sample line. Reports when the search budget runs out instead of guessing. Costs $0.001 per call, paid with MPP on Tempo (send an MPP Payment credential in the Authorization header of the MCP request, or call POST https://chess-sim.fmf-x402.workers.dev/mpp/chess/mate-search with mppx). Without payment it returns the price and how to pay; invalid input is never charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chess_mate_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
fenNoFEN
pgnNoor moves
max_movesNo1-3, default 2

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=true: it discloses the exhaustiveness guarantee, the mate-depth bound, that budget exhaustion is reported rather than guessed, the return shape (first move plus sample line), the $0.001 cost, the MPP/Tempo credential location, the HTTP fallback, and that unpaid calls return a price quote and invalid input is never charged. That is unusually complete behavioral disclosure for a paid tool.

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?

Front-loaded with purpose and scope, then payment mechanics and failure modes. Sentences carry distinct information with little redundancy, though the payment sentence is dense with header name, endpoint URL, and client name packed into one clause.

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

Completeness5/5

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

For a paid, fallible search tool with no output schema, the description covers what is returned, how long the guarantee holds, how failure is signalled, and how to authenticate. The only remaining gap is fen/pgn input interaction, which the schema nominally covers given zero required parameters.

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 100%, so baseline is 3, and the schema descriptions are extremely terse ('FEN', 'or moves', '1-3, default 2'). The description clarifies the meaning of max_moves ('up to mate in 3') but says nothing about fen vs pgn precedence, whether both may be sent, or what happens when neither is provided despite zero required parameters.

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?

States a specific resource and operation: an exhaustive forced-checkmate search for the side to move, bounded at mate in 1 to 3. 'Every defence checked' and 'first move and a sample line' distinguish it from chess_best_move, which would return a heuristic move rather than a proven mate.

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 implied rather than stated: an agent can infer this is for positions where a forced mate is suspected, but the description never says to prefer chess_best_move when no mate exists or chess_position_check first. It does describe operational context (budget exhaustion, payment, uncharged invalid input), which is useful but is not when-to-use 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.