Skip to main content
Glama

lichess_opening_masters

Read-only

Get masters-database opening statistics for a position: white/draw/black totals, the most common next moves, opening name and top games. fen is an optional X-FEN root (default standard start) and play adds comma-separated UCI moves (for example e2e4,e7e5); since/until (YYYY or YYYY-MM), moves (0 through 256, default 12) and topGames (0 through 15, default 15) bound the result. Use lichess_cloud_eval for an engine evaluation of the same position.

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": "lichess_opening_masters"
  }
}

Input Schema

NameRequiredDescriptionDefault
fenNoOptional X-FEN root position; the source default is the standard starting position.
playNoOptional comma-separated UCI moves played from fen, for example e2e4,e7e5.
movesNoOptional number of most common moves, 0 through 256; source default 12.
sinceNoOptional earliest month YYYY-MM or year YYYY; source default 1952-01.
untilNoOptional latest month YYYY-MM or year YYYY; source default 3000-12.
topGamesNoOptional number of top games, 0 through 15; source default 15.

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

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real context beyond them: the optional root position, the move-append semantics, the numeric bounds, and the source defaults (12 moves, 15 top games) that the schema only partially restates. Rate limits and authentication expectations are not mentioned, which keeps it below a 5.

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?

The purpose is front-loaded in the first clause, and the remaining clauses pack parameter meaning efficiently with no filler. The semicolon-chained sentence is dense but still scannable; a small structural improvement would be splitting the parameter notes out, but nothing is wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain return values, yet it still names the headline fields. All six parameters are accounted for, the sibling alternative is identified, and defaults and bounds are stated, so an agent has everything needed to call this correctly.

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%, so all six parameters are already documented with types, ranges, and defaults. The description largely mirrors that information, adding only a concrete example ('e2e4,e7e5') and a compact summary of the accepted date formats. Baseline 3 is appropriate when the schema carries the detail.

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?

The description opens with a specific verb and resource ('Get masters-database opening statistics for a position') and then enumerates exactly what comes back: white/draw/black totals, most common next moves, opening name, and top games. That is enough for an agent to distinguish it from evaluation, crosstable, or game-retrieval siblings without opening a schema.

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 explicitly routes the agent elsewhere for a related but different need: 'Use lichess_cloud_eval for an engine evaluation of the same position.' It also implies usage context through the default starting position and the move-append mechanism. It stops short of a full when/when-not statement for the other statistical siblings, so a 4 rather than a 5.

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.