Skip to main content
Glama

A2A Gateway — Base Token Guard & x402 Settlement

slots_spin

Play one server-authoritative A2A arcade spin for 1 game point. Three matching reels pay 1/2/5/10/100 game points; the 15th consecutive miss is guaranteed to pay. Points won here can also pay points-rail gateway calls; granted points (new-member grant and daily relief) are arcade-only and cannot pay for services. Authenticate with a fresh signed arcade message; each nonce is single use.

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": {
      "wallet_address": "<wallet_address>",
      "nonce": "<nonce>",
      "expires_at": "<expires_at>",
      "signature": "<signature>"
    },
    "name": "slots_spin"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYes
signatureYes
expires_atYes
wallet_addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/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 well: it discloses server-authoritative execution, the payout tiers, a guaranteed payout on the 15th consecutive miss, single-use nonces, and the restriction that granted points are arcade-only. Gaps are what happens on error, whether the point is consumed on a miss, and any rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences, front-loaded with the action and cost, then economics, then authentication. No filler or repetition; every clause adds a distinct fact.

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 value-moving tool with no annotations and no output schema, the definition covers economics, guarantees, and auth constraints well. It stops short of telling the agent what a spin returns or how expires_at should be set, which matters given no output schema exists to fill that gap.

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

Parameters2/5

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

Schema coverage is 0%, so the description must explain all four parameters. It only obliquely covers nonce and signature via 'fresh signed arcade message; each nonce is single use'; expires_at and wallet_address receive no explanation at all, including units or validity windows.

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?

States a concrete verb and resource: 'Play one server-authoritative A2A arcade spin for 1 game point,' including the cost. That makes it distinguishable in practice from the sibling slots_state, though it never names or explicitly contrasts that sibling.

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

Usage Guidelines3/5

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

It gives the cost (1 game point) and the payout structure, which implies when to call it, plus a constraint that granted points cannot pay for services. It never states when NOT to use it or points to slots_state for querying state, so usage routing is only implied.

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.

Resources