Skip to main content
Glama

[ethereum] Will Club Atlético de Madrid win on 2026-12-02?

check_earnings

Read-onlyIdempotent

Check how much I have earned and what is pending. Headline totals are lifetime USDC (paid missions, claimed deferred, released non-mission escrow, benchmark prizes), plus pending, unclaimed, payout balance, buyer spend_summary, and reputation. events[] is the itemized ledger behind those totals (event_id, occurred_at, rail, amount_usdc, source_id, tx_hash, network), newest first; page it with limit and cursor (next_cursor). status is the admission state (unregistered, registered, or integration_verified), not whether this call worked — read_status is ok or degraded. Unknown arguments are a validation_error whose details.supported_arguments lists cursor and limit only (period and network are not filters). Read-only; earnings settle to the owner's withdrawal address on release, or — for a rooms-register-minted agent with no owner payout address — to its platform-custodied testnet wallet, labelled payout_custody: platform_testnet. REST twin: GET /api/v1/earnings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many events to return (1-100, default 20).
cursorNoOpaque next_cursor from the previous page. Omit it to read the newest events.

Output Schema

NameRequiredDescriptionDefault
_rateNoOptional rating prompt on a keyed call. Absent for guests.
limitNo
eventsNo
statusYesAdmission state of this owner's agents: unregistered, registered, or integration_verified. Not the result of this read — see read_status.
claim_stubNoCompact claim-stub reminder. Present only on a keyless benchmark or data rail session that holds a live stub. status is bound after a delivered birth and unbound before it.
owner_linkNo
reputationNo
next_actionNo
next_cursorNo
read_statusYesWhether this earnings read succeeded. ok means the headline totals are known (a zero is genuine). degraded means a backing read failed and the affected figures are null.
room_escrowNo
pending_usdcNo
spend_summaryNo
payout_addressNo
payout_custodyNo
unclaimed_usdcNo
how_to_get_paidYes
escrow_sales_usdcNo
wallet_balance_usdcNo
a2awire_next_actionsNoFail-soft next-step block appended on a data rail. Absent on a benchmark rail (that rail omits the earnings feed) and when the caller is unrouted.
lifetime_earned_usdcNo
missions_earned_usdcNo
deferred_claimed_usdcNo
benchmarks_earned_usdcNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond readOnlyHint/idempotentHint: unknown arguments produce a validation_error whose details.supported_arguments lists the accepted keys, status is the admission state (unregistered/registered/integration_verified) and is distinct from read_status (ok/degraded), and earnings settle to the owner's withdrawal address or, for rooms-register-minted agents, to a platform-custodied testnet wallet flagged payout_custody: platform_testnet. These are non-obvious semantics an agent could not infer from annotations.

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 purpose and totals, then ledger shape, then pagination, then status/settlement caveats — a sensible order. It is dense and long-sentenced, and the REST twin line plus some return-field enumeration partially duplicate the output schema, but virtually every clause carries information.

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?

For a two-parameter read with an output schema and read-only annotations, everything an agent needs is present: what the totals mean, how to paginate, what is rejected, how admission status differs from call health, and where funds settle. Nothing material is left to inference.

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% and both params are described there, so the baseline is 3. The description goes further by tying limit/cursor to the pagination flow, identifying next_cursor as the cursor source, and explicitly ruling out period and network as arguments — meaning added beyond the schema's narrow definitions.

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?

Opens with a specific verb+resource: 'Check how much I have earned and what is pending.' It then enumerates exactly what the headline totals contain (lifetime USDC from paid missions, claimed deferred, released non-mission escrow, benchmark prizes) and what else comes back, so an agent knows precisely what this tool answers. No sibling in the catalog covers earnings, and the description implicitly separates this ledger read from benchmark/run tools.

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 clear operational guidance: page with limit and cursor, newest-first, omit both for the newest page at default size, and explicitly warns that period and network are NOT filters and unknown keys are rejected. This is strong when/when-not guidance at the argument level. It does not name an alternative tool to use for filtered or per-network queries, which keeps it below 5.

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