Skip to main content
Glama

Get your earnings

rent_supply_earnings
Read-onlyIdempotent

For someone who runs a machine, their own or a VPS rented elsewhere, and wants to sell its compute; to get a machine to use, rent a sandbox instead, with rent_create_sandbox on /mcp or POST /v1/sandboxes over REST. What your nodes have earned, in micro-USD (one micro-USD is one USDC base unit): totals and one page of entries, newest first. A lease shows once it settles, never while it runs. Each entry counts in exactly one total, named by its state: pending (in the holdback, which is longer when the customer paid by card), releasable (waiting for its node's next payout), frozen (never paid while frozen), in_payout (in an open payout, named by payout_id), paid (the chain shows its payout made). unaddressed_micros is the releasable part on nodes with no payout address on the payout network: register one with rent_supply_update_node. payouts says whether this environment pays, and on which network, token and wallet. Each node is paid once a day, in USDC, to the address registered on that node; a node without an address is not paid and its releasable earnings wait until one is registered. A payout cannot be reversed, and a payout made is never sent again to another address. rent_supply_payouts lists the payouts themselves. next_cursor is only for the next call of this tool.

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": "rent_supply_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoEntries per page, 1-200. Default 50.
cursorNo

Output Schema

NameRequiredDescriptionDefault
entriesYes
payoutsYes
next_cursorYes
frozen_microsYes
pending_microsYes
paid_out_microsYes
in_payout_microsYes
releasable_microsYes
unaddressed_microsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedOutput schema / properties / entries / items / properties / payout_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "pattern": "^pay_(n[0-9a-hjkmnp-tv-z]{15})_(\\d{8})$",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / entries / items / properties / state
      Added value: +{
      +  "enum": [
      +    "paid",
      +    "in_payout",
      +    "frozen",
      +    "releasable",
      +    "pending"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / entries / items / required
      Previous value: -[
      -  "key",
      -  "lease_id",
      -  "node_id",
      -  "micros",
      -  "customer_micros",
      -  "created_at",
      -  "releasable_at",
      -  "frozen"
      -]New value: +[
      +  "key",
      +  "lease_id",
      +  "node_id",
      +  "micros",
      +  "customer_micros",
      +  "created_at",
      +  "releasable_at",
      +  "frozen",
      +  "state",
      +  "payout_id"
      +]
    • addedOutput schema / properties / in_payout_micros
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / payouts
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asset": {
      +      "anyOf": [
      +        {
      +          "pattern": "^0x[0-9a-f]{40}$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "enabled": {
      +      "type": "boolean"
      +    },
      +    "from": {
      +      "anyOf": [
      +        {
      +          "pattern": "^0x[0-9a-f]{40}$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "network": {
      +      "anyOf": [
      +        {
      +          "pattern": "^eip155:[1-9][0-9]*$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "enabled",
      +    "network",
      +    "asset",
      +    "from"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / unaddressed_micros
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "pending_micros",
      -  "releasable_micros",
      -  "frozen_micros",
      -  "paid_out_micros",
      -  "entries",
      -  "next_cursor"
      -]New value: +[
      +  "pending_micros",
      +  "releasable_micros",
      +  "frozen_micros",
      +  "in_payout_micros",
      +  "paid_out_micros",
      +  "unaddressed_micros",
      +  "payouts",
      +  "entries",
      +  "next_cursor"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and non-destructive, but the description adds substantial behavior the annotations cannot: leases appear only after settlement, each entry counts in exactly one state-named total, a payout is irreversible and never re-sent, and nodes are paid daily in USDC only if an address is registered. That is real operational context rather than a restatement of the hints.

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?

Most of the length is load-bearing — the state glossary and payout rules directly reduce invocation errors. The opening sentence is grammatically tangled (audience framing joined by a semicolon to a cross-sell) and buries the actual purpose behind a run-on clause, so the front-loading is weaker than it could be.

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?

An output schema exists, so return values needn't be enumerated, yet the description still explains the field semantics an agent needs to interpret them (`state` values, `unaddressed_micros`, `payouts`). For a two-parameter read tool with annotation coverage, nothing required for correct invocation 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 50%: `limit` is documented in the schema, but `cursor` has no description there. The description partially compensates by explaining `next_cursor` is "only for the next call of this tool," implying the continuation flow, and by framing the result as "one page of entries." It does not explicitly say to pass the prior `next_cursor` into `cursor`, so the mapping is inferable rather than stated.

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?

The description names the exact resource and the exact payload: "What your nodes have earned, in micro-USD... totals and one page of entries, newest first," and explicitly separates itself from rent_supply_payouts ("lists the payouts themselves"). An agent can tell this apart from the sibling payout-listing tool without opening either schema.

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

Usage Guidelines5/5

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

It names the audience (someone running a machine to sell compute) and redirects the wrong audience to a concrete alternative: "to get a machine to use, rent a sandbox instead, with rent_create_sandbox." It also routes remediation ("register one with rent_supply_update_node") and defers payout history to rent_supply_payouts, giving explicit when-to-use and when-not-to-use conditions.

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