Skip to main content
Glama

play_puzzle

Read-only

Open and solve interactive Lichess chess puzzles in Claude Desktop, with move validation and automatic opponent replies; start with the daily puzzle, pick a specific one, or run a rated batch.

Instructions

Open an interactive chess puzzle in Claude Desktop. Drag pieces to solve; the UI validates each move against the Lichess solution and auto-plays the opponent's reply. Default: today's daily puzzle. Use {next:true} for an unseen puzzle, {puzzleId} for a specific one, or {rated:true, nb:N, angle:'mix'} to start a RATED batch session that updates your Lichess puzzle rating when completed.

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

Input Schema

NameRequiredDescriptionDefault
nbNoNumber of puzzles in the rated batch (default: 10, max 50).
nextNoFetch a fresh non-daily puzzle (Lichess /puzzle/next). Used by the iframe's Next button.
angleNoTheme/angle for the batch (default: 'mix'). Only used in rated mode.
colorNoForce playing as a single color (only honored when nb=1).
ratedNoStart a rated batch session. The iframe walks through `nb` puzzles, then submits the results to /puzzle/batch/{angle} so they affect your Lichess rating. Requires the puzzle:write OAuth scope.
puzzleIdNoLichess puzzle id.
difficultyNoDifficulty band relative to the user's current rating (rated mode only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.6/5.0
Behavior2/5

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

The description is genuinely informative about behavior the schema can't express: UI validation against the Lichess solution, auto-played replies, and the puzzle:write OAuth scope requirement. However, it also states that a rated batch 'updates your Lichess puzzle rating when completed' and needs write scope, which conflicts with the supplied readOnlyHint=true annotation — an agent relying on the annotation could misjudge the side effects.

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?

Three sentences, front-loaded with the core action and interaction model, then the default, then the parameter-driven modes. Dense but every clause carries information; the brace-notation shorthand is compact rather than padded.

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 7-parameter tool with no output schema, the description covers the interaction model, default behavior, all mode combinations, and the OAuth prerequisite. It stops short of saying what is returned on completion or how failures/abandoned puzzles are handled, which leaves a small gap.

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 coverage is 100%, so per-parameter meaning is already documented and the baseline would be 3. The description earns more by explaining how parameters combine into distinct modes (rated requires nb + angle; next vs puzzleId vs default daily), which the flat schema does not convey.

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 opens with a specific verb and resource ('Open an interactive chess puzzle in Claude Desktop') and immediately explains the interaction model (drag pieces, UI validates against the Lichess solution, opponent reply auto-plays). This clearly separates it from data-returning siblings like get_daily_puzzle or get_puzzle_by_id, though it never names an alternative explicitly.

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 concrete mode-selection guidance: no args for today's daily, {next:true} for an unseen puzzle, {puzzleId} for a specific one, and {rated:true, nb:N, angle:'mix'} for a rated batch. What's missing is any exclusion guidance — it never says when to prefer get_daily_puzzle / get_next_puzzle / get_puzzle_by_id instead of opening the UI.

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