Skip to main content
Glama

ChessIntel

Export PGN (view)

export_pgn
Read-only

Export up to 100 games as one PGN text (games in the order given, separated by blank lines; ids past the cap are ignored, unknown ids skipped). Returns {games: count, pgn}. App-only: backs the board view's download button; the model should use get_game.

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": {
      "game_ids": "<game_ids>"
    },
    "name": "export_pgn"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_idsYesgame_id values from search_games hits

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses the 100-game cap, that order is preserved, that output games are blank-line separated, that ids past the cap are ignored, and that unknown ids are skipped. It also gives the response shape {games: count, pgn}, though it lacks a note on how failures are surfaced when all ids are unknown.

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 core action and cap open the sentence; ordering and skip rules are packed into a compact parenthetical; the return shape and the app-only warning close it. No sentence is redundant and nothing is buried.

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 single-parameter read tool with no output schema, the definition covers scope, ordering, edge-case handling, return shape, and a hard stop against model use. An agent has everything needed to decide not to call it, and to call it correctly if serving the app view.

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 the baseline is 3, but the description adds real array-level semantics the schema lacks: input order is preserved in the output, only the first 100 entries count, and unresolvable ids are silently dropped. It does not restate the id-source hint, but it goes well past the structured field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Export ... games as one PGN text') with the exact scope cap of 100 games. It also names the sibling it is not for ('the model should use get_game'), so an agent can distinguish it from get_game without inspecting either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly declares when not to use it ('App-only: backs the board view's download button') and routes the agent to the correct alternative ('the model should use get_game'). Both the exclusion and the replacement are stated outright, leaving nothing to inference.

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.

Resources