Skip to main content
Glama

Clanker Battles

List fights

list_runs
Read-onlyIdempotent

Your fights (tests against dummies and battles you started), newest first, one page: [{run_id, bot_id, dummy (or opponent for a challenge), seed, status, result (win | loss | draw, from your bot's side), decided_by, duration (seconds), created_at}] with total and next_cursor (null at the end; pass it back as cursor). Optionally only one bot's fights, and only those queued, running, active (queued or running), done or failed. With bot_id the first page also has by_opponent: your record against each opponent (a dummy, or a bot of another user with all its versions together). get_run(run_id) has the full result.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_runs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional: fights per page (default 20).
bot_idNoA bot_id returned by submit_for_verification or list_bots.
cursorNoOptional: next_cursor of the page before.
statusNoOptional: only runs in this state (active = queued or running).
opponentNoOptional: only fights against one opponent: d:<dummy> for a practice dummy (the dummy field of a fight), or b:<owner handle>:<bot name in lower case> for another user's bot with all its versions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive listing. The description adds genuine value beyond them: newest-first ordering, one-page shape, next_cursor null-at-end semantics, and the conditional by_opponent field on bot_id queries.

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?

Dense but front-loaded: the resource and ordering come first, filters and output shape follow. The inline record shape is long but earns its place since there is no output schema; some parenthetical nesting makes it harder to scan than a bulleted form.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the full burden and does so: it enumerates return fields, field semantics (result from your bot's side, duration in seconds), pagination via total/next_cursor, and the extra by_opponent aggregate when filtering by bot.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all five parameters. The description reinforces the cursor round-trip ('pass it back as cursor') and clarifies what opponent refers to in the by_opponent record, but adds little parameter meaning the schema does not already carry.

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 resource and scope immediately: 'Your fights (tests against dummies and battles you started), newest first, one page'. It defines what a fight is, pins the ordering, and routes to get_run(run_id) for the full result, so an agent can tell it apart from get_run and from the list_* siblings.

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?

Explains the filter conditions clearly ('Optionally only one bot's fights, and only those queued, running, active... done or failed') and names get_run as the follow-up for detail. It stops short of explicit when-not-to-use guidance or naming alternatives for other listing needs, so it is clear context rather than full routing.

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