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

chess-com-lichess-org-mcp

by alegerber

Lichess: Opening Explorer

lichess_opening_explorer
Read-only

Query a chess position across master, Lichess, or player opening databases to retrieve opening names, win/draw/loss totals, and common next moves.

Instructions

Look up a position in the Lichess Opening Explorer. db=masters (OTB master games), lichess (Lichess games, filterable by speeds/ratings), or player (a specific user's games — requires player and color). Returns the opening name, win/draw/loss totals, and the most common next moves.

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": {
      "db": "<db>",
      "fen": "<fen>"
    },
    "name": "lichess_opening_explorer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbYesWhich database to query
fenYesFEN of the position to look up
playNoComma-separated UCI moves from the FEN (alternative drill-down)
colorNoSide the player had — used with db=player
movesNoNumber of next moves to return (default upstream)
playerNoUsername — required when db=player
speedsNoComma-separated speeds for lichess/player db (e.g. blitz,rapid)
ratingsNoComma-separated rating bands for the lichess db (e.g. 2000,2200)
variantNoVariant for the lichess/player db (e.g. standard, chess960)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, lowering the bar. The description adds useful context beyond that: which filters apply to which database and what the response contains (opening name, win/draw/loss totals, common next moves). It does not address error behavior, rate limits, or what happens with an invalid FEN, but the essential contract is disclosed.

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 tight sentences with the core action front-loaded, followed by the database choices and the return shape. Every clause carries information an agent needs; nothing is padded or redundant.

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 9-parameter, no-output-schema tool, the description covers the required inputs, the three query modes, filter applicability, and the returned fields. It omits the play drill-down, variant, and moves parameters, but those are well described in the schema, so the gap is minor.

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 description coverage is 100%, so the baseline is 3. The description still adds meaning by mapping each db enum to a real-world data source and clarifying that speeds/ratings are only relevant for lichess/player databases and that player+color are coupled. It does not explain play, variant, or moves, which remain schema-only.

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 specific verb and resource ('Look up a position in the Lichess Opening Explorer') and enumerates the three database modes, so an agent can tell this is an opening-statistics lookup rather than a game export or eval tool. It stops short of explicitly contrasting itself with any sibling, but no sibling covers opening exploration.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear conditions for choosing each db value (masters for OTB, lichess for Lichess games with speed/rating filters, player for a specific user), including the prerequisite that db=player requires player and color. There is no explicit when-not-to-use guidance, and it doesn't mention the play-based drill-down alternative.

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