Skip to main content
Glama

ChessIntel

Search games

search_games
Read-only

Search elite over-the-board chess games (Lichess broadcasts, FIDE-identified players) with one structured query. Everything combines with AND: player/opponent/colour, result, rating, event, opening (ECO or name), time control, dates, game length; precomputed THEMES and MOTIFS (IQP, hanging pawns, minority attack, knight outposts, forks, pins, sacrifices, comebacks, time scrambles — call list_themes); registered PATTERNS (move sequences); not clauses to exclude anything; and board predicates checked move by move (partial positions, piece manoeuvres, king attacks, material imbalances like the exchange for a pawn); and sequence to compose your own 'A, then B' over themes, events and board predicates when no registered pattern fits. YOU translate the user's words into this query; if a concept has no field, say so rather than guessing. Do not pick a colour the user did not name: a material imbalance or a theme with no side given is for:'any' / side:'any'. A player name is bound to one person by FIDE id — read notes in the response to see who, and tell the user if the name was ambiguous. Each hit carries the moment to look at (focus: ply, SAN, FEN) and marks for every matched event. With a board predicate the total may be an estimate (total_exact false) — pass cursor to continue. Set stats=true for score, results, opponents' rating and the most-played openings of the result set.

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": {
      "q": "<q>"
    },
    "name": "search_games"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesThe structured query: every condition combines with AND (see the tool description)
limitNoMax hits (default 25, max 100)
statsNoAlso return score, results, opponents' rating and top openings for the whole result set
cursorNoFrom a previous response: continue

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover read-only and closed-world, so the description carries real weight here and delivers: player names are bound to a FIDE id and the response `notes` reveals ambiguity, each hit carries `focus` (ply, SAN, FEN) and `marks`, board-predicate totals may be estimates with `total_exact` false, and `cursor` continues pagination. These are non-obvious behaviors an agent could not infer from annotations.

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?

Front-loaded with the resource and query model, then flows into themes, patterns, board predicates, sequence, and response behavior. Every sentence carries information, but the semicolon-chained enumeration of features makes it a dense wall of text that would read better as short grouped sentences.

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 tool with a deeply nested query object, no output schema, and four top-level parameters, this covers construction rules, the ambiguity failure mode, the estimate/pagination caveat, and the stats option. An agent has enough to build a correct query and to interpret the response without further guessing.

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 genuine semantic value on top: the AND-combination rule, the `not` clause semantics, the `sequence` composition with its within/same_side constraints, and the repeated warning that board predicates must use for:'any' unless a side was named. It reinforces rather than merely repeats the schema.

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 ('Search elite over-the-board chess games') and immediately narrows the corpus (Lichess broadcasts, FIDE-identified players) with 'one structured query'. It also names the sibling list_themes as the place to go for theme keys, so the agent can distinguish it from adjacent tools without opening a schema.

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

Usage Guidelines4/5

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

Gives explicit operating instructions: translate the user's words into the query, say so when a concept has no field rather than guessing, and default to 'any' when the user did not name a side. It also routes theme discovery to list_themes. It stops short of saying when to prefer this over siblings like explore_openings or player_dossier, so the alternative-selection guidance is incomplete.

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