Skip to main content
Glama

Read unit options for a roster

get_unit_options
Read-onlyIdempotent

Lists what each named unit lets a roster pick set, with names first and the ids a pick takes beside them: its sizes, its toggles (key of the Warlord toggle: set toggles {key: 1} on exactly one CHARACTER), and every choice group (wargear, enhancement, detachment upgrade, unit composition) with its options' ids, points, how many the default loadout takes (taken), and per-option min and max. A choice whose set is choices takes {key: optionId}; omit an optional one to decline it. One whose set is spreads takes {key: {optionId: count}}, counts within each option's min and max, totalling no more than room and at least least; for 'every model one option' give the whole room to one option. A group whose key extends another's key and option id applies only while that option is taken. Enhancements and detachment upgrades appear only with a detachment, at their cost; a list takes each enhancement once, on a CHARACTER that is not an Epic Hero, and a unit holds at most one, counting the leaders and support units attached to it, which these options can't see; check_roster flags a second. roster gives the catalogueId, detachmentIds and dispositions a save_roster or check_roster roster takes. Leave out a choice to keep the default; check the finished list with check_roster. A unit returned with vs is fielded by VS Data IDs: save its pick as {entryId, vs} with vs as returned and no models, choices, spreads or toggles, and change vs instead. Each choice's set names where: vs.options takes {choice key: {option id: count}}, counts within each option's max and totalling no more than room; uniform gives the whole room to one option; vs.models takes {option id: count} totalling room; vs.enhancement takes one option id from the enhancement or upgrade choice, since a unit holds one; vs.allegiance takes one option id; vs.warlord takes the Warlord toggle's key on exactly one unit.

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": {
      "faction": "<faction>",
      "units": "<units>"
    },
    "name": "get_unit_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsYesThe units to read options for, priced together as one list in this battle size and detachment.
factionYesFaction id, URL slug, or display name from list_reference or list_units.
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.
battleSizeNoThe roster limit in points.
detachmentNoDetachment id, slug, or name from list_units; enhancements and detachment upgrades are offered only under one.
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
    • 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"
      +}
  2. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive. The description adds substantial domain behavior: gleaned options only surface under a detachment, enhancements cost points, a unit holds at most one enhancement and check_roster flags duplicates, and 'these options can't see' attached leaders. That is real context an agent couldn't read off the annotations, though it drifts into rules documentation rather than tool behavior.

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

Conciseness2/5

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

A dense run-on block mixing return-structure documentation with usage rules, tokens like 'spreads takes {key: {optionId: count}}', and the VS/options mapping crammed into one paragraph. Key usage guidance ('keep the default', 'check with check_roster') is buried mid-text rather than front-loaded. Significant restructuring is needed.

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 has to carry the full return shape, and it does: sizes, toggles, choice groups with ids/points/taken/min/max, the choices-vs-spreads spread format, extends scoping, and the VS fields. It's hard to read, but an agent has enough to interpret the response.

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 the schema already documents all six parameters. The description adds a little on the detachment/roster semantics but doesn't explain faction slug resolution, battleSize pricing implications, or the units/models nesting beyond what the schema says. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening establishes a specific verb and resource: it 'lists' the option sets (sizes, toggles, choice groups) each named unit can pick from. Distinctions from check_roster and save_roster are woven in. The phrasing 'Lists what each named unit lets a roster pick set' is grammatically tangled, so it's clear but not crisply stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

De facto guidance is scattered and implicit: 'Leave out a choice to keep the default', 'check the finished list with check_roster', and 'change vs instead' for VS units. There's no explicit 'call this before save_roster to discover option ids' or any when-not clause. The reader must infer the workflow.

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.