Skip to main content
Glama

lichess_tablebase

Read-only

Returns the legal moves and position outcome for a supplied FEN in the standard, atomic, or antichess tablebase. Use it to analyze a board position; standard queries also accept dtc=never, auxiliary, or always.

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": {
      "variant": "<variant>",
      "fen": "<fen>"
    },
    "name": "lichess_tablebase"
  }
}

Input Schema

NameRequiredDescriptionDefault
dtcNoOptional distance-to-conversion mode for the standard variant; the source does not accept this parameter for atomic or antichess.
fenYesRequired chess position in Forsyth-Edwards Notation.
variantYesRequired supported tablebase variant: standard, atomic, or antichess.

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint=false, so the safety profile is covered. The description adds that dtc applies only to standard queries, but that constraint is already stated in the schema, and it omits genuinely useful behavior such as what happens when a position is absent from the tablebase or whether lookups are rate limited.

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?

Two sentences, front-loaded with the return value before the usage hint and the dtc caveat. Little waste, though the 'Use it to analyze a board position' clause is the weakest part since it adds almost no routing information.

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?

With an output schema present and full parameter documentation, the description only needs to establish scope and variant behavior, which it does. The remaining gap is the absence of any fallback guidance for positions not covered by the tablebase, which matters given an open-world lookup.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes further by enumerating the accepted dtc values ('never, auxiliary, or always'), which the schema leaves unspecified. That is real added meaning beyond the structured fields.

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?

Uses a specific verb and resource: 'Returns the legal moves and position outcome for a supplied FEN', and scopes it to three named tablebase variants. It is unambiguous on its own, but never contrasts itself with the closest sibling (e.g. lichess_cloud_eval), so an agent must infer the boundary.

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?

'Use it to analyze a board position' gives a general context but no when-not conditions and no named alternative for positions outside the tablebase. The variant restriction is implied through the variant list rather than stated as a precondition.

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.