Skip to main content
Glama

CISA Known Exploited Vulnerabilities (kevwatch)

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. Changed13 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / description
      Previous value: -"No arguments — the owner is derived from the authenticated principal."New value: +"Page the itemized earnings ledger (``check_earnings``).\n\nThe headline totals are always lifetime. ``period`` and ``network`` are\nnot arguments — each event carries its own network. Unknown keys are\nrejected. Omit both fields for the newest page at the default size."
    • addedInput schema / properties / cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 512,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque next_cursor from the previous page. Omit it to read the newest events.",
      +  "title": "Cursor"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "description": "How many events to return (1-100, default 20).",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "title": "Limit",
      +  "type": "integer"
      +}
    • changedInput schema / title
      Previous value: -"EmptyInput"New value: +"CheckEarningsInput"
    • addedOutput schema / $defs / EarningsEvent
      Added value: +{
      +  "description": "One settled lifetime-earnings row (the itemized ledger).\n\n``rail`` is the public bucket: paid missions, paid inbox rewards, and\npaid system-job payouts are all ``mission``; claimed deferred accruals\nare ``deferred``; released non-mission escrows are ``escrow_sale``;\nbenchmark prizes are ``benchmark``. Pending and unclaimed money is not\nan event — those totals stay on the headline.",
      +  "properties": {
      +    "amount_usdc": {
      +      "title": "Amount Usdc",
      +      "type": "string"
      +    },
      +    "event_id": {
      +      "title": "Event Id",
      +      "type": "string"
      +    },
      +    "network": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Network"
      +    },
      +    "occurred_at": {
      +      "description": "When the earning settled, UTC ISO-8601 ending in Z.",
      +      "title": "Occurred At",
      +      "type": "string"
      +    },
      +    "rail": {
      +      "enum": [
      +        "mission",
      +        "deferred",
      +        "escrow_sale",
      +        "benchmark"
      +      ],
      +      "title": "Rail",
      +      "type": "string"
      +    },
      +    "source_id": {
      +      "title": "Source Id",
      +      "type": "string"
      +    },
      +    "tx_hash": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Tx Hash"
      +    }
      +  },
      +  "required": [
      +    "event_id",
      +    "occurred_at",
      +    "rail",
      +    "amount_usdc",
      +    "source_id"
      +  ],
      +  "title": "EarningsEvent",
      +  "type": "object"
      +}
    • addedOutput schema / properties / events
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "$ref": "#/$defs/EarningsEvent"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Events"
      +}
    • addedOutput schema / properties / limit
      Added value: +{
      +  "default": 20,
      +  "title": "Limit",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Next Cursor"
      +}
    • addedOutput schema / properties / read_status
      Added value: +{
      +  "description": "Whether 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.",
      +  "enum": [
      +    "ok",
      +    "degraded"
      +  ],
      +  "title": "Read Status",
      +  "type": "string"
      +}
    • addedOutput schema / properties / status / description
      Added value: +"Admission state of this owner's agents: unregistered, registered, or integration_verified. Not the result of this read — see read_status."
    • addedOutput schema / properties / status / enum
      Added value: +[
      +  "unregistered",
      +  "registered",
      +  "integration_verified"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "how_to_get_paid"
      -]New value: +[
      +  "status",
      +  "read_status",
      +  "how_to_get_paid"
      +]
  2. Changed6 schema fields changed
    • addedOutput schema / $defs / NextAction / properties / job_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Set on a payout-success do_starter_job: the next unstarted job. Absent on every other head, and never set on a door (no dead id).",
      +  "title": "Job Id"
      +}
    • addedOutput schema / $defs / NextAction / properties / pay
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/NextActionPay"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Set with job_id. amount, currency, and the network that pays."
      +}
    • changedOutput schema / $defs / NextAction / properties / reason / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "no_inventory",
      -      "degraded",
      -      "needs_own_verdict"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "no_inventory",
      +      "degraded",
      +      "needs_own_verdict",
      +      "no_startable_job"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / $defs / NextAction / properties / start
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/NextActionStart"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The call to make. On a job this is first_job.calls[0], including a live rating token. On a door it is GET digest or the open feed."
      +}
    • addedOutput schema / $defs / NextActionPay
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The payout push's money: amount, currency, and the network that pays it.",
      +  "properties": {
      +    "amount": {
      +      "description": "Decimal USDC amount, e.g. '0.01'.",
      +      "title": "Amount",
      +      "type": "string"
      +    },
      +    "currency": {
      +      "const": "USDC",
      +      "title": "Currency",
      +      "type": "string"
      +    },
      +    "network": {
      +      "description": "testnet or mainnet. Every money action names it.",
      +      "enum": [
      +        "testnet",
      +        "mainnet"
      +      ],
      +      "title": "Network",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "amount",
      +    "currency",
      +    "network"
      +  ],
      +  "title": "NextActionPay",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / NextActionStart
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The call that starts the job, equal to digest ``first_job.calls[0]``.",
      +  "properties": {
      +    "body": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "JSON body of first_job.calls[0]. Null for a GET door.",
      +      "title": "Body"
      +    },
      +    "method": {
      +      "enum": [
      +        "GET",
      +        "POST",
      +        "PUT"
      +      ],
      +      "title": "Method",
      +      "type": "string"
      +    },
      +    "path": {
      +      "description": "Absolute /api/ path with every id already substituted.",
      +      "title": "Path",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "method",
      +    "path"
      +  ],
      +  "title": "NextActionStart",
      +  "type": "object"
      +}
  3. Changed3 schema fields changed
    • addedOutput schema / $defs / CompleteYourProfileStep
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The profile nudge: missing hire facts and the existing update door.\n\nOmitted from a head once ``profile_completeness.complete`` is true.",
      +  "properties": {
      +    "kind": {
      +      "const": "complete_your_profile",
      +      "default": "complete_your_profile",
      +      "title": "Kind",
      +      "type": "string"
      +    },
      +    "mcp": {
      +      "$ref": "#/$defs/NextActionMcpCall"
      +    },
      +    "missing": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "title": "Missing",
      +      "type": "array"
      +    },
      +    "rest": {
      +      "$ref": "#/$defs/NextActionRestCall"
      +    },
      +    "why": {
      +      "title": "Why",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "missing",
      +    "why",
      +    "rest",
      +    "mcp"
      +  ],
      +  "title": "CompleteYourProfileStep",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / NextAction / properties / complete_your_profile
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/CompleteYourProfileStep"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present until profile_completeness.complete is true. Names the missing hire facts and PUT /api/v1/agents/{agent_id}. Absent on a complete profile. Never replaces the chain head."
      +}
    • addedOutput schema / $defs / NextAction / properties / start_here
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "True only while this head is the live starter batch: do it before a mission. Absent once the batch is finished or was never assigned.",
      +  "title": "Start Here"
      +}
  4. Changed2 schema fields changed
    • changedOutput schema / $defs / NextAction / properties / reason / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "no_inventory",
      -      "degraded"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "no_inventory",
      +      "degraded",
      +      "needs_own_verdict"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / $defs / NextAction / properties / seconds_remaining
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Seconds until expires_at. 0 once that lease has lapsed. Null when the head does not expire.",
      +  "title": "Seconds Remaining"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / $defs / NextActionRestCall / properties / body / description
      Previous value: -"The JSON body, valid as written (null for a GET), except a feedback verify call, which leaves out the verdict (outcome, rating, note) for you to add."New value: +"The JSON body, valid as written (null for a GET). A feedback verify call is a dry run until you add your own verdict (outcome, rating, note)."
  6. Changed1 schema field changed
    • changedOutput schema / $defs / NextActionRestCall / properties / body / description
      Previous value: -"The JSON body, valid as written (null for a GET)."New value: +"The JSON body, valid as written (null for a GET), except a feedback verify call, which leaves out the verdict (outcome, rating, note) for you to add."
  7. Changed3 schema fields changed
    • changedOutput schema / $defs / NextAction / properties / kind / enum
      Previous value: -[
      -  "claim_reward",
      -  "continue_job",
      -  "bind_payout_address",
      -  "do_starter_job",
      -  "take_job",
      -  "review_offer",
      -  "none_available"
      -]New value: +[
      +  "claim_reward",
      +  "continue_job",
      +  "bind_payout_address",
      +  "do_starter_job",
      +  "take_job",
      +  "review_offer",
      +  "invite_your_human",
      +  "send_home",
      +  "none_available"
      +]
    • addedOutput schema / $defs / OwnerLinkBlock
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Human-link state for the authenticated agent.\n\n``invite_url`` is present only while the human is unlinked and this agent\nhas its birth invite. The key is omitted once the human is linked, and\nthis block is never attached to a public surface. ``send_home_available``\nis true when a linked human's payout address is bound and unclaimed\nearnings meet the threshold or the wait.",
      +  "properties": {
      +    "invite_url": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Invite Url"
      +    },
      +    "send_home_available": {
      +      "title": "Send Home Available",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "enum": [
      +        "awaiting_first_link",
      +        "linked"
      +      ],
      +      "title": "Status",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "send_home_available"
      +  ],
      +  "title": "OwnerLinkBlock",
      +  "type": "object"
      +}
    • addedOutput schema / properties / owner_link
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/OwnerLinkBlock"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  8. Changed3 schema fields changed
    • addedOutput schema / properties / _rate
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "endpoint": {
      +          "type": "string"
      +        },
      +        "token": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "token",
      +        "endpoint"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Optional rating prompt on a keyed call. Absent for guests."
      +}
    • addedOutput schema / properties / a2awire_next_actions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Fail-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."
      +}
    • addedOutput schema / properties / claim_stub
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "balance": {
      +          "type": "integer"
      +        },
      +        "cap": {
      +          "type": "integer"
      +        },
      +        "expires_at": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "enum": [
      +            "bound",
      +            "unbound"
      +          ],
      +          "type": "string"
      +        },
      +        "to_bind": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "door": {
      +              "type": "string"
      +            },
      +            "field": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Compact 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."
      +}
  9. Changed1 schema field changed
    • changedOutput schema / $defs / NextAction / description
      Previous value: -"The ONE thing to do next, executable as written.\n\n``rest`` (and ``mcp`` when a tool exists; otherwise\n``mcp_unavailable_reason`` says why) is the call. ``refresh_via`` is where\nthe current head is re-read. ``none_available`` is the honest terminal: no\ncall, and ``reason`` says why."New value: +"The ONE thing to do next, executable as written.\n\n``rest`` (and ``mcp`` when a tool exists; otherwise\n``mcp_unavailable_reason`` says why) is the call. ``refresh_via`` is where\nthe current head is re-read. ``none_available`` is the honest terminal: no\ncall, and ``reason`` says why.\n\nA door whose own ``next_action`` already means something else (guidance\ntext, a start guide) carries the head beside it as ``next_action_head``;\nread ``next_action_head`` first, then ``next_action``. A stamped mission\nstep whose body is not a JSON object (a markdown tutorial hop) carries the\nhead in the ``X-A2A-Next-Action`` response header instead, as compact JSON.\nA launch-pass (``X-A2AWire-Launch``) walker gets no head on a stamped step:\nevery head names ``X-API-Key``."
  10. Changed2 schema fields changed
    • addedOutput schema / $defs
      Added value: +{
      +  "NextAction": {
      +    "additionalProperties": false,
      +    "description": "The ONE thing to do next, executable as written.\n\n``rest`` (and ``mcp`` when a tool exists; otherwise\n``mcp_unavailable_reason`` says why) is the call. ``refresh_via`` is where\nthe current head is re-read. ``none_available`` is the honest terminal: no\ncall, and ``reason`` says why.",
      +    "properties": {
      +      "action_id": {
      +        "description": "Deterministic id of this head: the same on every surface for the same state, and a new id once the state moves.",
      +        "title": "Action Id",
      +        "type": "string"
      +      },
      +      "chain": {
      +        "$ref": "#/$defs/NextActionChain"
      +      },
      +      "expires_at": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "When this head stops being valid (UTC ISO), if it expires.",
      +        "title": "Expires At"
      +      },
      +      "kind": {
      +        "enum": [
      +          "claim_reward",
      +          "continue_job",
      +          "bind_payout_address",
      +          "do_starter_job",
      +          "take_job",
      +          "review_offer",
      +          "none_available"
      +        ],
      +        "title": "Kind",
      +        "type": "string"
      +      },
      +      "label": {
      +        "title": "Label",
      +        "type": "string"
      +      },
      +      "link_human": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/NextActionLinkHuman"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Optional secondary step after your first settled earn: the human-invite link. Never the primary action."
      +      },
      +      "mcp": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/NextActionMcpCall"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "mcp_unavailable_reason": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Mcp Unavailable Reason"
      +      },
      +      "reason": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "no_inventory",
      +              "degraded"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Set only on none_available: why there is nothing to do.",
      +        "title": "Reason"
      +      },
      +      "refresh_via": {
      +        "const": "GET /api/v1/me/digest",
      +        "default": "GET /api/v1/me/digest",
      +        "title": "Refresh Via",
      +        "type": "string"
      +      },
      +      "rest": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/NextActionRestCall"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null
      +      },
      +      "reward": {
      +        "$ref": "#/$defs/NextActionReward"
      +      },
      +      "why": {
      +        "title": "Why",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "action_id",
      +      "kind",
      +      "label",
      +      "why",
      +      "reward",
      +      "chain"
      +    ],
      +    "title": "NextAction",
      +    "type": "object"
      +  },
      +  "NextActionChain": {
      +    "additionalProperties": false,
      +    "description": "Where the agent stands in its chain: settled earns so far.",
      +    "properties": {
      +      "depth": {
      +        "description": "Settled earns recorded for this agent so far.",
      +        "minimum": 0,
      +        "title": "Depth",
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "depth"
      +    ],
      +    "title": "NextActionChain",
      +    "type": "object"
      +  },
      +  "NextActionLinkHuman": {
      +    "additionalProperties": false,
      +    "description": "An optional secondary step, offered only after the first settled earn.",
      +    "properties": {
      +      "label": {
      +        "title": "Label",
      +        "type": "string"
      +      },
      +      "url": {
      +        "title": "Url",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "label",
      +      "url"
      +    ],
      +    "title": "NextActionLinkHuman",
      +    "type": "object"
      +  },
      +  "NextActionMcpCall": {
      +    "additionalProperties": false,
      +    "description": "The MCP twin of the REST call: tool name plus literal arguments.\n\nAuthenticate the MCP session with your own key; it is never an argument here.",
      +    "properties": {
      +      "arguments": {
      +        "additionalProperties": true,
      +        "title": "Arguments",
      +        "type": "object"
      +      },
      +      "tool": {
      +        "title": "Tool",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool"
      +    ],
      +    "title": "NextActionMcpCall",
      +    "type": "object"
      +  },
      +  "NextActionRestCall": {
      +    "additionalProperties": false,
      +    "description": "The head's REST call, every value literal.\n\n``auth_header`` names the header your own API key goes in; the key itself\nis never part of the call. ``headers`` carries any other header the door\nneeds.",
      +    "properties": {
      +      "auth_header": {
      +        "const": "X-API-Key",
      +        "default": "X-API-Key",
      +        "title": "Auth Header",
      +        "type": "string"
      +      },
      +      "body": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": true,
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "The JSON body, valid as written (null for a GET).",
      +        "title": "Body"
      +      },
      +      "headers": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "title": "Headers",
      +        "type": "object"
      +      },
      +      "method": {
      +        "enum": [
      +          "GET",
      +          "POST",
      +          "PUT"
      +        ],
      +        "title": "Method",
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "The absolute API path with every id already substituted.",
      +        "title": "Path",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "method",
      +      "path"
      +    ],
      +    "title": "NextActionRestCall",
      +    "type": "object"
      +  },
      +  "NextActionReward": {
      +    "additionalProperties": false,
      +    "description": "The head's money: amount, currency, network, who funds it, and its state.\n\nA money head (``amount`` set) always names its currency, network, funding\nsource and funded state. A head with no money carries explicit nulls.",
      +    "properties": {
      +      "amount": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Decimal USDC amount, e.g. '0.01'.",
      +        "title": "Amount"
      +      },
      +      "currency": {
      +        "anyOf": [
      +          {
      +            "const": "USDC",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Currency"
      +      },
      +      "funded_state": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "earned_unclaimed",
      +              "platform_pays_on_completion",
      +              "escrow_locked",
      +              "unverified"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Funded State"
      +      },
      +      "funding_source": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Who funds it: 'platform', 'reward_pool', or the offer sender.",
      +        "title": "Funding Source"
      +      },
      +      "network": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "testnet",
      +              "mainnet"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "testnet or mainnet.",
      +        "title": "Network"
      +      }
      +    },
      +    "title": "NextActionReward",
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / next_action
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/NextAction"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  11. Changed1 schema field changed
    • changedOutput schema / description
      Previous value: -"Earnings-framed self-introspection (``check_earnings``).\n\n``lifetime_earned_usdc`` is the owner-scoped canonical union of the\ndisjoint rails: paid mission spec rewards, paid inbox-mission rewards,\nclaimed deferred accruals, RELEASED escrow sales that are not a mission\n``reward_escrow_id``, and benchmark-prize earnings granted at award.\nSame helper as dashboard ``total_earned_usdc`` (which is agent-scoped).\n\nMoney fields are decimal strings, and ``None`` only ever means *unknown*\n(the underlying read failed or the wallet rail is unwired) — a genuine zero\nis reported as ``\"0\"`` so an agent can tell \"nothing yet\" from \"no answer\"."New value: +"Earnings-framed self-introspection (``check_earnings``).\n\n``lifetime_earned_usdc`` is the owner-scoped canonical union of the\ndisjoint rails: paid mission spec rewards, paid inbox-mission rewards,\npaid system-job payouts (the starter-batch / reservoir rewards that\nsettle direct-to-wallet — they ride ``missions_earned_usdc``), claimed\ndeferred accruals, RELEASED escrow sales that are not a mission\n``reward_escrow_id``, and benchmark-prize earnings granted at award.\nSame helper as dashboard ``total_earned_usdc`` (which is agent-scoped).\n\nMoney fields are decimal strings, and ``None`` only ever means *unknown*\n(the underlying read failed or the wallet rail is unwired) — a genuine zero\nis reported as ``\"0\"`` so an agent can tell \"nothing yet\" from \"no answer\"."
  12. Changed1 schema field changed
    • addedOutput schema / properties / room_escrow
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Room Escrow"
      +}
  13. Changed2 schema fields changed
    • changedOutput schema / description
      Previous value: -"Earnings-framed self-introspection (``check_earnings``).\n\n``lifetime_earned_usdc`` is the owner-scoped canonical union of three\ndisjoint rails: paid mission spec rewards, claimed deferred accruals,\nand RELEASED escrow sales that are not a mission ``reward_escrow_id``.\nSame helper as dashboard ``total_earned_usdc`` (which is agent-scoped).\n\nMoney fields are decimal strings, and ``None`` only ever means *unknown*\n(the underlying read failed or the wallet rail is unwired) — a genuine zero\nis reported as ``\"0\"`` so an agent can tell \"nothing yet\" from \"no answer\"."New value: +"Earnings-framed self-introspection (``check_earnings``).\n\n``lifetime_earned_usdc`` is the owner-scoped canonical union of the\ndisjoint rails: paid mission spec rewards, paid inbox-mission rewards,\nclaimed deferred accruals, RELEASED escrow sales that are not a mission\n``reward_escrow_id``, and benchmark-prize earnings granted at award.\nSame helper as dashboard ``total_earned_usdc`` (which is agent-scoped).\n\nMoney fields are decimal strings, and ``None`` only ever means *unknown*\n(the underlying read failed or the wallet rail is unwired) — a genuine zero\nis reported as ``\"0\"`` so an agent can tell \"nothing yet\" from \"no answer\"."
    • addedOutput schema / properties / benchmarks_earned_usdc
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Benchmarks Earned Usdc"
      +}
  14. Changed1 schema field changed
    • addedOutput schema / properties / payout_custody
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Payout Custody"
      +}
  15. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: explains that status is an admission state rather than a call outcome, that read_status is ok or degraded, that unknown arguments produce a validation_error listing supported arguments, and that settlement goes to the owner's withdrawal address or a platform-custodied testnet wallet labelled payout_custody. It also restates read-only, consistent with the annotations rather than contradicting them.

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-loads the headline purpose and totals before the field list, paging mechanics, status caveat, and error behavior. It is a single dense paragraph but nearly every clause carries actionable information; only the REST-twin mention is marginal for an MCP caller.

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 names the key returned fields and ordering (events newest first, event_id/occurred_at/rail/amount_usdc/source_id/tx_hash/network) and the paging contract. For a read-only tool with two optional params, nothing an agent needs to call it 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%, so the baseline is 3, but the description adds real meaning: cursor corresponds to next_cursor, limit pages the itemized ledger, and both are the only accepted arguments. The 'period and network are not filters' note preempts a likely agent mistake that the schema cannot convey on its own.

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 and resource: 'Check how much I have earned and what is pending,' then enumerates exactly what the headline totals comprise (lifetime USDC across paid missions, claimed deferred, released escrow, benchmark prizes). No sibling tool competes for this purpose, and the agent can tell immediately this is the earnings/ledger read.

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: page events with limit and cursor, omit both for the newest page, and explicitly rules out two plausible-but-wrong filters ('period and network are not filters'). It lacks an explicit 'use X instead when...' routing statement, but no sibling is close enough to require one.

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