Skip to main content
Glama
warapp-mcp

warapp-mcp

by chrischall

Close out a finished war.app game

warapp_close_finished_game
Idempotent

Close out a finished war.app game so it stops appearing in My Games by marking your Victory/Defeat window as seen, without affecting other players or game state.

Instructions

Close out a finished war.app (Warzone) game of yours so the app's My Games stops listing it — what viewing its Victory / Defeat window does: war.app's GetEndGameWindowData, which marks your seat SeenEndGameWindow (the app's My Games lists a finished game only while that is clear). Reaches no other player and changes nothing in the game. Refuses a game not finished, one you did not play, and one already closed out. Reported closed only once your games list shows it seen; unconfirmed otherwise, unknown when war.app did not answer (never resend blindly). Verified live: closing a finished game was confirmed by the games-list read-back. Reads through your signed-in war.app tab (ContextMint Bridge), so it sees exactly what you see — fog included. Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).

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

Input Schema

NameRequiredDescriptionDefault
game_idYesThe war.app game id — the number after GameID= in the game URL (war.app/MultiPlayer?GameID=<n>).
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.18.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare non-destructive, idempotent, open-world, non-read-only. The description adds real value beyond them: 'Reaches no other player and changes nothing in the game', the closed/unconfirmed/unknown outcome semantics, and the warning 'never resend blindly' on unknown. It does not contradict idempotentHint — refusing an already-closed game is still no-op. Minor gap: it never says what the tool does if the signed-in tab session has expired.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the sentence order is logical, but the body is dense and parenthetical-heavy, and details like the internal GetEndGameWindowData name and 'Verified live: closing a finished game was confirmed by the games-list read-back' are meta commentary that does not help the agent call it.

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?

No output schema exists, and the description compensates by explaining the three possible reported states (closed, unconfirmed, unknown) and the retry implication of each. Combined with refusal cases and the confirmation/token workflow, an agent has everything needed to invoke it safely.

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

Parameters3/5

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

With 100% schema coverage, both game_id and confirmToken are already fully documented in the schema, including the 'never on the first call' rule. The description's confirmation-flow sentence largely restates that, adding only the MCP_CONFIRM_MODE reference — so baseline 3 is right.

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, resource and user-visible effect: 'Close out a finished war.app game of yours so the app's My Games stops listing it.' The parenthetical about it being the equivalent of viewing the Victory/Defeat window distinguishes it from sibling mutations like warapp_leave_game or warapp_accept_surrender.

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?

Gives explicit preconditions and exclusions: 'Refuses a game not finished, one you did not play, and one already closed out.' It also names the confirmation path and the MCP_CONFIRM_MODE fallback, leaving little for the agent to infer.

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

Deploy Server

Other Tools