Skip to main content
Glama

play_dice

Roll provably fair dice with the REAL deposited sats of the Lightning Faucet account this operator is linked to (link_account first). Bonus sats are never used, and agent rolls earn no promos, rebates, races or jackpots. Pick a target (1 to 9998, hundredths of the 0.00-99.99 roll scale) and over or under; the win chance and multiplier in the reply are what the website shows. Same wager grid and limits as the website, plus per-bet and per-day limits the account owner sets on lightningfaucet.com (read them with get_agent_limits). The reply carries the server seed hash, client seed and nonce to verify the roll. idempotency_key is required: reuse the same key on any retry and you get the original roll back, never a second one. REQUIRES OPERATOR KEY linked with link_account.

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": {
      "wager_sats": "<wager_sats>",
      "target": "<target>",
      "direction": "<direction>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "play_dice"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesTarget in hundredths, 5000 = 50.00
directionYes
wager_satsYesWager in sats from the linked account's deposited balance
idempotency_keyYesRequired. Unique per roll; reuse the same key when retrying

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/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 that only deposited sats are wagered (bonus sats excluded), that agent rolls earn no promos/rebates/races/jackpots, that account-owner limits apply, and that idempotency_key reuse returns the original roll rather than creating a second one. It also states the reply contents (server seed hash, client seed, nonce, win chance, multiplier) needed for verification.

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 critical constraints are front-loaded (real sats, link_account first, required idempotency key) and every sentence carries substantive information. It is a dense single paragraph, however, mixing mechanics, exclusions, and auth requirements, which makes it slightly harder to scan than a lightly structured version would be.

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?

There is no output schema, yet the description explains what the reply contains (win chance, multiplier, seed hash, client seed, nonce), lists the rate/limit regime, and covers auth and idempotency. For a 4-required-param mutation tool with no annotations, nothing an agent needs to call it correctly is missing.

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 75%, so the schema already documents target, wager_sats, and idempotency_key. The description adds real meaning beyond it: the target uses hundredths of the 0.00-99.99 roll scale with over/under selection, wager_sats draws from the linked account's deposited balance, and idempotency_key must be reused on retries to receive the original roll back.

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+resource ('Roll provably fair dice') and immediately scopes it to the operator's REAL deposited sats, distinguishing it from bonus-sat and promo-based siblings like place_bet or arena_play. The target scale, over/under direction, and wager grid are all named so the agent knows exactly which operation this is.

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?

Gives concrete prerequisites: call link_account first (operator key required) and use get_agent_limits to read per-bet and per-day limits before rolling. It does not explicitly contrast with sibling betting tools such as place_bet or arena_play, so the alternative-selection guidance is implied rather than stated.

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.