Skip to main content
Glama

ChessIntel

Opening explorer

explore_openings
Read-only

The opening tree over any set of games: after the moves in q.line (UCI, e.g. ['e2e4','c7c5']) or from the position q.fen, which moves were played, how often, and how they scored — from the named player's side if q.player is set. q takes every search_games filter (player, colour, rating, event, themes...), so 'what does Carlsen play with Black against 1.e4' is q={player:'Carlsen', player_color:'black', line:['e2e4']}. A line counts every move order reaching the same position (transpositions); q.transpositions=false keeps the exact order.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "explore_openings"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNosearch_games query plus `line` (omit for the whole corpus from the starting position)
limitNoMax next moves to return (default 20, max 100)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the read-only annotation, the description discloses important behavioral semantics: results are aggregated by next move, scoring is included, player-side filtering is supported, and transpositions are counted by default unless q.transpositions=false. These are essential traits an agent would not infer from the annotations or minimal schema alone.

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 compact but information-dense, front-loading the core purpose before explaining scoping, filters, an example, and transposition behavior. Every sentence contributes useful operational context without redundancy.

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?

Given a nested q object, two parameters, no output schema, and read-only annotations, the description provides enough detail to invoke the tool correctly. It explains the result content, defers filter enumeration to search_games, and covers the key transposition behavior, so no critical invocation detail is missing.

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?

Although schema coverage is already high, the description adds substantial meaning beyond the schema: q.line uses UCI moves, q.fen sets the starting position, q.player restricts to a named player's side, and q inherits every search_games filter. The concrete query example and transposition parameter detail further clarify how to compose q correctly.

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?

The description states a specific resource and operation: an opening tree showing which moves were played, how often, and how they scored over a set of games. It distinguishes itself from search_games by describing aggregation across games rather than game listing, and the q.line/q.fen scope makes the tool's identity clear.

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?

It gives clear usage context: explore from a move sequence in q.line or from a position in q.fen, optionally restricted to a player's side. The Carlsen example makes the intended query pattern concrete. It does not explicitly state when to prefer a sibling tool such as search_games over this one, so it falls short of full alternatives guidance.

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