Skip to main content
Glama

get_next_puzzle

Read-only

Fetch the next Lichess puzzle for the authenticated user, optionally filtered by theme, color to play, and difficulty.

Instructions

Get the next puzzle for the authenticated user

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

Input Schema

NameRequiredDescriptionDefault
angleNoPuzzle theme/angle
colorNoColor to play
difficultyNoDifficulty level

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

B3.3/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes the safe-read profile, and the description adds the authenticated-user prerequisite. However, it does not explain how 'next' is selected (queue, adaptive, filtered by the optional parameters) or what happens when no puzzle matches.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler. Every phrase earns its place by stating the action, the resource, and the user scope.

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 read-only tool with fully described optional parameters and no output schema, this is minimally adequate. It omits return shape and selection behavior, which would help an agent understand what 'next' actually yields.

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%, with descriptions for all three optional filters (angle, color, difficulty). The description adds no parameter meaning beyond the schema, so the baseline score of 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?

States a specific verb and resource ('Get the next puzzle') and scopes it to the authenticated user. This implicitly distinguishes it from puzzle-by-id or daily-puzzle siblings, but it does not explicitly name or contrast those alternatives.

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?

There is no explicit when-to-use or when-not guidance. The word 'next' hints at continuing play, but the description never tells the agent why to choose this over get_daily_puzzle or get_puzzle_by_id.

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