Skip to main content
Glama
warapp-mcp

warapp-mcp

by chrischall

Score the income estimates against finished games

warapp_calibration
Read-onlyIdempotent

Scores planned opponent income estimates against end-of-game truth, breaking down ratio errors by format, seats, phase, coverage and source, plus catch-up lag and largest misses.

Instructions

Score the opponent income estimates this server planned with against the truth its finished games kept (the decision log's end-of-game truth): each estimate ÷ the true income, and its signed error in armies, overall and by format, seats, phase (turns 1–4, 5–10, 11+), frontier coverage band, estimate source, thin evidence, the tracker's income method (rise-capped or not; logged since #569), leader vs trailer, and phase by coverage; the catch-up lag after a true income jump of 1.5× or more (turns until the estimate reaches two thirds of the truth; only jumps on a planned turn, the rest counted as unwatched); a consequences proxy (turns that lost a territory the plan did not concede, with an estimate under half the truth vs without); the largest misses; each pipeline stage's figure ÷ the truth (visible, observed, tracked, prior, stated, blend, thin, known; logged since #568); for each estimate under two thirds of the truth, the tracker step that held it (rise cap, tripwire, window, could-earn ceiling, ambiguous armies, readings, a later stage, or no track; logged since #586); and what correcting the tracked figure by its coverage band would have read at dampings 0 to 1 (leave one game out). samples: true adds the scored rows (at most 2000), name-free, as a fixture set; harness: true adds the #318 harness over the cached boards (tracker, fog prior and plan estimate by coverage band, and the opening benchmark): it runs in the background, since it can take most of an hour on many games, so the first call starts it and later calls say running (games done of total) until it is done; the result is kept, so a later call returns it at once (rerun: true starts a fresh run). Games are numbered by their place in the report, never by id, and no player is named. Makes no war.app request; writes only the harness result, in this server's own data. Read-only.

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_calibration"
  }
}

Input Schema

NameRequiredDescriptionDefault
rerunNoWith `harness`, start a fresh harness run over a kept result (default false).
formatNoOnly games of this format.
harnessNoAlso the #318 harness over the cached boards and the opening benchmark (default false): started in the background on the first call; call again until its status is `done`.
samplesNoAlso return the scored rows, name-free (default false; at most 2000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.30.1
    • changedInput schema / properties / harness / description
      Previous value: -"Also run the #318 harness over the cached boards and the opening benchmark (default false)."New value: +"Also the #318 harness over the cached boards and the opening benchmark (default false): started in the background on the first call; call again until its status is `done`."
    • addedInput schema / properties / rerun
      Added value: +{
      +  "description": "With `harness`, start a fresh harness run over a kept result (default false).",
      +  "type": "boolean"
      +}
  2. Addedv0.18.0

TDQS

A3.6/5.0
Behavior4/5

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

Well beyond the annotations, it discloses that the harness runs in the background, can take most of an hour, returns `running` (games done of total) on later calls, keeps the result, and requires `rerun` to repeat — high-value operational context. It also states explicitly that it makes no war.app request, though saying 'writes only the harness result… Read-only' is in slight tension with readOnlyHint and could confuse an agent about side effects.

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

Conciseness2/5

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

It is a single ~350-word paragraph built from semicolon-chained metric enumerations, with no breaks or grouping. The core purpose is front-loaded, but the exhaustive list of internal metrics (pipeline stages, tracker steps, damping sweeps, log issue numbers) does not help an agent decide to call the tool and makes the operational details about `harness` hard to find.

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?

For a complex, zero-required-parameter analytics tool with no output schema, the description is thorough about what is computed and returned, including the background job lifecycle and the row cap. It is arguably over-specified on internal metrics while light on what the top-level response shape actually looks like, but nothing an agent needs to call it correctly 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 100%, so the baseline is 3, and the description adds real meaning on top: what `samples` returns (name-free fixture rows, at most 2000), how `harness` behaves across calls and why `rerun` exists, and that `format` restricts to one game type. This clarifies the interaction between `harness` and `rerun` that the schema alone leaves implicit.

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?

The description names a specific verb and resource: it scores the server's planned opponent income estimates against the end-of-game truth and reports ratio and signed error. It is clearly an analytics/calibration tool, distinguishable from the game-management siblings, but the purpose is buried under a long chain of metric names rather than stated in one crisp sentence.

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?

Usage is implied rather than stated: only finished games have the 'end-of-game truth' to compare against, and the flags are explained (`samples` adds rows, `harness` runs the #318 harness). There is no explicit when-to-use/when-not-to-use framing, no mention of prerequisites, and no named alternative for related analysis.

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