Skip to main content
Glama

Chess Sim

Chess best move: lightweight engine evaluation

chess_best_move
Read-only

Chess best move: lightweight engine evaluation. Quick alpha-beta search (2-4 plies within a fixed node budget, plus capture quiescence, material + piece-square evaluation) returning the best move, evaluation and top 5 moves. Lightweight, not Stockfish: good for short tactics and blunder checks. Costs $0.003 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/best-move 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_best_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
fenNoFEN
pgnNoor moves
depthNo1-4, default 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations only supply readOnlyHint, yet the description discloses the search depth and node budget, the exact return payload, the $0.003 per-call cost, the payment mechanism (MPP credential in the Authorization header or the mppx endpoint), and the important billing edge cases: unpriced response without payment and no charge on invalid input.

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 capability, then cost and payment mechanics, all of which earn their place for a paid tool. There is mild redundancy between the title-like opening and the later 'Lightweight, not Stockfish' clause.

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?

No output schema exists, but the description enumerates the return payload, cost, and failure behavior, which covers what an agent needs. The one gap is the fen/pgn input contract, since zero parameters are marked required and the precedence is unstated.

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 the baseline is 3. The schema labels are extremely terse ('FEN', 'or moves', '1-4, default 3'), and the description only adds the depth-to-plies mapping; it does not clarify whether fen or pgn is required or which takes precedence when both are given.

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?

States a specific verb and resource plus the algorithm: alpha-beta search at 2-4 plies with quiescence, material and piece-square evaluation, returning best move, evaluation, and top 5. That is far more than a restatement of the title. It stops short of explicitly naming when a sibling like chess_mate_search would be preferred, so a 4 rather than 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 phrase 'good for short tactics and blunder checks' and 'not Stockfish' implies the intended use case and its limits, but no alternative tool is named and no explicit when-not conditions are stated. Usage is inferable but not spelled out.

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.