Skip to main content
Glama

play_dice

Destructive

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
directionYesWin when the roll is over or under the target: over or under, for example under
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. Changed1 schema field changed
    • addedInput schema / properties / direction / description
      Added value: +"Win when the roll is over or under the target: over or under, for example under"
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (which only mark it destructive/non-idempotent) by disclosing balance source, lack of bonuses, server-side limit enforcement, the fairness data returned (server seed hash, client seed, nonce), and retry semantics for idempotency_key. The note that reusing a key returns the original roll is important context an agent cannot get from the schema.

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: identity of the tool and the account-key prerequisite come first, then parameters, then limits, then return values and idempotency. It is a long single paragraph, so the retry rule and key requirement would be easier to scan if separated, but no sentence is wasted.

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, and the description compensates by describing what the reply contains (win chance, multiplier, seed hash, client seed, nonce). For a destructive, money-spending tool with 4 required params, it covers auth, limits, fairness and retry behavior adequately.

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 100%, so the baseline is 3, but the description adds real meaning: target is on the hundredths 0.00-99.99 scale, over/under defines the win condition, and the idempotency_key's retry contract is spelled out. It does not, however, explain how wager limits interact with the wager_sats parameter beyond pointing at get_agent_limits.

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 states a specific verb and resource (roll dice) and immediately scopes it to the REAL deposited sats of the linked Lightning Faucet account, explicitly ruling out bonus sats. This clearly separates it from sibling gambling tools like arena_play, which is a different game/flow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Prerequisites are explicit: link_account first, operator key required, read limits with get_agent_limits. It also states exclusions (bonus sats never used, agent rolls earn no promos, rebates, races or jackpots) and points to the website wager grid for limits, leaving nothing 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.