brotato-controller
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ping_gameA | Check connection to LocalAI-AgentBridge, protocol version, phase, and env_capabilities. |
| get_game_stateA | Get current Brotato state (compact summary by default; verbose=True or include=[progress|threats|inventory|shop]). |
| get_strategyB | Read the effective merged strategy (base ⊕ capability patches ⊕ overrides) and version hash. |
| get_recent_deathsB | Retrieve the N most recent structured death telemetry reports from state_dir. |
| get_runner_statusA | Get status of a specific runner job_id, or summaries of the 5 most recent jobs if omitted. |
| wait_for_phaseA | Wait until game reaches one of target phases (timeout 1..50s; timeout returns reached=False, not an error). |
| inspect_gameB | Inspect scene tree or singletons (bounded: max_depth<=6, max_nodes<=500, <=64KB). |
| set_threat_configB | Update (or read when called with no args) 60Hz autopilot and 2D spatial threat-map parameters. |
| update_strategyA | Dry-run or apply (with expect_base optimistic lock) a validated strategy override under state_dir. |
| rollback_strategyB | Rollback character strategy overrides by N steps (up to 10 archived versions). |
| start_sessionC | Launch a detached autonomous runner job immediately returning {job_id}. |
| stop_sessionA | Gracefully stop an active autonomous runner job (force-kills after 10s). |
| run_controlC | Run lifecycle control: action in {start, menu, autopilot_on, autopilot_off}. |
| decide_wave_rewardC | Handle item_box (take|recycle) or upgrade (choose with index 0..3 | reroll). |
| shop_actionC | Execute shop action (buy|lock|unlock|reroll|combine|recycle|next_wave) and return post-action shop summary. |
| manage_extensionsA | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools have clearly distinct purposes across the game-control domain (state read, strategy CRUD, shop, reward, runner lifecycle). There is a notable ambiguity between start_session and run_control with action='start', and mild overlap between get_game_state's progress/inventory view and shop_action's summary, but descriptions mostly disambiguate.
Predominantly consistent verb_noun pattern (ping_game, get_game_state, update_strategy, start_session, decide_wave_reward, manage_extensions). The lone deviation is shop_action, which is noun-first rather than verb-first, but it remains readable and predictable.
16 tools is at the higher edge but well-scoped for a complex game controller covering state, strategy, runner, shop, rewards, and extensions. Each tool maps to a genuine distinct capability, with only minor consolidation possible (start_session vs run_control).
The surface covers the full lifecycle: connection check, state inspection, strategy read/update/rollback, runner start/stop/status, phase waiting, shop, reward decisions, and extensions. Gaps are minor, such as no explicit combat-input tool beyond autopilot toggles, but core workflows are well covered.