Skip to main content
Glama

lichess_study_pgn

Read-only

Get every chapter of a public Lichess study as PGN by study ID, with the chapter count and optional clocks, comments, variations and orientation tags.

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": {
      "studyId": "<studyId>"
    },
    "name": "lichess_study_pgn"
  }
}

Input Schema

NameRequiredDescriptionDefault
clocksNoOptional; include [%clk] clock comments (source default true).
studyIdYesRequired eight-character Lichess study ID.
commentsNoOptional; include analysis and annotator comments (source default true).
variationsNoOptional; include non-mainline moves (source default true).
orientationNoOptional; add an Orientation tag with each chapter's orientation (source default false).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is partly covered. The description adds useful context beyond annotations by saying it returns every chapter as PGN, includes chapter count, and can include clocks, comments, variations, and orientation tags. It does not mention authentication, rate limits, or error behavior for invalid/private studies.

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?

The description is a single, front-loaded sentence with the core operation first and optional output modifiers second. Every clause adds relevant information, with no repetition or filler.

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

Completeness5/5

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

For a read-only public-study PGN fetch, the description covers the required input, scope ('every chapter'), output format ('as PGN'), optional content toggles, and chapter count. The presence of an output schema means return structure details need not be repeated, and annotations cover the safety profile.

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 the schema already documents each optional flag including source defaults. The description names the same optional features but does not add format, interaction, or edge-case semantics beyond what the schema provides, so the baseline score of 3 is appropriate.

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 uses a specific verb ('Get'), resource ('every chapter of a public Lichess study as PGN'), and scoping input ('by study ID'). The phrase 'every chapter' implicitly distinguishes it from the single-chapter sibling, but it does not explicitly name that alternative.

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?

It gives the important precondition that the study must be public and requires a study ID, which helps an agent decide when the call is applicable. However, it does not explicitly state when to use this versus lichess_study_chapter_pgn or when not to use it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.