Skip to main content
Glama

Fight it out

fight

Fight round after round until something changes: the enemies die or flee, a new one arrives, HP drops below 40% (or until), or 12 rounds pass. One voice command for a whole skirmish; ends with a summary line to narrate from.

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": "fight"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameNoInternal save name: leave it out (the current run is used)
untilNoStop when HP falls to this or lower
targetNoMonster to focus on; omit for whoever is hostile

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which only say non-read-only, non-destructive, non-idempotent), the description enumerates every termination condition – enemy death or flight, a new arrival, HP under 40% or the `until` value, or a hard 12-round cap. It also discloses the return shape ('ends with a summary line to narrate from'), which the annotations cannot convey.

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

Conciseness5/5

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

Two dense sentences, no filler, with the loop behavior front-loaded and the exit conditions enumerated in a compact list. Every clause carries information an agent needs before invoking it.

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?

With no output schema, the description sensibly states that the call returns a summary line, and the bounded 12-round cap makes the loop's behavior predictable. It does not say what happens if no hostile is present, a minor gap for a combat tool of this complexity.

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 already 100%, so the baseline would be 3, but the description adds genuinely new meaning: it ties `until` to the HP-drop semantics and reveals the implicit default stop threshold of 40% when `until` is omitted. The `game` and `target` defaults are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and scope: a multi-round combat loop ('Fight round after round') rather than a single blow, which distinguishes it in spirit from single-strike or retreat siblings. It stops short of naming the specific alternative tools (e.g., attack, flee), so it is clear but not fully differentiated by name.

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?

'One voice command for a whole skirmish' implies this is the tool for resolving an entire encounter rather than one swing, which gives usable context. However, it never states when NOT to use it or which sibling to pick for a single attack or a retreat, leaving the routing to inference.

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