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

chess-com-lichess-org-mcp

by alegerber

Lichess: Get User Games

lichess_get_user_games
Read-only

Fetch recent Lichess games for a username, filtered by color, rated status, date range, perf type, and output format for analysis or PGN export.

Instructions

Get recent games of a Lichess user. Returns up to the specified max number of games with optional filters.

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": {
      "username": "<username>"
    },
    "name": "lichess_get_user_games"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNoMaximum number of games to return (1-30, default 10)
colorNoFilter by color played
ratedNoFilter by rated/unrated games
sinceNoOnly games played at or after this time (Unix ms)
untilNoOnly games played at or before this time (Unix ms)
formatNoOutput format: 'json' (default) or 'pgn' for raw PGN ready for engine analysis
openingNoInclude opening information (default true)
perfTypeNoFilter by perf type (e.g. bullet, blitz, rapid, classical)
usernameYesLichess username

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

B3.2/5.0
Behavior3/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 and external-service profile is carried by structured data. The description adds the useful behavioral detail that results are "recent" and bounded by max with optional filters, implying no pagination/offset, but it does not state whether auth or a token is needed or what the response looks like.

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 short sentences with the core purpose front-loaded and zero filler. The second sentence is slightly redundant with the first and with the schema, but it is not wasteful.

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

Completeness3/5

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

With nine parameters, no output schema, and a format switch (json vs. pgn), the definition is thin: it never explains what a returned game object contains or that PGN output is raw text. The complete schema compensates enough that an agent can still call it correctly, but the description leaves real gaps for a tool of this complexity.

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%, and every parameter (including enums for color and format) is documented inline, so the schema does the heavy lifting. The description mentions only "max number of games" and "optional filters" generically, adding no semantics beyond what the schema already provides; baseline 3 applies.

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?

"Get recent games of a Lichess user" names a specific verb and resource and scopes it to a single user, which distinguishes it in practice from single-game and tournament/broadcast siblings. It stops short of naming any sibling explicitly, so the differentiation is inferred rather than stated.

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 description gives no when-to-use or when-not-to-use guidance and points to no alternative, even though the sibling list contains several plausible substitutes (lichess_export_games_by_ids, lichess_get_game, lichess_get_tournament_games). An agent must infer suitability from the name and the "recent games" scope alone.

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