Skip to main content
Glama
chess-com-lichess-org-mcp

chess-com-lichess-org-mcp

by alegerber

Lichess: Export Study Chapter PGN

lichess_export_study_chapter_pgn
Read-only

Export a single chapter from a public Lichess study as PGN using the study and chapter IDs from its URL.

Instructions

Export a single chapter of a public Lichess study as PGN. The chapter ID comes from the chapter's URL (lichess.org/study/{studyId}/{chapterId}).

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": {
      "study_id": "<study_id>",
      "chapter_id": "<chapter_id>"
    },
    "name": "lichess_export_study_chapter_pgn"
  }
}

Input Schema

NameRequiredDescriptionDefault
study_idYesLichess study ID (8 characters)
chapter_idYesStudy chapter ID (8 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the notable constraint that only public studies are exportable and documents the URL provenance of the chapter ID. It stops short of stating what happens on a private study or an invalid chapter (error vs. empty PGN), which is the main remaining behavioral gap.

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?

Two sentences with zero filler; the core action is front-loaded and the second sentence exists solely to resolve how to source the chapter ID, which is genuinely useful information.

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 simple two-parameter read-only export with full schema coverage and no output schema, this is nearly complete: the agent knows what it gets (PGN), for which scope (one public chapter), and how to get the IDs. Only failure modes for private or nonexistent chapters are unaddressed.

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 coverage is 100%, so both parameters already document their 8-character format. The description supplements this by showing the URL pattern lichess.org/study/{studyId}/{chapterId}, which clarifies the relationship between the two IDs, but adds no further constraints or formats. Baseline 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 states a specific verb and resource: 'Export a single chapter of a public Lichess study as PGN.' The word 'single chapter' implicitly distinguishes it from the whole-study sibling lichess_export_study_pgn, but the sibling is not named, so the differentiation requires a small inference.

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 provides a meaningful precondition ('public Lichess study') and explains how to obtain the chapter ID from the URL, which is real usage guidance. However, it never states when to use this instead of the whole-study export or what to do if the study is private, leaving alternatives implied only.

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

Deploy Server

Other Tools