Skip to main content
Glama

Delete a game

delete_game
DestructiveIdempotent

Delete a game for good: the board, cards, log, secrets, seats and keys, and Playtable's record of it. Its link stops working. Only call this when the player asks. It needs the delete_code from the board in the chat where the game was made; you never get that code yourself, so ask the player to paste it. With a wrong code nothing is deleted. This can't be undone.

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>",
      "delete_code": "<delete_code>"
    },
    "name": "delete_game"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_idYes
delete_codeYesStarts with del_. The player copies it from the board.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds substantial context beyond them: the exact scope of destruction, that the game link stops working, that a wrong code results in no deletion, and that the action cannot be undone. It also discloses that the agent cannot obtain the required code itself and must ask the player.

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?

Destructive scope is front-loaded, followed by the usage gate and then the operational detail about delete_code. Every sentence adds a distinct, actionable fact with no repetition.

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 two-parameter, irreversible mutation with no output schema, the definition covers what is destroyed, what the caller must supply, who must supply it, and what happens on failure. Nothing an agent needs in order to call it safely is missing.

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 only 50% (game_id is undocumented), so the description must carry weight, and it does: it explains the provenance of delete_code (the board in the chat where the game was made), that the agent never possesses it, and the consequence of a wrong value. game_id is left implicit, which is the only gap.

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 opens with a specific verb and resource ("Delete a game for good") and then enumerates exactly what is removed: board, cards, log, secrets, seats, keys, and Playtable's record. That enumeration makes it unmistakable against siblings like create_game or get_state.

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 an explicit gate ("Only call this when the player asks") and a concrete precondition: the delete_code must be obtained from the board and pasted by the player. It does not name a fallback or alternative path if the player cannot find the code, which keeps it just short of a 5.

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