Skip to main content
Glama

get_puzzle_batch

Read-only

Retrieve a batch of Lichess puzzles by theme, difficulty, and color for offline solving.

Instructions

Get a batch of puzzles for offline solving

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

Input Schema

NameRequiredDescriptionDefault
nbNoNumber of puzzles (max 500)
angleYesPuzzle theme/angle (use 'mix' for mixed)
colorNoColor to play
difficultyNoDifficulty level

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds that the tool returns a batch for offline solving, which is useful context, but it does not disclose batch size defaults, ordering, or any rate or auth constraints beyond what the schema states.

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 description is a single front-loaded sentence with no wasted words. It is efficient, though its brevity leaves useful behavioral details unstated.

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 four-parameter read-only retrieval tool with full schema coverage and no output schema, the description is minimally adequate. It omits what a returned puzzle contains and how batches are ordered or defaulted, which would help an agent invoke it confidently.

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 input schema already documents the four parameters, including the required angle and max nb. The description adds only the notion of a 'batch,' which aligns with nb but does not add syntax or format meaning beyond the schema.

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 gives a specific verb and resource: 'Get a batch of puzzles,' and adds a qualifier ('for offline solving') that clarifies the batch-oriented purpose. It does not explicitly distinguish this tool from siblings like get_next_puzzle or get_daily_puzzle, so it falls short of a 5.

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 phrase 'for offline solving' implies when to use the tool: when you need multiple puzzles in bulk rather than a single next or daily puzzle. However, it gives no explicit when-not conditions and does not name alternatives such as solve_puzzle_batch or get_next_puzzle.

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