Skip to main content
Glama

battle_result

Fetch a battle result using its queue transaction ID. Returns complete details, settings, and rewards in original wire format, with clear errors for unknown IDs and refusal of oversized payloads.

Instructions

Read a battle result by explicit queue transaction ID. Either captured opponent queue ID returned the same battle. Details, settings and reward information retain their original wire types, including JSON-encoded strings. Unknown IDs returned an error string. Oversized results are refused without dropping rounds or player data. Makes one logical GET request and does not auto-fetch continuation pages. Required inputs reflect tool policy as well as measured upstream requirements. Other declared filters are forwarded as supplied; their effectiveness is not implied by the schema. Array responses are locally limited to 100 rows and 256 KiB, with truncation reported in text and metadata. Oversized records are refused without partial fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly. It discloses error behavior for unknown IDs, refusal of oversized results, no auto-fetching of continuation pages, local row/size limits with truncation reporting, and preservation of wire types. This is exceptional transparency for a tool.

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

Conciseness4/5

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

The description is long but information-dense, with the purpose front-loaded. However, there is redundancy ('Oversized results are refused without dropping rounds or player data' vs later 'Oversized records are refused without partial fields') and a vague sentence about 'Required inputs reflect tool policy' that could be tightened.

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 a single parameter and no output schema, the description covers many operational details (error strings, size limits, wire types, no pagination) that an agent needs. It hints at response contents (details, settings, rewards) but could be more explicit about the overall response structure, though the absence of an output schema makes that less critical.

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?

Schema coverage is 0%, so the description must compensate. It does: it defines the ID as a 'queue transaction ID' and clarifies that either the captured opponent queue ID or the original works. This adds meaning beyond the bare string schema, though it could be more explicit about format.

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?

The description opens with a specific verb and resource: 'Read a battle result by explicit queue transaction ID.' It clearly distinguishes the tool from battle_queue and battle_status by focusing on results and the input type. The added note about captured opponent queue IDs further clarifies scope.

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?

The description implies usage (for reading battle results by queue ID) but does not explicitly compare with alternatives like battle_status or tournament_battles. It provides no exclusions or conditions for when to use this tool over siblings, leaving selection partly to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools