Skip to main content
Glama

place_bet

Destructive

Bet on a fixed-odds prediction market 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 bets earn no promos, rebates or leaderboard prizes. You bet at the offered price only: pass expected_odds_pct = round(100 / multiplier, 2) and expected_line_version from markets_browse, and the bet is refused with the current offer if either moved. Same limits as the website (min/max stake, exposure and position caps), plus per-bet and per-day limits the account owner sets on lightningfaucet.com (read them with get_agent_limits). idempotency_key is required: reuse the same key on any retry and you get the original bet back, never a second one. Fixed-odds markets only. 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": {
      "market_id": "<market_id>",
      "position": "<position>",
      "amount_sats": "<amount_sats>",
      "expected_odds_pct": "<expected_odds_pct>",
      "expected_line_version": "<expected_line_version>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "place_bet"
  }
}

Input Schema

NameRequiredDescriptionDefault
positionYesSide to back
market_idYesMarket id from markets_browse (odds_model fixed_odds)
amount_satsYesStake in sats from the linked account's deposited balance
idempotency_keyYesRequired. Unique per bet (a UUID is fine); reuse the same key when retrying
expected_odds_pctYesround(100 / multiplier, 2) for your side, from markets_browse
expected_line_versionYesThe line_version you saw in markets_browse

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 by disclosing what is actually staked (deposited sats, never bonus), that no promos or rebates accrue, that the bet is refused if odds or line_version moved, and the full limit stack (site min/max stake, exposure/position caps, per-bet and per-day owner limits). The idempotency contract is spelled out concretely: reusing the key returns the original bet, never a second one. Note a mild tension with idempotentHint=false, but that hint is coarse about side effects (real sats are spent) rather than about key-replay behavior, so it is not a direct contradiction.

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?

Front-loaded with the core action and funding rule, then prerequisites and safety mechanics in a logical order. It is dense but every sentence carries information; the trailing 'REQUIRES OPERATOR KEY' would land better near the front, and idempotency_key being 'required' is restated from the schema.

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?

For a destructive, money-spending mutation with no output schema, it covers funding, price protection, limits, and retry safety thoroughly. It stops short of saying what a successful response contains (bet id, accepted odds, resulting balance), which is the one gap an agent must discover at runtime.

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

Parameters5/5

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

Schema coverage is already 100%, yet the description still adds real meaning: expected_odds_pct must equal round(100 / multiplier, 2) and expected_line_version must come from markets_browse, with a documented refusal path if either drifted. That is operational semantics the schema alone does not convey.

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 and resource ('Bet on a fixed-odds prediction market') plus the exact funding source ('REAL deposited sats of the Lightning Faucet account'). The 'Fixed-odds markets only' clause scopes it away from other market types without ambiguity.

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?

Gives prerequisites up front ('link_account first', REQUIRES OPERATOR KEY) and names two sibling tools to call before/around it (markets_browse for odds and line_version, get_agent_limits for limits). It also states exclusions: bonus sats are never used, agent bets earn no promos/rebates/leaderboard prizes.

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.