Skip to main content
Glama
warapp-mcp

warapp-mcp

by chrischall

Vote to end a war.app game

warapp_vote_to_end
Destructive

Cast or withdraw your vote to end a Warzone game; once every remaining player votes, the game ends with no winner. Preview shows who voted and who has not.

Instructions

Vote to end a war.app (Warzone) game as the signed-in account (the client's Vote to End), or take your vote back (withdraw: true). Once every player still playing has voted, the game ends by vote at once with no winner (every seat EndedByVote) and cannot be resumed. The plan reads the current votes from the game details and refuses a vote you already cast, a vote to take back you never cast, unreadable details, finished games and games you are not playing; war.app refuses it in tournament games. The preview lists who voted and who has not (by GameFeed and in-game id) and whether yours is the last vote. The outcome is read back from the details and GameFeed (voted, withdrawn, ended; unconfirmed, unknown). The encoding is read from the client bundle, UNVERIFIED live. Works without a browser once a session is linked (warapp_link_session). 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_vote_to_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
game_idYesThe war.app game id — the number after GameID= in the game URL (war.app/MultiPlayer?GameID=<n>).
withdrawNoTake back your vote to end the game instead of casting it (default false).
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.22.1

TDQS

A4.5/5.0
Behavior5/5

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

Far exceeds the annotations: discloses the irreversible outcome (every seat EndedByVote, cannot be resumed), the preview contents, the read-back verification and its uncertainty states ('unconfirmed', 'unknown'), that the encoding is UNVERIFIED live, that no browser is needed once a session is linked, and an explicit injection-resistance rule about confirmToken. The annotations already mark it destructive, so this is substantial additional context rather than repetition.

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?

The action and the inverse mode are front-loaded, and nearly every sentence carries unique information, but the whole definition is one dense unbroken block mixing preconditions, outcome verification, encoding caveats and confirmation mechanics. Some internal shorthand (MCP_CONFIRM_MODE, GameFeed) and the unverified-encoding caveat crowd out the core instruction.

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 destructive, non-idempotent mutation with no output schema, the description covers preconditions, side effects, preview contents, returned outcome fields and the confirmation protocol. An agent has everything needed to decide whether to call it and how to sequence the call.

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 schema already documents all three parameters and the baseline is 3. The description still adds operational meaning: it explains that confirmToken originates from this tool's own phase-1 'confirmation-required' response and that a repeat call is required, and it ties withdraw to the vote-to-end action rather than a generic boolean.

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 ('Vote to end a war.app (Warzone) game') plus the inverse mode ('take your vote back (`withdraw: true`)'), so the two behaviors of the single tool are unambiguous. It also frames the effect (game ends with no winner) which distinguishes it from neighbors in the catalog that mutate a game.

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 concrete when/when-not conditions: refuses a duplicate vote, a withdraw you never cast, unreadable details, finished games, games you are not playing, and war.app rejects it in tournament games. It does not name an alternative sibling (e.g. accept_surrender) for the common case of ending a game by concession, leaving that inference to the agent.

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