Skip to main content
Glama

Grade a roster

grade_roster
Read-onlyIdempotent

Grades which jobs a roster can do on the table, as the roster builder's grades do: score 0 to 100 and grade A to D overall and per category (board control, mobility, damage against reference targets, durability), placed among tournament lists of the same battle size and centred on comparedWith's armies, so a list's distance from its army's typical list reads on every army's spread. A typical tournament list scores about 70. It measures coverage, not strength: in tournament games the players' skill decided far more than any list measure, the overall grade went with winning only slightly, and more units with an even spread of points went with winning most. So never call a list competitive from its grade, and never present it as a win rate. missing names the reference targets nothing in the list can take half of alone. units gives each unit the jobs it is credited with; a leader or support character counts inside the unit it joins, so its buffs never show as its own job, and cutting it for another unit always raises board presence. A unit with one joined to it lists it under attached, with each target whose share of wounds the unit takes changes without it: with and without, where 1 is one whole target. Weigh that before cutting it. tournament, when the army has enough top-four lists, gives stapleShare (the share of its points in datasheets at least 3 in 10 of those lists field, which went with winning slightly), the staples it leaves out and its unproven datasheets that no winning list fields. calibration.lists is 'drawn' when the battle size was compared with lists drawn from 2,000-point tournament lists rather than real lists of its size, a rougher comparison, and there nothing shows that more units or an even spread go with winning. It measures units at full strength with passive rules only, from the exact simulator, so it rarely tells detachments apart; compare detachments with simulate_combat. Each row's notCalculated names units or rules it could not measure. Takes a few seconds; check the list with check_roster first, since a list that cannot be fielded still grades.

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": {
      "roster": "<roster>"
    },
    "name": "grade_roster"
  }
}

Input Schema

NameRequiredDescriptionDefault
rosterYesA complete roster in the shape save_roster takes, such as the roster get_my_roster returns or a draft built from list_units and get_unit_options ids.
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. Changed1 schema field changed
    • changedInput schema / properties / roster / properties / picks / items / properties / entryId / maxLength
      Previous value: -64New value: +256
  2. Changed1 schema field changed
    • addedInput schema / properties / roster / 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. Changed2 schema fields changed
    • changedInput schema / properties / roster / 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 / roster / properties / waivedRules / maxItems
      Previous value: -9New value: +10
  4. Changed1 schema field changed
    • changedInput schema / properties / roster / 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. Changed1 schema field changed
    • addedInput schema / properties / roster / 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. Changed3 schema fields changed
    • addedInput schema / properties / roster / 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 / roster / 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 / roster / 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. Changed1 schema field changed
    • addedInput schema / properties / roster / 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. Changed5 schema fields changed
    • addedInput schema / properties / roster / properties / picks / items / properties / choices / additionalProperties / anyOf
      Added value: +[
      +  {
      +    "maxLength": 64,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "const": "",
      +    "type": "string"
      +  }
      +]
    • removedInput schema / properties / roster / properties / picks / items / properties / choices / additionalProperties / maxLength
      Removed value: -64
    • removedInput schema / properties / roster / properties / picks / items / properties / choices / additionalProperties / minLength
      Removed value: -1
    • removedInput schema / properties / roster / properties / picks / items / properties / choices / additionalProperties / type
      Removed value: -"string"
    • changedInput schema / properties / roster / 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. Changed1 schema field changed
    • changedInput schema / properties / roster / 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 cover read-only/idempotent/non-destructive, yet the description adds substantial context beyond them: runtime ('takes a few seconds'), the 'drawn' calibration caveat where comparisons come from 2,000-point lists, that it measures units at full strength with passive rules only, and that per-row notCalculated names unmeasured units or rules. These are behavioral traits no structured field discloses.

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?

Almost every clause carries real information, but it is delivered as one dense run-on block with sentences that sprawl across several ideas (e.g. the attached/with-and-without passage). The critical operational guidance — 'takes a few seconds; check the list with check_roster first' — is buried at the very end instead of front-loaded.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does: missing, units/attached with the 1 = one whole target scale, tournament stapleShare and staples, calibration.lists, and notCalculated. For a tool of this complexity, an agent has everything needed to call and interpret it.

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%, so the roster object and its nested fields are already documented in the schema; baseline 3 applies. The description adds meaning about output fields (missing, units, attached, tournament, calibration) rather than about the roster, llm_model or conversation_id parameters, so it does not extend parameter semantics.

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: grades which jobs a roster can do on the table, producing a 0-100 score and A-D grades overall and per category (board control, mobility, damage, durability). It also distinguishes itself from siblings by naming check_roster as a prerequisite and simulate_combat as the tool for detachments.

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?

Explicitly routes the agent: validate with check_roster first because an unfieldable list still grades, and use simulate_combat to compare detachments since this tool rarely tells them apart. It also sets interpretive guardrails (never call a list competitive from its grade, never present it as a win rate), which is exactly the when-not guidance an agent needs.

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.