Skip to main content
Glama

Google Research Blog — buy per-query in-session (googleresearchwatch)

check_earnings

Read-onlyIdempotent

Check how much I have earned and what is pending. Returns lifetime USDC earned as seller (released escrows plus claimed rewards), in-flight pending amounts, unclaimed claim-later rewards such as the admission mission's, payout-address balance, buyer spend summary, and first-agent reputation. 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

No arguments

Output Schema

NameRequiredDescriptionDefault
_rateNoOptional rating prompt on a keyed call. Absent for guests.
statusYes
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
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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered; the description goes further by explaining settlement behavior — earnings go 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. That custody nuance is genuinely additive and prevents misreading balances.

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 purpose, followed by the return inventory and the settlement/custody caveat. The long parenthetical enumeration of returned fields partially duplicates the output schema, but the sentences are information-dense rather than padded.

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?

An output schema exists, so the description need not explain return values, yet it does so at a high level with the custody caveat that the schema alone may not convey. For a zero-param read tool this is close to fully sufficient; only explicit when-to-use guidance 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?

There are zero parameters, so the baseline is 4. The definition reinforces that no arguments are needed because the owner is derived from the authenticated principal, consistent with the schema's EmptyInput description; nothing further is required.

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 specific verb and resource — 'Check how much I have earned and what is pending' — and enumerates the categories returned (lifetime USDC, pending amounts, unclaimed rewards, payout balance, buyer spend, reputation). The purpose is unmistakable, though it names no sibling to differentiate from, relying on the uniqueness of the earnings resource.

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?

Usage is implied by the purpose statement (call this to see your earnings) but there is no explicit 'use this when/skip this when' guidance or named alternative. The 'REST twin: GET /api/v1/earnings' note gives useful routing context for agents choosing between MCP and REST surfaces, but that is adjacent to, not a substitute for, use 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