Skip to main content
Glama

battle

Read-onlyIdempotent

Manage your battle — maneuver, target enemies, adopt combat stances, or self-destruct (Actions: advance, retreat, stance, target, engage, self_destruct, help. Use action="help" for full documentation with examples.

  • advance: Move one zone closer (outer→mid→inner→engaged).

  • retreat: Move one zone back.

  • stance: Change posture. Include "stance" field: fire|evade|brace|flee|board. Board also requires "target_id" and a positive "marines" commitment; creatures, drones, and stations are not capturable and are rejected immediately. It suppresses weapons and automatically closes for repeated latch attempts. A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. If multiple eligible boarding requests on the same tick share either hull, deterministic boarding initiative selects one physical link and the battle log records rejected contenders. Changing away from board begins a costly, non-instant withdrawal, and the requested stance applies only after disengagement.

  • target: Focus fire. Include "target_id" field (ID or name of any combatant in the battle — players, pirates, police, drones, creatures, stations, intact prizes).

  • engage: Join the battle in your system from any POI. Optional "side_id" field. Engaging drops your cloak: a battle cannot hold a cloaked ship, so fleet, faction, undock, and jump-arrival auto-joins skip cloaked pilots.

  • self_destruct: Start the visible in-battle self-destruct countdown; duplicate starts do not reset it. None of these cost a tick — they are queued and applied together at the start of the next battle tick, so you can set a stance, pick a target, and move in the same tick. Reload routes to the standalone reload command and does cost a tick. Examples: {"action":"stance","stance":"evade"}, {"action":"stance","stance":"board","target_id":"enemy_id","marines":12}, {"action":"target","target_id":"SomePlayer"}, {"action":"engage","side_id":1})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesBattle action to perform
stanceNoBattle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. If same-tick eligible boarding requests share either hull, deterministic boarding initiative starts one physical link; rejected contenders retain their prior stance and weapon fire, and the battle log records reason contested_same_tick. Changing away from board begins non-instant withdrawal.
marinesNoPositive fit-marine commitment required when setting stance=board. The battle tick caps it to the fit marines actually available.
side_idNoSide to join (optional when you engage — auto-assigned by faction if omitted)
target_idNoID or name of the enemy — required when focusing a target and when entering the board stance. Board attempts against creatures, drones, and stations are rejected immediately because they are not capturable.
session_idYesYour session ID from login/register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • changedInput schema / properties / stance / description
      Previous value: -"Battle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. Changing away from board begins non-instant withdrawal."New value: +"Battle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. If same-tick eligible boarding requests share either hull, deterministic boarding initiative starts one physical link; rejected contenders retain their prior stance and weapon fire, and the battle log records reason contested_same_tick. Changing away from board begins non-instant withdrawal."
  4. Changed2 schema fields changed
    • changedInput schema / properties / stance / description
      Previous value: -"Battle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). Changing away from board begins non-instant withdrawal."New value: +"Battle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). A faster effective speed lets the boarder intercept its target's retreat and flee movement; an equal or faster target can kite. Changing away from board begins non-instant withdrawal."
    • changedInput schema / properties / target_id / description
      Previous value: -"ID or name of the enemy — required when focusing a target and when entering the board stance"New value: +"ID or name of the enemy — required when focusing a target and when entering the board stance. Board attempts against creatures, drones, and stations are rejected immediately because they are not capturable."
  5. Changed5 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "advance",
      -  "retreat",
      -  "stance",
      -  "target",
      -  "engage",
      -  "help"
      -]New value: +[
      +  "advance",
      +  "retreat",
      +  "stance",
      +  "target",
      +  "engage",
      +  "self_destruct",
      +  "help"
      +]
    • addedInput schema / properties / marines
      Added value: +{
      +  "description": "Positive fit-marine commitment required when setting stance=board. The battle tick caps it to the fit marines actually available.",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / properties / stance / description
      Previous value: -"Battle stance (required when you set a stance): fire (100% dmg dealt/taken), evade (0% dealt, 50% taken, costs fuel), brace (0% dealt, 25% taken, shields regen 2x), flee (0% dealt, 100% taken, auto-retreats to outer zone then a minimum of 3 ticks to escape — longer the slower you are than your fastest pursuer, and never while warp-disrupted)"New value: +"Battle stance: fire (100% dmg dealt/taken), evade (0%/50%, costs fuel), brace (0%/25%, shields regen 2x), flee (0%/100%, auto-retreats to escape), or board (0%/100%, automatically closes for repeated latch attempts; requires target_id and marines). Changing away from board begins non-instant withdrawal."
    • changedInput schema / properties / stance / enum
      Previous value: -[
      -  "fire",
      -  "evade",
      -  "brace",
      -  "flee"
      -]New value: +[
      +  "fire",
      +  "evade",
      +  "brace",
      +  "flee",
      +  "board"
      +]
    • changedInput schema / properties / target_id / description
      Previous value: -"ID or name of the enemy to target — any combatant in the battle, including pirates, police, drones, creatures and stations (required when you pick a target)"New value: +"ID or name of the enemy — required when focusing a target and when entering the board stance"
  6. Changed3 schema fields changed
    • changedInput schema / properties / side_id / description
      Previous value: -"Side to join (optional for action=engage — auto-assigned by faction if omitted)"New value: +"Side to join (optional when you engage — auto-assigned by faction if omitted)"
    • changedInput schema / properties / stance / description
      Previous value: -"Battle stance (required for action=stance): fire (100% dmg dealt/taken), evade (0% dealt, 50% taken, costs fuel), brace (0% dealt, 25% taken, shields regen 2x), flee (0% dealt, 100% taken, auto-retreats, 3 ticks from outer to escape)"New value: +"Battle stance (required when you set a stance): fire (100% dmg dealt/taken), evade (0% dealt, 50% taken, costs fuel), brace (0% dealt, 25% taken, shields regen 2x), flee (0% dealt, 100% taken, auto-retreats to outer zone then a minimum of 3 ticks to escape — longer the slower you are than your fastest pursuer, and never while warp-disrupted)"
    • changedInput schema / properties / target_id / description
      Previous value: -"ID or name of the enemy to target — any combatant in the battle, including pirates, police, drones, creatures and stations (required for action=target)"New value: +"ID or name of the enemy to target — any combatant in the battle, including pirates, police, drones, creatures and stations (required when you pick a target)"
  7. Changed1 schema field changed
    • changedInput schema / properties / target_id / description
      Previous value: -"Player ID or username of enemy to target (required for action=target)"New value: +"ID or name of the enemy to target — any combatant in the battle, including pirates, police, drones, creatures and stations (required for action=target)"
  8. Changed1 schema field changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "advance",
      -  "retreat",
      -  "stance",
      -  "target",
      -  "engage"
      -]New value: +[
      +  "advance",
      +  "retreat",
      +  "stance",
      +  "target",
      +  "engage",
      +  "help"
      +]
  9. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources