Skip to main content
Glama

lichess_study_chapter_pgn

Read-only

Get one chapter of a public Lichess study as PGN by study ID and chapter ID, with 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>",
      "chapterId": "<chapterId>"
    },
    "name": "lichess_study_chapter_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).
chapterIdYesRequired eight-character chapter ID within the study.
variationsNoOptional; include non-mainline moves (source default true).
orientationNoOptional; add an Orientation tag with the chapter 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.8/5.0
Behavior3/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 safety and network behavior are covered. The description adds that only public studies are accessible and enumerates the optional PGN enrichments, but says nothing about failure modes for mistyped or private IDs.

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?

It is a single front-loaded sentence with no filler, naming the resource and the optional enrichments in one pass. Slightly dense, but nothing is wasted and the key scope constraint ('public', 'one chapter') comes first.

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?

With an output schema present, return values need no explanation, and all six parameters are documented in the schema. For a read-only retrieval tool the description plus annotations cover what an agent needs, with only error/public-study preconditions left unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameter documentation is already complete, and the description accurately summarizes the optional flags (clocks, comments, variations, orientation) as PGN enrichment toggles rather than restating schema text. The description also signals that both studyId and chapterId are required identifiers, which matches 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 states a specific verb and resource: 'Get one chapter of a public Lichess study as PGN,' and scopes it by study ID and chapter ID. It is clearly narrower than a whole-study PGN export, though it never names the sibling tool it differs from, so the differentiation is implied rather than explicit.

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?

Usage is only implied: an agent can infer this is for retrieving a single chapter rather than an entire study, but there is no explicit when-to-use/when-not guidance, no mention of prerequisites such as the study being public, and no named alternative for whole-study retrieval.

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.