Skip to main content
Glama

get_battle_status

Read-onlyIdempotent

View current battle status (Returns full battle state including all participants, zones, sides, and your stats. Stance is private: it is reported for yourself only, here and in the battle_update push. Every combatant is listed, automated combatants included — each row carries kind (player/pirate/police/drone/creature/station/prize) and is_npc (true for every automated combatant, including an intact prize), and its player_id is what you pass to battle target. Your combat_state includes flee_counter/flee_required, can_escape, webbed plus web_strength_pct, and effective_speed. Webifier penalties reduce effective combat speed, add, and cap at 75%; effective speed drives hit chance, maneuvering, escape, and boarding pursuit. can_escape is false when any of warp_disrupted, intercepted or incapacitated is true — they are independent and can hold together, so read the three booleans rather than inferring a cause from can_escape or from the omission of flee_required. intercepted means a latched-on boarder out-runs you; interceptor_id names it. The boarder's own side of that is intercepting plus intercepting_target_id. While you are boarding, latch_status says whether your latch is accruing or reverting, and names the closed gate: shields_holding when the target's shields have regenerated back above the suppression line, out_of_range when you are not in point-blank contact. If not in a battle, shows any active battle in your system. Works as a query (no tick cost).)

Input Schema

NameRequiredDescriptionDefault
session_idYesYour session ID from login/register

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond readOnly/idempotent annotations: discloses that stance is private and self-only, that automated combatants (including prizes) are listed with kind and is_npc, and explains the independent flags warp_disrupted/intercepted/incapacitated that make can_escape false. It also details latch_status gate names and webifier penalty mechanics, which an agent cannot infer elsewhere.

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?

The content is dense and front-loaded with the core purpose, but it balloons into a long single-run narrative cramming flag semantics, latch behavior, and webifier math into one paragraph. Every detail is individually useful, yet the execution is overstuffed and hurts scanability compared to a tighter structured breakdown.

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?

Given no output schema, the description compensates by enumerating the return fields (participants, kind, is_npc, combat_state fields, latch_status gates). Combined with annotations covering the safety profile, an agent has enough to invoke and interpret it, though a slightly clearer separation of the not-in-battle fallback would help.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter (session_id) with 100% schema coverage, so the schema already carries the load and baseline is 3. The description adds contextual relevance by noting player_id from rows is what feeds into battle target, giving marginal extra meaning. No further syntax detail is needed for a single session param.

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 (View) and resource (current battle status) and immediately distinguishes scope by describing exactly what the full battle state contains. An agent can tell this apart from get_battle_log and get_battle_summary because it is the current-state view, not history or aggregate.

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

Usage Guidelines4/5

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

Explicitly says 'Works as a query (no tick cost)' and that it shows any active battle in your system when you're not in one, giving clear context for when to call. It stops short of naming alternatives like get_battle_log or get_battle_summary for when to use those instead, so it doesn't reach a 5.

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.

Resources