Skip to main content
Glama

Chess Sim

FREE chess position check: legal moves, check/mate/draw, material, opening

chess_position_check
Read-only

FREE chess position check: legal moves, check/mate/draw, material, opening. Give a FEN and/or PGN moves. Validates every move, returns the FEN, side to move, all legal moves (SAN), check/checkmate/stalemate/draw status, material and the opening name. Always free. (free, no payment)

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_position_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
fenNoFEN (optional)
pgnNoPGN or moves like "1. e4 e5 2. Nf3" (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With only readOnlyHint=true provided, the description carries most of the burden and does so well: it discloses that every move is validated, and enumerates what is returned (FEN, side to move, legal moves in SAN, check/checkmate/stalemate/draw status, material, opening name). This is meaningful behavioral detail beyond the annotation. It stops short of noting failure modes, e.g. what happens with an illegal move or malformed FEN.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The functional content is front-loaded and dense, but the description is padded with promotional repetition: 'FREE' in the title-like opener, 'Always free', and the parenthetical '(free, no payment)' add nothing operational. Removing that marketing text would leave a tighter two-sentence definition.

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?

For a two-optional-parameter read-only analysis tool with no output schema, the description covers the return surface thoroughly and explains that moves are validated. The remaining gap is handling of conflicting or absent inputs (both FEN and PGN given, or neither), which matters given nothing is required.

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%, and the schema itself clarifies that fen and pgn are optional and that pgn accepts either full PGN or bare move sequences like '1. e4 e5 2. Nf3'. The description restates this only loosely ('Give a FEN and/or PGN moves') and does not resolve precedence when both are supplied, nor what happens when neither is given — a real ambiguity since zero parameters are required.

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 names a concrete verb+resource: it validates a chess position given FEN and/or PGN and returns legal moves, check/mate/draw status, material and opening name. That is far more specific than a title restatement. It does not, however, distinguish itself from siblings such as chess_opening_lookup or chess_best_move, so an agent could plausibly confuse it with the opening tool since 'opening' is listed as an output.

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?

The only usage direction is 'Give a FEN and/or PGN moves', which is an input instruction rather than when-to-use guidance. There is no statement about when to prefer chess_mate_search, chess_opening_lookup or chess_best_move instead, and no exclusion criteria. An agent must infer the tool's role from its name alone.

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.