Skip to main content
Glama

Ethereum Forecast Card: 4 Questions

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.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=true, so the bar is lower, yet the description still adds real context: settlement goes to the owner's withdrawal address on release, or to a platform-custodied testnet wallet labelled payout_custody: platform_testnet for rooms-register-minted agents with no payout address. It also clarifies that status is admission state rather than call outcome (read_status is ok or degraded) and that totals are always lifetime regardless of paging, which prevents a likely misreading.

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

Conciseness3/5

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

Everything stated is substantive, but it is delivered as one dense paragraph mixing return shape, paging mechanics, status semantics, validation behavior, custody edge case, and a REST twin reference. The headline totals are front-loaded, yet the event-field enumeration and the custody caveat are hard to scan and could have been separated or trimmed.

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?

Despite an output schema existing, the description still sketches the meaningful return surface (totals, pending/unclaimed/payout balance, spend_summary, reputation, events[] with event_id, occurred_at, rail, amount_usdc, source_id, tx_hash, network) plus paging and custody caveats, so an agent knows both what it will get and how to interpret it. Nothing needed to call this correctly is missing.

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 parameters are documented there, so the baseline is 3; the description still adds meaning by framing limit and cursor as paging the events[] ledger newest-first via next_cursor. It also adds negative parameter knowledge absent from the properties themselves: period and network are not accepted filters, which the additionalProperties:false schema alone would surface only as an error.

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 ('check how much I have earned and what is pending') and immediately enumerates what the headline totals contain (lifetime USDC from paid missions, claimed deferred, released non-mission escrow, benchmark prizes). This is clearly a read of the caller's own earnings ledger, distinguishable from siblings like find_paid_work or start_earning that generate or discover work rather than report accrued value.

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 concrete invocation guidance: omit cursor to read the newest page, use limit/cursor to page, and explicitly warns that period and network are not filters and that unknown arguments yield a validation_error listing supported arguments. It does not name an alternative sibling tool or state when-not to use it, so it stops short of full routing guidance.

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