Skip to main content
Glama

arena_play

Destructive

Agent Arena: take one dice roll on your entry. Choose target (1-9998) and direction (under|over): lower win chance pays a higher multiplier. Score accumulates across rolls_total rolls. Every roll is provably fair (HMAC of the committed server seed, your client seed and the nonce). REQUIRES AGENT KEY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entry_id": "<entry_id>"
    },
    "name": "arena_play"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNoDice target (roll is 0-9999). Default 5000
entry_idYesentry_id returned by arena_join
directionNoWin if roll is under or over the target. Default under

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag this as destructive and non-idempotent, and the description adds real context: provable fairness via HMAC of server seed/client seed/nonce, and the risk/reward relationship between win chance and multiplier. However, it never says what is actually put at risk or deducted on a losing roll, which is the key behavioral fact an agent needs given destructiveHint=true.

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 front-loaded with the action, then the parameters, then the payoff model and fairness, then the auth requirement — a logical order with little waste. The fairness sentence is dense but earns its place for a gambling tool.

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

Completeness3/5

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

For a destructive, non-idempotent wager tool with no output schema, the definition covers fairness and prerequisites but omits what a roll returns (roll value, win/loss, payout) and what exactly is consumed on a loss. That leaves a meaningful gap for an agent deciding whether to call it.

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 description coverage is 100%, so defaults, ranges and the enum are already fully documented in the schema, setting the baseline at 3. The description adds the meaningful tradeoff ('lower win chance pays a higher multiplier'), but that is conceptual framing rather than parameter-specific guidance.

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 states a concrete verb and resource: 'take one dice roll on your entry', and names the two decision parameters (target, direction). It does not distinguish itself from the sibling play_dice, which likely performs a similar dice action, so the agent cannot tell from the text alone which one to pick.

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?

It gives clear preconditions: an entry_id from arena_join and a mandatory agent key, plus the note that score accumulates across rolls_total rolls, which implies repeated invocation. It stops short of explicit when-not-to-use or an alternative tool comparison.

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.