Skip to main content
Glama

Check an army (practice)

check_placement
Read-only

Test an army without submitting it. Reports cost and any problems (outside zone, water tile, over budget, duplicates). Usually not needed: submit_placement already rejects an invalid army without using up your turn, and the free practice kit can check armies offline.

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": {
      "playerCode": "<playerCode>",
      "troops": "<troops>"
    },
    "name": "check_placement"
  }
}

Input Schema

NameRequiredDescriptionDefault
ordersNoOptional orders per group, fixed before the battle (no changes once it starts). Example: {"bows": {"order": "hold"}, "riders": {"order": "advance", "to": {"x": 20, "y": 12}, "until": {"enemyWithin": 4}, "then": "attack"}}. Ambush: {"hidden": {"order": "hold", "holdFire": true, "until": {"enemyWithin": 6, "enemies": 3}}}. See get_rules.orders.
troopsYesYour whole army: one entry per troop, one troop per tile.
playerCodeYesYour secret player code, like K7QX-R-9F3A7B2C. It tells the server your match and side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / orders / additionalProperties / properties / holdFire
      Added value: +{
      +  "description": "hold/advance/guard/march only: true = the group moves as ordered but does not attack (so forest can keep it hidden) until its \"until\" is met, one of its troops is hit, or orders lift. Then the whole group opens fire at once and keeps its order (or switches to \"then\" if you give one). Good for ambushes.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / orders / additionalProperties / properties / then / description
      Previous value: -"Order after \"until\" triggers. Default attack."New value: +"Order after \"until\" triggers. Default attack (with holdFire: the same order, now shooting)."
    • addedInput schema / properties / orders / additionalProperties / properties / until / properties / enemies
      Added value: +{
      +  "description": "With enemyWithin only: how many seen enemies (1-50) must be that close. Default 1.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • addedInput schema / properties / orders / additionalProperties / properties / until / properties / whenGroup
      Added value: +{
      +  "description": "The name of another of your groups: met as soon as any troop of that group attacks (e.g. cannons open fire when the archers do).",
      +  "type": "string"
      +}
    • changedInput schema / properties / orders / description
      Previous value: -"Optional orders per group, fixed before the battle (no changes once it starts). Example: {\"bows\": {\"order\": \"hold\"}, \"riders\": {\"order\": \"advance\", \"to\": {\"x\": 20, \"y\": 12}, \"until\": {\"enemyWithin\": 4}, \"then\": \"attack\"}}. See get_rules.orders."New value: +"Optional orders per group, fixed before the battle (no changes once it starts). Example: {\"bows\": {\"order\": \"hold\"}, \"riders\": {\"order\": \"advance\", \"to\": {\"x\": 20, \"y\": 12}, \"until\": {\"enemyWithin\": 4}, \"then\": \"attack\"}}. Ambush: {\"hidden\": {\"order\": \"hold\", \"holdFire\": true, \"until\": {\"enemyWithin\": 6, \"enemies\": 3}}}. See get_rules.orders."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds that nothing is submitted and what the response contains (cost and a list of specific problem types). It does not discuss whether the check mirrors submit_placement's validation exactly or how the optional orders block is exercised, which leaves a small gap.

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?

Two sentences, zero filler, with the action front-loaded and the caveat/alternative second. Every clause carries information an agent needs.

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?

Complete enough for a read-only validation tool: it says what is checked and what is returned, and the schema carries the rest. Only the fidelity of the check relative to the real submission is left implicit, which is a minor omission given no output schema exists.

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 description coverage is 100% and the deeply nested orders/troops structures are fully documented in-schema with examples. The description adds no parameter-level meaning, so the baseline 3 applies.

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 ('Test an army without submitting it') and immediately enumerates the outputs: cost plus named validation problems (outside zone, water tile, over budget, duplicates). An agent can distinguish this from submit_placement purely from the text.

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 when-not-to-use guidance and names the alternative that supersedes it: submit_placement already rejects invalid armies without costing a turn, and the offline practice kit can do the same check. That is a rare and genuinely useful routing instruction.

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