Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

lichess_puzzle_batch

Fetch a batch of Lichess puzzles by theme or angle, filtered by difficulty, side to move, and count, to get playable puzzles with source game and player metadata.

Instructions

Get a Lichess puzzle batch by theme. Returns puzzles selected by an open-ended source theme/angle. Difficulty is easiest, easier, normal, harder, or hardest; color is white or black; nb is 1 through 50, default 15. The response may be an array. Each puzzle keeps its source game ID, player names, account IDs and PGN headers.

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": {
      "angle": "<angle>"
    },
    "name": "lichess_puzzle_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
nbNoNumber of puzzles, 1 through 50 (default 15)
angleYesOpen-ended upstream puzzle theme
colorNoOptional side to move
difficultyNoOptional source difficulty

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose useful behavior beyond the schema: the response may be an array and each puzzle retains source game ID, player names, account IDs, and PGN headers. It does not cover auth, rate limits, error behavior, or how large the payload can get at nb=50.

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?

Four short sentences, front-loaded with the action and resource, with no filler. The line "The response may be an array" is slightly hedged wording but earns its place as a shape hint.

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?

For a 4-parameter tool with no output schema, the description does explain what comes back, which is the right coverage. The gap is the required angle parameter: calling it "open-ended" without a single example leaves an agent guessing what values will actually produce results.

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 all four parameters including enums and the default of 15. The description largely restates those bounds; its only addition is characterizing angle as an "open-ended source theme/angle", which still gives no examples of valid values for the required parameter.

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?

States a specific verb and resource: "Get a Lichess puzzle batch by theme", plus it clarifies the batch is selected by an open-ended source theme. The word "batch" implicitly separates it from single-puzzle siblings, but no sibling is named, so differentiation relies on the reader's inference.

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 theme-based, multi-puzzle framing implies when this tool fits, and the presence of nb (1-50, default 15) reinforces batch intent. There is no explicit when-to-use or when-not guidance, and no pointer to lichess_puzzle, lichess_puzzle_many, or lichess_puzzle_next for overlapping cases.

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