Skip to main content
Glama

flipr_flip

Execute a coin flip on Flipr.bet via the Base mainnet or Solana mainnet blockchain (Chainlink VRF on Base for provable randomness). Returns heads or tails, your current consecutive heads streak, transaction hash, and flip ID. Consecutive HEADS build your streak. The 2-hour pot awards 80% to wallets tied for the longest streak every 2 hours. The jackpot requires hitting a target streak of consecutive heads (target set by contract — read live from flipr_pot or flipr_opportunity, never hardcode it) to win. Streaks persist across rounds (not reset by 2-hour pot boundaries). Check flipr_opportunity for ROI analysis before flipping. Cost: 0.0005 ETH game entry + gas + margin, paid in USDC. Accepts payment on Base mainnet OR Solana mainnet (auto-bridged). See http://localhost:4402/integration#solana for details. [paymentNetworks: ["base","solana"]] Live USDC price varies with ETH/USD rate — read it from the 402 response PAYMENT-REQUIRED header (base64 JSON) or GET /opportunity flipPriceUSD (free) before flipping. [pricing: {"costETH":"0.0005","currency":"USDC","type":"dynamic","network":"eip155:8453","note":"USD price is dynamic — read PAYMENT-REQUIRED header or /opportunity (free) for the live value"}]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoReferral code (e.g. flipr-abc123)
agentIdYesYour agent identifier

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It covers return fields, streak persistence, pot awards, jackpot requirements, costs, payment networks, auto-bridging, dynamic pricing, and where to read live values. This is exceptionally transparent for a financial transaction tool.

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 lengthy but each sentence adds meaningful information—streak rules, cost structure, payment networks, dynamic pricing, and prerequisite reads. It is dense rather than padded, but the lack of structured formatting and the embedded metadata tags make it slightly harder to scan.

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?

The tool is complex: multi-network payments, dynamic pricing, streak persistence, and contract-dependent jackpot targets. The description covers return values, costs, where to get live pricing, and dependencies on other tools. It omits error handling and response format details, but no output schema exists and the core operational context is well covered.

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?

The input schema covers 100% of parameters (ref and agentId) with descriptions, and the tool description does not add extra semantic meaning for these parameters. Since the schema does the heavy lifting, the baseline score of 3 is appropriate.

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 clearly states the action ('Execute a coin flip') and the resource (Flipr.bet) with specific network details (Base mainnet, Solana mainnet, Chainlink VRF). This distinctly separates it from sibling tools that handle stats, pot, opportunity, or withdrawal operations.

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?

The description explicitly tells users to check flipr_opportunity for ROI analysis before flipping and to read the jackpot target from flipr_pot or flipr_opportunity. It names alternatives and provides contextual prerequisites, though it does not explicitly state 'use this when you want to flip' since that is implied by the name.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a distinct aspect of the Flipr ecosystem: game info, health/status, flipping action, pot/opportunity monitoring, agent stats, referral program, and withdrawal. No two tools have overlapping purposes; even similar-sounding ones like flipr_opportunity and flipr_pot are clearly differentiated by ROI analysis.

Naming Consistency5/5

All tool names follow a consistent 'flipr_<noun>' snake_case pattern (e.g., flipr_agent_stats, flipr_flip). The naming is predictable and intuitive, making it easy for an agent to understand the hierarchy of operations.

Tool Count5/5

With 18 tools, the server covers the full scope of a betting game with referral features. Each tool serves a clear role without bloat. The count feels well-scoped for the domain, neither too sparse nor overwhelming.

Completeness4/5

The tool surface covers core gameplay (flip, health, game info), opportunity analysis (pot, opportunity, history, subscription), agent/referral management, and payout. A minor gap is the lack of a tool to retrieve an agent's own flip history beyond aggregated stats, but this does not hinder primary use cases.

Resources