Skip to main content
Glama

Compare two rosters in combat

compare_rosters
Read-onlyIdempotent

Runs every unit of one roster, with its attached units, against every unit of another in Praetorium's exact combat simulator, as the simulator's whole-roster table does: one call instead of a simulate_combat call per pairing. attackers and defenders list the units in roster order, entries giving their 1-based roster entries as check_roster numbers them. Each phase's cells[attacker][defender] holds the measures in the order measures names, or null when that pairing could not be calculated; notCalculated groups those by phase and reason. bestTargetOf[attacker] lists the defenders that attacker does most to, and bestAttackerOf[defender] the attackers that do most to that defender, by rankBy; each is judged alone, ignores pairings it could not calculate, and is empty while any pairing in its row or column is unfinished or nothing does damage. Units start at full strength in default conditions: passive rules apply, while stratagems, conditional rules, cover and range bonuses stay off, and each weapon choice takes the option that does most against that target. A partial status means the table stopped early, as stoppedBy says; its finished pairings stand. Two 2,000-point lists take a second or two, and the table stops after 30 seconds. Drill into one pairing with simulate_combat to choose rules, modifiers or losses.

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": {
      "attacker": "<attacker>",
      "defender": "<defender>"
    },
    "name": "compare_rosters"
  }
}

Input Schema

NameRequiredDescriptionDefault
phasesNoPhases to return; defaults to all three.
rankByNoThe measure best targets and best attackers are ranked by.expectedWoundsLost
attackerYesThe attacking roster, in the shape save_roster and check_roster take.
defenderYesThe defending roster, in the same shape.
measuresNoNumbers each pairing holds, in this order; defaults to all three.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / attacker / properties / picks / items / properties / entryId / maxLength
      Previous value: -64New value: +256
    • changedInput schema / properties / defender / properties / picks / items / properties / entryId / maxLength
      Previous value: -64New value: +256
  2. Changed2 schema fields changed
    • addedInput schema / properties / attacker / properties / picks / items / properties / rulesVersion
      Added value: +{
      +  "description": "The earlier rules version this unit was saved in before its list moved to another; keep it as read, never set it.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / defender / properties / picks / items / properties / rulesVersion
      Added value: +{
      +  "description": "The earlier rules version this unit was saved in before its list moved to another; keep it as read, never set it.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / attacker / properties / waivedRules / items / enum
      Previous value: -[
      -  "points-limit",
      -  "detachments",
      -  "detachment-points",
      -  "warlord",
      -  "kotc-infantry",
      -  "kotc-warlord",
      -  "kotc-epic-heroes",
      -  "kotc-toughness",
      -  "kotc-datasheet-copies"
      -]New value: +[
      +  "points-limit",
      +  "detachments",
      +  "detachment-points",
      +  "warlord",
      +  "kotc-infantry",
      +  "kotc-warlord",
      +  "kotc-enhancements",
      +  "kotc-epic-heroes",
      +  "kotc-toughness",
      +  "kotc-datasheet-copies"
      +]
    • changedInput schema / properties / attacker / properties / waivedRules / maxItems
      Previous value: -9New value: +10
    • changedInput schema / properties / defender / properties / waivedRules / items / enum
      Previous value: -[
      -  "points-limit",
      -  "detachments",
      -  "detachment-points",
      -  "warlord",
      -  "kotc-infantry",
      -  "kotc-warlord",
      -  "kotc-epic-heroes",
      -  "kotc-toughness",
      -  "kotc-datasheet-copies"
      -]New value: +[
      +  "points-limit",
      +  "detachments",
      +  "detachment-points",
      +  "warlord",
      +  "kotc-infantry",
      +  "kotc-warlord",
      +  "kotc-enhancements",
      +  "kotc-epic-heroes",
      +  "kotc-toughness",
      +  "kotc-datasheet-copies"
      +]
    • changedInput schema / properties / defender / properties / waivedRules / maxItems
      Previous value: -9New value: +10
  4. Changed2 schema fields changed
    • changedInput schema / properties / attacker / properties / picks / items / properties / vs / description
      Previous value: -"Reserved: not read yet. Leave it as read and never set it."New value: +"The unit by VS Data IDs, for a datasheet get_unit_options returns with vs: it stands for models, choices, spreads and toggles, so a pick with it leaves those out. Keep it as read, or set it from get_unit_options."
    • changedInput schema / properties / defender / properties / picks / items / properties / vs / description
      Previous value: -"Reserved: not read yet. Leave it as read and never set it."New value: +"The unit by VS Data IDs, for a datasheet get_unit_options returns with vs: it stands for models, choices, spreads and toggles, so a pick with it leaves those out. Keep it as read, or set it from get_unit_options."
  5. Changed2 schema fields changed
    • addedInput schema / properties / attacker / properties / picks / items / properties / vs
      Added value: +{
      +  "description": "Reserved: not read yet. Leave it as read and never set it.",
      +  "properties": {
      +    "allegiance": {
      +      "maxLength": 256,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "enhancement": {
      +      "maxLength": 256,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "models": {
      +      "additionalProperties": {
      +        "maximum": 60,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "propertyNames": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "options": {
      +      "additionalProperties": {
      +        "additionalProperties": {
      +          "maximum": 60,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "propertyNames": {
      +          "maxLength": 256,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "propertyNames": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "warlord": {
      +      "maxLength": 256,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "models",
      +    "options"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / defender / properties / picks / items / properties / vs
      Added value: +{
      +  "description": "Reserved: not read yet. Leave it as read and never set it.",
      +  "properties": {
      +    "allegiance": {
      +      "maxLength": 256,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "enhancement": {
      +      "maxLength": 256,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "models": {
      +      "additionalProperties": {
      +        "maximum": 60,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "propertyNames": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "options": {
      +      "additionalProperties": {
      +        "additionalProperties": {
      +          "maximum": 60,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "propertyNames": {
      +          "maxLength": 256,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "propertyNames": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "warlord": {
      +      "maxLength": 256,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "models",
      +    "options"
      +  ],
      +  "type": "object"
      +}
  6. Changed6 schema fields changed
    • addedInput schema / properties / attacker / properties / picks / items / properties / floor
      Added value: +{
      +  "const": true,
      +  "description": "Set on a unit saved before choices started on the printed default; keep it as read, never set it.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / attacker / properties / prep / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "reminders": {
      -        "items": {
      -          "properties": {
      -            "ability": {
      -              "maxLength": 80,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 10000,
      -              "type": "string"
      -            },
      -            "key": {
      -              "maxLength": 240,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "timings": {
      -              "items": {
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "firstRoundOnly": {
      -                        "type": "boolean"
      -                      },
      -                      "moment": {
      -                        "enum": [
      -                          "phase-start",
      -                          "phase-end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "enum": [
      -                          "command",
      -                          "movement",
      -                          "shooting",
      -                          "charge",
      -                          "fight",
      -                          "any"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "turn": {
      -                        "enum": [
      -                          "your-turn",
      -                          "opponent-turn",
      -                          "either"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "moment",
      -                      "phase",
      -                      "turn"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "properties": {
      -                      "firstRoundOnly": {
      -                        "type": "boolean"
      -                      },
      -                      "moment": {
      -                        "enum": [
      -                          "turn-start",
      -                          "turn-end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "type": "null"
      -                      },
      -                      "turn": {
      -                        "enum": [
      -                          "your-turn",
      -                          "opponent-turn",
      -                          "either"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "moment",
      -                      "phase",
      -                      "turn"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "properties": {
      -                      "firstRoundOnly": {
      -                        "type": "boolean"
      -                      },
      -                      "moment": {
      -                        "enum": [
      -                          "round-start",
      -                          "round-end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "type": "null"
      -                      },
      -                      "turn": {
      -                        "const": "either",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "moment",
      -                      "phase",
      -                      "turn"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "maxItems": 10,
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "unit": {
      -              "properties": {
      -                "index": {
      -                  "maximum": 99,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "name": {
      -                  "maxLength": 80,
      -                  "minLength": 1,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "name"
      -              ],
      -              "type": "object"
      -            },
      -            "whileDestroyed": {
      -              "type": "boolean"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "ability",
      -            "description",
      -            "timings"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 200,
      -        "type": "array"
      -      },
      -      "remindersEnabled": {
      -        "default": true,
      -        "type": "boolean"
      -      },
      -      "secondaries": {
      -        "items": {
      -          "properties": {
      -            "key": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 80,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 6,
      -        "type": "array"
      -      },
      -      "stratagems": {
      -        "items": {
      -          "properties": {
      -            "cp": {
      -              "maximum": 6,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "key": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "limit": {
      -              "enum": [
      -                "phase",
      -                "turn",
      -                "battle-round",
      -                "battle",
      -                "unlimited"
      -              ],
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 80,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "phases": {
      -              "items": {
      -                "enum": [
      -                  "command",
      -                  "movement",
      -                  "shooting",
      -                  "charge",
      -                  "fight",
      -                  "end"
      -                ],
      -                "type": "string"
      -              },
      -              "maxItems": 6,
      -              "type": "array"
      -            },
      -            "turn": {
      -              "enum": [
      -                "your-turn",
      -                "opponent-turn",
      -                "either"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "name",
      -            "cp",
      -            "limit"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 48,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "stratagems",
      -      "secondaries"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "reminders": {
      +        "items": {
      +          "properties": {
      +            "ability": {
      +              "maxLength": 80,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 10000,
      +              "type": "string"
      +            },
      +            "key": {
      +              "maxLength": 240,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "timings": {
      +              "items": {
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "firstRoundOnly": {
      +                        "type": "boolean"
      +                      },
      +                      "moment": {
      +                        "enum": [
      +                          "phase-start",
      +                          "phase-end"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "enum": [
      +                          "command",
      +                          "movement",
      +                          "shooting",
      +                          "charge",
      +                          "fight",
      +                          "any"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "turn": {
      +                        "enum": [
      +                          "your-turn",
      +                          "opponent-turn",
      +                          "either"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "moment",
      +                      "phase",
      +                      "turn"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "properties": {
      +                      "firstRoundOnly": {
      +                        "type": "boolean"
      +                      },
      +                      "moment": {
      +                        "enum": [
      +                          "turn-start",
      +                          "turn-end"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "type": "null"
      +                      },
      +                      "turn": {
      +                        "enum": [
      +                          "your-turn",
      +                          "opponent-turn",
      +                          "either"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "moment",
      +                      "phase",
      +                      "turn"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "properties": {
      +                      "firstRoundOnly": {
      +                        "type": "boolean"
      +                      },
      +                      "moment": {
      +                        "enum": [
      +                          "round-start",
      +                          "round-end"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "type": "null"
      +                      },
      +                      "turn": {
      +                        "const": "either",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "moment",
      +                      "phase",
      +                      "turn"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "maxItems": 10,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "unit": {
      +              "properties": {
      +                "index": {
      +                  "maximum": 99,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "maxLength": 80,
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "name"
      +              ],
      +              "type": "object"
      +            },
      +            "whileDestroyed": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "ability",
      +            "description",
      +            "timings"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 200,
      +        "type": "array"
      +      },
      +      "remindersEnabled": {
      +        "default": true,
      +        "type": "boolean"
      +      },
      +      "secondaries": {
      +        "items": {
      +          "properties": {
      +            "key": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 80,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 6,
      +        "type": "array"
      +      },
      +      "stratagems": {
      +        "items": {
      +          "properties": {
      +            "cp": {
      +              "maximum": 6,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "key": {
      +              "maxLength": 128,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "limit": {
      +              "enum": [
      +                "phase",
      +                "turn",
      +                "battle-round",
      +                "battle",
      +                "unlimited"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 80,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "phases": {
      +              "items": {
      +                "enum": [
      +                  "command",
      +                  "movement",
      +                  "shooting",
      +                  "charge",
      +                  "fight",
      +                  "end"
      +                ],
      +                "type": "string"
      +              },
      +              "maxItems": 6,
      +              "type": "array"
      +            },
      +            "turn": {
      +              "enum": [
      +                "your-turn",
      +                "opponent-turn",
      +                "either"
      +              ],
      +              "type": "string"
      +            },
      +            "windows": {
      +              "items": {
      +                "properties": {
      +                  "phase": {
      +                    "enum": [
      +                      "command",
      +                      "movement",
      +                      "shooting",
      +                      "charge",
      +                      "fight",
      +                      "end"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "turn": {
      +                    "enum": [
      +                      "your-turn",
      +                      "opponent-turn",
      +                      "either"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "phase",
      +                  "turn"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 18,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "name",
      +            "cp",
      +            "limit"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 48,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "stratagems",
      +      "secondaries"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / attacker / properties / printedDefaults
      Added value: +{
      +  "const": true,
      +  "description": "Sent by code that starts a choice on its printed default; a save without it keeps each unit on its cheapest.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / defender / properties / picks / items / properties / floor
      Added value: +{
      +  "const": true,
      +  "description": "Set on a unit saved before choices started on the printed default; keep it as read, never set it.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / defender / properties / prep / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "reminders": {
      -        "items": {
      -          "properties": {
      -            "ability": {
      -              "maxLength": 80,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "description": {
      -              "maxLength": 10000,
      -              "type": "string"
      -            },
      -            "key": {
      -              "maxLength": 240,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "timings": {
      -              "items": {
      -                "oneOf": [
      -                  {
      -                    "properties": {
      -                      "firstRoundOnly": {
      -                        "type": "boolean"
      -                      },
      -                      "moment": {
      -                        "enum": [
      -                          "phase-start",
      -                          "phase-end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "enum": [
      -                          "command",
      -                          "movement",
      -                          "shooting",
      -                          "charge",
      -                          "fight",
      -                          "any"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "turn": {
      -                        "enum": [
      -                          "your-turn",
      -                          "opponent-turn",
      -                          "either"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "moment",
      -                      "phase",
      -                      "turn"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "properties": {
      -                      "firstRoundOnly": {
      -                        "type": "boolean"
      -                      },
      -                      "moment": {
      -                        "enum": [
      -                          "turn-start",
      -                          "turn-end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "type": "null"
      -                      },
      -                      "turn": {
      -                        "enum": [
      -                          "your-turn",
      -                          "opponent-turn",
      -                          "either"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "moment",
      -                      "phase",
      -                      "turn"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "properties": {
      -                      "firstRoundOnly": {
      -                        "type": "boolean"
      -                      },
      -                      "moment": {
      -                        "enum": [
      -                          "round-start",
      -                          "round-end"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "phase": {
      -                        "type": "null"
      -                      },
      -                      "turn": {
      -                        "const": "either",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "moment",
      -                      "phase",
      -                      "turn"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ]
      -              },
      -              "maxItems": 10,
      -              "minItems": 1,
      -              "type": "array"
      -            },
      -            "unit": {
      -              "properties": {
      -                "index": {
      -                  "maximum": 99,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "name": {
      -                  "maxLength": 80,
      -                  "minLength": 1,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "index",
      -                "name"
      -              ],
      -              "type": "object"
      -            },
      -            "whileDestroyed": {
      -              "type": "boolean"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "ability",
      -            "description",
      -            "timings"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 200,
      -        "type": "array"
      -      },
      -      "remindersEnabled": {
      -        "default": true,
      -        "type": "boolean"
      -      },
      -      "secondaries": {
      -        "items": {
      -          "properties": {
      -            "key": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 80,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "name"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 6,
      -        "type": "array"
      -      },
      -      "stratagems": {
      -        "items": {
      -          "properties": {
      -            "cp": {
      -              "maximum": 6,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "key": {
      -              "maxLength": 64,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "limit": {
      -              "enum": [
      -                "phase",
      -                "turn",
      -                "battle-round",
      -                "battle",
      -                "unlimited"
      -              ],
      -              "type": "string"
      -            },
      -            "name": {
      -              "maxLength": 80,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "phases": {
      -              "items": {
      -                "enum": [
      -                  "command",
      -                  "movement",
      -                  "shooting",
      -                  "charge",
      -                  "fight",
      -                  "end"
      -                ],
      -                "type": "string"
      -              },
      -              "maxItems": 6,
      -              "type": "array"
      -            },
      -            "turn": {
      -              "enum": [
      -                "your-turn",
      -                "opponent-turn",
      -                "either"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "name",
      -            "cp",
      -            "limit"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 48,
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "stratagems",
      -      "secondaries"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "reminders": {
      +        "items": {
      +          "properties": {
      +            "ability": {
      +              "maxLength": 80,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "description": {
      +              "maxLength": 10000,
      +              "type": "string"
      +            },
      +            "key": {
      +              "maxLength": 240,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "timings": {
      +              "items": {
      +                "oneOf": [
      +                  {
      +                    "properties": {
      +                      "firstRoundOnly": {
      +                        "type": "boolean"
      +                      },
      +                      "moment": {
      +                        "enum": [
      +                          "phase-start",
      +                          "phase-end"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "enum": [
      +                          "command",
      +                          "movement",
      +                          "shooting",
      +                          "charge",
      +                          "fight",
      +                          "any"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "turn": {
      +                        "enum": [
      +                          "your-turn",
      +                          "opponent-turn",
      +                          "either"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "moment",
      +                      "phase",
      +                      "turn"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "properties": {
      +                      "firstRoundOnly": {
      +                        "type": "boolean"
      +                      },
      +                      "moment": {
      +                        "enum": [
      +                          "turn-start",
      +                          "turn-end"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "type": "null"
      +                      },
      +                      "turn": {
      +                        "enum": [
      +                          "your-turn",
      +                          "opponent-turn",
      +                          "either"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "moment",
      +                      "phase",
      +                      "turn"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "properties": {
      +                      "firstRoundOnly": {
      +                        "type": "boolean"
      +                      },
      +                      "moment": {
      +                        "enum": [
      +                          "round-start",
      +                          "round-end"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "phase": {
      +                        "type": "null"
      +                      },
      +                      "turn": {
      +                        "const": "either",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "moment",
      +                      "phase",
      +                      "turn"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "maxItems": 10,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "unit": {
      +              "properties": {
      +                "index": {
      +                  "maximum": 99,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "name": {
      +                  "maxLength": 80,
      +                  "minLength": 1,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "index",
      +                "name"
      +              ],
      +              "type": "object"
      +            },
      +            "whileDestroyed": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "ability",
      +            "description",
      +            "timings"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 200,
      +        "type": "array"
      +      },
      +      "remindersEnabled": {
      +        "default": true,
      +        "type": "boolean"
      +      },
      +      "secondaries": {
      +        "items": {
      +          "properties": {
      +            "key": {
      +              "maxLength": 64,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 80,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "name"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 6,
      +        "type": "array"
      +      },
      +      "stratagems": {
      +        "items": {
      +          "properties": {
      +            "cp": {
      +              "maximum": 6,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "key": {
      +              "maxLength": 128,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "limit": {
      +              "enum": [
      +                "phase",
      +                "turn",
      +                "battle-round",
      +                "battle",
      +                "unlimited"
      +              ],
      +              "type": "string"
      +            },
      +            "name": {
      +              "maxLength": 80,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "phases": {
      +              "items": {
      +                "enum": [
      +                  "command",
      +                  "movement",
      +                  "shooting",
      +                  "charge",
      +                  "fight",
      +                  "end"
      +                ],
      +                "type": "string"
      +              },
      +              "maxItems": 6,
      +              "type": "array"
      +            },
      +            "turn": {
      +              "enum": [
      +                "your-turn",
      +                "opponent-turn",
      +                "either"
      +              ],
      +              "type": "string"
      +            },
      +            "windows": {
      +              "items": {
      +                "properties": {
      +                  "phase": {
      +                    "enum": [
      +                      "command",
      +                      "movement",
      +                      "shooting",
      +                      "charge",
      +                      "fight",
      +                      "end"
      +                    ],
      +                    "type": "string"
      +                  },
      +                  "turn": {
      +                    "enum": [
      +                      "your-turn",
      +                      "opponent-turn",
      +                      "either"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "phase",
      +                  "turn"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 18,
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "name",
      +            "cp",
      +            "limit"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 48,
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "stratagems",
      +      "secondaries"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / defender / properties / printedDefaults
      Added value: +{
      +  "const": true,
      +  "description": "Sent by code that starts a choice on its printed default; a save without it keeps each unit on its cheapest.",
      +  "type": "boolean"
      +}
  7. Changed2 schema fields changed
    • addedInput schema / properties / attacker / properties / name / description
      Added value: +"The roster title, or empty to have one generated from the army and kept current. Send a name only when the player chooses one."
    • addedInput schema / properties / defender / properties / name / description
      Added value: +"The roster title, or empty to have one generated from the army and kept current. Send a name only when the player chooses one."
  8. Changed10 schema fields changed
    • addedInput schema / properties / attacker / properties / picks / items / properties / choices / additionalProperties / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "const": "",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / attacker / properties / picks / items / properties / choices / additionalProperties / maxLength
      Removed value: -64
    • removedInput schema / properties / attacker / properties / picks / items / properties / choices / additionalProperties / minLength
      Removed value: -1
    • removedInput schema / properties / attacker / properties / picks / items / properties / choices / additionalProperties / type
      Removed value: -"string"
    • changedInput schema / properties / attacker / properties / picks / items / properties / choices / description
      Previous value: -"One option per choice group, choice key to option id from get_unit_options, for groups it sets with choices: wargear, an enhancement, a detachment upgrade. Omitted groups keep their default."New value: +"One option per choice group, choice key to option id from get_unit_options, for groups it sets with choices: wargear, an enhancement, a detachment upgrade. Omitted groups keep their default; '' leaves an optional group empty."
    • addedInput schema / properties / defender / properties / picks / items / properties / choices / additionalProperties / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "const": "",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / defender / properties / picks / items / properties / choices / additionalProperties / maxLength
      Removed value: -64
    • removedInput schema / properties / defender / properties / picks / items / properties / choices / additionalProperties / minLength
      Removed value: -1
    • removedInput schema / properties / defender / properties / picks / items / properties / choices / additionalProperties / type
      Removed value: -"string"
    • changedInput schema / properties / defender / properties / picks / items / properties / choices / description
      Previous value: -"One option per choice group, choice key to option id from get_unit_options, for groups it sets with choices: wargear, an enhancement, a detachment upgrade. Omitted groups keep their default."New value: +"One option per choice group, choice key to option id from get_unit_options, for groups it sets with choices: wargear, an enhancement, a detachment upgrade. Omitted groups keep their default; '' leaves an optional group empty."
  9. Changed2 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  10. Changed2 schema fields changed
    • changedInput schema / properties / attacker / properties / disposition / description
      Previous value: -"Force disposition id from get_unit_options' roster.dispositions; null when the detachment allows only one."New value: +"Force disposition id from get_unit_options' roster.dispositions, or null to leave the choice to each battle."
    • changedInput schema / properties / defender / properties / disposition / description
      Previous value: -"Force disposition id from get_unit_options' roster.dispositions; null when the detachment allows only one."New value: +"Force disposition id from get_unit_options' roster.dispositions, or null to leave the choice to each battle."
  11. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial behavior: units start at full strength, passive rules apply while stratagems, conditional rules, cover and range bonuses stay off, weapon choices optimize against the target, and a partial status means the table stopped early with finished pairings still standing. It also gives a performance envelope (a second or two for 2,000-point lists, hard stop at 30 seconds), which no annotation conveys.

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?

Front-loads the core purpose and the simulate_combat trade-off before diving into output semantics, so an agent can stop reading early. The middle sentences are dense and one clause ("is empty while any pairing in its row or column is unfinished or nothing does damage") is hard to parse, but the length is largely earned because there is no output schema to carry the return shape.

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 does real work: it explains cells[attacker][defender], null for uncalculated pairings, notCalculated grouping by phase and reason, bestTargetOf/bestAttackerOf semantics, and partial status with stoppedBy. It stops short of naming the full top-level response envelope, so an agent still has to discover some field names at runtime.

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%, so baseline 3 applies. The description adds some meaning (phases/measures defaults, rankBy driving bestTargetOf and bestAttackerOf, uncalculated pairings ignored), but its claim that attacker/defender "list the units in roster order, entries giving their 1-based roster entries" sits awkwardly against a schema where each is a full roster object whose picks use 0-based indexes, so the parameter guidance is partly redundant and partly ambiguous.

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: runs every unit of one roster against every unit of another in the exact combat simulator, producing the whole-roster table. It explicitly distinguishes itself from simulate_combat by noting it replaces one call per pairing, so an agent can tell the two apart 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both directions of routing: use this for the bulk whole-roster table ("one call instead of a simulate_combat call per pairing") and use simulate_combat when you need to "choose rules, modifiers or losses" for a single pairing. That is an explicit alternative plus the condition that selects it.

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.