Skip to main content
Glama
warapp-mcp

warapp-mcp

by chrischall

Process more finished war.app games at once

warapp_backfill_history
Idempotent

Processes unprocessed finished war.app games, reads each GameFeed history once, stores name-free opponent profiles, map records, and lessons, and reports remaining games so calls can safely continue.

Instructions

Give the end-of-game pass to up to limit (default 10, at most 25) of your finished war.app games not yet processed, newest first: each game's history is read ONCE from GameFeed (never again, whatever comes of it) and kept name-free for the opponent profiles, map records and lessons — what warapp_my_games does two games per call. window widens how many of your newest finished games are considered (default 250, at most 500). Reports what it processed and how many remain; safe to call again until remaining is 0. It also gives map records kept before the winners' income curves were those curves, from the histories already kept (winnerCurves, no request). Writes only this server's state and never writes to war.app. Reads through your signed-in war.app tab (ContextMint Bridge), so it sees exactly what you see — fog included.

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": "warapp_backfill_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoGames to process this call (default 10, max 25).
windowNoHow many of your newest finished games to consider (default 250, max 500).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations it discloses the costly irreversible trait: each history is read ONCE from GameFeed and never again. It also scopes writes ("writes only this server's state and never writes to war.app") and explains the access path (signed-in tab via ContextMint Bridge, fog included). This is consistent with readOnlyHint=false plus idempotentHint=true.

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?

The core action is front-loaded and no sentence is filler. However, one long paragraph packs in the batch behavior, the window, the return contract, the winnerCurves side effect, and the bridge note, making it dense to scan; the winnerCurves clause in particular is buried mid-flow.

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

Completeness4/5

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

With no output schema, the description still names the return shape (what was processed, `remaining`, `winnerCurves`) and covers write scope, idempotency, and auth path, which is substantial for a batch tool. It omits failure/partial-failure behavior and expected cost for a 25-game run, and the winnerCurves sentence ("map records kept before the winners' income curves were those curves") is hard to parse.

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?

Schema coverage is 100% and both parameter descriptions already state defaults and maximums, so the schema does the work. The prose largely restates them ("default 10, at most 25", "default 250, at most 500") and only marginally clarifies that `window` is a consideration window rather than a processing count.

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?

"Give the end-of-game pass to up to `limit` ... of your finished war.app games not yet processed, newest first" states a concrete verb, resource, and ordering. It explicitly contrasts itself with warapp_my_games ("what warapp_my_games does two games per call"), so an agent can separate the batch backfill from the per-call sibling without opening either schema.

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 a clear operating context: safe to call repeatedly until `remaining` is 0, and `window` controls the candidate pool. The comparison to warapp_my_games implies when to pick this tool, but it never states an explicit "use this instead of X when Y" rule or any precondition failure mode.

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