Skip to main content
Glama
chess-com-lichess-org-mcp

chess-com-lichess-org-mcp

by alegerber

Lichess: Endgame Tablebase

lichess_tablebase
Read-only

Look up endgame positions with up to seven pieces to get win/draw/loss, distance-to-zeroing, distance-to-mate, and recommended moves for standard, atomic, and antichess variants.

Instructions

Look up an endgame position (up to 7 pieces) in the Lichess tablebase. Returns the position's result (win/draw/loss), distance-to-zeroing (DTZ) and distance-to-mate (DTM), and the best moves. variant: standard, atomic, or antichess.

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
fenYesFEN of the endgame position to look up
variantYesTablebase variant

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds real value by disclosing the return payload (result, DTZ, DTM, best moves) and the hard 7-piece limit, which is exactly the boundary condition an agent needs; only auth/error behavior is unstated.

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?

Two sentences, front-loaded with the action and scope, then the return values, then the variant enumeration. No filler or redundant phrasing.

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 no output schema, the description correctly compensates by summarizing return fields, and it covers the piece-limit constraint and variant domains for a simple 2-parameter read tool. Only failure modes (invalid FEN, position absent from tablebase) are left unaddressed.

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 schema already documents both `fen` and `variant` including the enum. The description's mention of the three variants restates the enum and the piece cap loosely ties to FEN validity, adding marginal meaning beyond the schema.

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 verb ('Look up') and resource ('endgame position ... in the Lichess tablebase') with an explicit scope constraint of up to 7 pieces. No sibling tool does tablebase lookups, so the agent can confidently route here for endgame analysis.

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 endgame-lookup context is implied clearly, and the variant list hints at the supported domains, but there is no explicit when-to-use/when-not guidance and no named alternative (e.g., engine evaluation via another tool) for positions outside tablebase range.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools