Skip to main content
Glama

resign_game

Destructive

Resign an active Lichess game only with explicit confirmation; requires the game ID and a confirmed action.

Instructions

Resign an active game only with explicit confirmation.

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_id": "<game_id>",
      "confirm": "<confirm>"
    },
    "name": "resign_game"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesExplicitly confirm this action
game_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the agent knows this is an irreversible mutation. The description reinforces this with the explicit-confirmation requirement, which is useful behavioral context, but it says nothing about the consequences of resigning (game termination, opponent credited with a win, rating effects) or what happens if the game is not active.

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?

A single short sentence with the safety-critical constraint front-loaded and no wasted wording. It is arguably over-terse for a destructive action, but nothing in it is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent terminal action with no output schema and an undocumented game_id parameter, the description should explain the outcome of resigning and any preconditions beyond confirmation (e.g., the game must be in progress and the caller must be a participant). Those gaps make it under-specified relative to the tool's risk profile.

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

Parameters2/5

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

Schema description coverage is only 50%: 'confirm' is documented as a const-true boolean, but 'game_id' has no description and only a regex pattern. The description does not compensate by explaining that game_id is the 8-character alphanumeric identifier of the game to resign, nor how to obtain it, so half the parameters remain semantically thin.

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?

States a specific verb plus resource ('Resign an active game'), and the word 'active' scopes it to in-progress games, which distinguishes it from siblings like get_game_history or record_game_result. It does not name or explicitly contrast with related siblings such as decline_challenge or make_move, so it stops short of full differentiation.

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?

The phrase 'only with explicit confirmation' sets a precondition for use, implying the agent must have user consent before calling. However, there is no guidance on when resigning is the right choice versus alternatives (e.g., continuing play, declining a challenge, or abandoning a game), leaving selection logic to inference.

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