Skip to main content
Glama
brotato-controller

brotato-controller

by dzhen1515

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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
    Discover, inspect, create, hot-update, delete, rollback, or run AI extensions under state_dir/extensions/.
    START HERE: action="schema" (kind optional) returns every kind, hook, condition variable/function,
    limit and a ready-to-edit template, so you never need to guess formats.
    - action: schema | validate | list | get | upsert | delete | rollback | run
    - kind: strategy | patch | profile | behavior (combat/shop/upgrade/item_box/reroll/lock/death hooks) | macro
    - run (kind=macro): payload={"state"?: snapshot, "character_id"?: str, "execute"?: bool}; execute=False
      (default) only plans writes; execute=True drives the live game and requires no active runner.
    All writes are schema + whitelist-AST validated, atomic, versioned, and allowed while runner is active.
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 16 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count4/5

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).

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues