Skip to main content
Glama

Change a node

rent_supply_update_node
Idempotent

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. Changes a node's ask, capacity, region or payout. A new ask applies to leases placed from now on; running leases keep their rates. More slots or a new region sends the node back to probing. payout is the USDC address this node is paid to from the next payout on; the node view shows it as payout, null while none is registered. Change it only when the user asks, with the address the user gave. 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. Changing payout needs signed_nonce: a nonce from GET /v1/accounts/nonce, signed with your account's agent key over the message rent.dev payout v2\n<node_id>\n<nonce>\n<public_key>\n<network>\n<address> (six lines joined by newlines, no newline at the end). <address> is payout.address in lowercase. <network> is payout.network when you send it, else the payout network: payouts.network in rent_supply_earnings (while that is null, send payout.network and sign over it). Sign over exactly the address and network you send; a proof for another node, address or network is refused with payout_proof_required, and so is the old four-line message. A refusal carries retryable, owner_action_required and next; run next.command after next.after_s seconds, on a driver machine through npx and with its driver file, as rent_supply_guide says.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "node_id": "<node_id>"
    },
    "name": "rent_supply_update_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
askNoUSD per vCPU-hour and per GiB-hour, as decimal strings.
payoutNoWhere this node's payouts go. 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.
regionNoA generic label such as `us-central`.
node_idYesNode id (`n` and 15 characters) from rent_supply_nodes, or from the node kit once a node is claimed.
capacityNo
signed_nonceNoRequired with `payout`.

Output Schema

NameRequiredDescriptionDefault
idYes
askYes
kitNo
nextYes
wireYes
stateYes
checksYes
payoutYes
regionYes
reasonsYes
capacityYes
phase_msYes
placementYes
reachableYes
templatesYes
endpoint_idYes
time_to_first_payable_msYes
time_to_first_customer_lease_msYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / checks / items / properties / code / enum
      Previous value: -[
      -  "os_linux",
      -  "kvm_available",
      -  "cgroup_v2",
      -  "docker_version",
      -  "docker_compose",
      -  "outbound_443",
      -  "outbound_7844",
      -  "disk_free_gib",
      -  "memory_gib",
      -  "embed_ports_closed",
      -  "clock_skew",
      -  "bare_metal",
      -  "no_unattended_upgrades",
      -  "other_schedulers",
      -  "link_up",
      -  "gate_answers",
      -  "key_proof",
      -  "template_base",
      -  "create",
      -  "exec",
      -  "shape_vcpu",
      -  "shape_memory",
      -  "cpu_bench",
      -  "file_roundtrip",
      -  "cold_start_ms",
      -  "kill",
      -  "kill_idempotent",
      -  "no_orphans",
      -  "data_plane",
      -  "paid_path"
      -]New value: +[
      +  "os_linux",
      +  "kvm_available",
      +  "cgroup_v2",
      +  "docker_version",
      +  "docker_compose",
      +  "outbound_443",
      +  "outbound_7844",
      +  "disk_free_gib",
      +  "memory_gib",
      +  "embed_ports_closed",
      +  "host_firewall",
      +  "clock_skew",
      +  "bare_metal",
      +  "no_unattended_upgrades",
      +  "other_schedulers",
      +  "link_up",
      +  "gate_answers",
      +  "key_proof",
      +  "template_base",
      +  "create",
      +  "exec",
      +  "shape_vcpu",
      +  "shape_memory",
      +  "cpu_bench",
      +  "file_roundtrip",
      +  "cold_start_ms",
      +  "kill",
      +  "kill_idempotent",
      +  "no_orphans",
      +  "data_plane",
      +  "paid_path"
      +]
    • changedOutput schema / properties / reasons / items / enum
      Previous value: -[
      -  "os_linux",
      -  "kvm_available",
      -  "cgroup_v2",
      -  "docker_version",
      -  "docker_compose",
      -  "outbound_443",
      -  "outbound_7844",
      -  "disk_free_gib",
      -  "memory_gib",
      -  "embed_ports_closed",
      -  "clock_skew",
      -  "link_up",
      -  "gate_answers",
      -  "key_proof",
      -  "template_base",
      -  "create",
      -  "exec",
      -  "shape_vcpu",
      -  "shape_memory",
      -  "cpu_bench",
      -  "file_roundtrip",
      -  "kill",
      -  "kill_idempotent",
      -  "no_orphans",
      -  "data_plane",
      -  "paid_path",
      -  "stale_heartbeat",
      -  "liveness_mismatch",
      -  "provider_request"
      -]New value: +[
      +  "os_linux",
      +  "kvm_available",
      +  "cgroup_v2",
      +  "docker_version",
      +  "docker_compose",
      +  "outbound_443",
      +  "outbound_7844",
      +  "disk_free_gib",
      +  "memory_gib",
      +  "embed_ports_closed",
      +  "host_firewall",
      +  "clock_skew",
      +  "link_up",
      +  "gate_answers",
      +  "key_proof",
      +  "template_base",
      +  "create",
      +  "exec",
      +  "shape_vcpu",
      +  "shape_memory",
      +  "cpu_bench",
      +  "file_roundtrip",
      +  "kill",
      +  "kill_idempotent",
      +  "no_orphans",
      +  "data_plane",
      +  "paid_path",
      +  "stale_heartbeat",
      +  "liveness_mismatch",
      +  "provider_request"
      +]
  2. Changed7 schema fields changed
    • removedInput schema / properties / payout / additionalProperties
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / payout / description
      Added value: +"Where this node's payouts go. 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."
    • addedInput schema / properties / payout / properties
      Added value: +{
      +  "address": {
      +    "description": "The USDC address payouts go to: 0x and 40 hex digits, lowercase or with a correct EIP-55 checksum, never the zero address.",
      +    "type": "string"
      +  },
      +  "network": {
      +    "description": "CAIP-2 network of the address, e.g. `eip155:8453`. Leave it out for the payout network; any other is refused.",
      +    "type": "string"
      +  }
      +}
    • removedInput schema / properties / payout / propertyNames
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / payout / required
      Added value: +[
      +  "address"
      +]
    • addedOutput schema / properties / payout
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "address": {
      +          "pattern": "^0x[0-9a-f]{40}$",
      +          "type": "string"
      +        },
      +        "network": {
      +          "anyOf": [
      +            {
      +              "pattern": "^eip155:[1-9][0-9]*$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "address",
      +        "network"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "endpoint_id",
      -  "state",
      -  "wire",
      -  "region",
      -  "ask",
      -  "capacity",
      -  "templates",
      -  "checks",
      -  "reasons",
      -  "reachable",
      -  "next",
      -  "phase_ms",
      -  "placement",
      -  "time_to_first_payable_ms",
      -  "time_to_first_customer_lease_ms"
      -]New value: +[
      +  "id",
      +  "endpoint_id",
      +  "state",
      +  "wire",
      +  "region",
      +  "ask",
      +  "capacity",
      +  "templates",
      +  "checks",
      +  "reasons",
      +  "reachable",
      +  "next",
      +  "phase_ms",
      +  "placement",
      +  "time_to_first_payable_ms",
      +  "time_to_first_customer_lease_ms",
      +  "payout"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: a new ask applies only to future leases, added slots or a new region re-triggers probing, payouts are daily and irreversible, and changing payout requires a signed_nonce. It also documents the exact failure mode (payout_proof_required) and the retry protocol via `retryable`/`owner_action_required`/`next`. Only slight gap: it does not say what happens to in-flight leases when capacity is reduced below current usage.

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?

The core action is pushed to the second sentence behind an audience-defining opener, and the payout paragraph largely restates the `payout` property description verbatim. The signing specification is necessarily dense, but the block is unstructured prose where a short list would read faster.

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 6-parameter mutation tool with a nested payout object and a proof-signing requirement, the description covers preconditions, side effects, error codes, and retry handling; an output schema exists, so return values need no explanation. Nothing an agent needs 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.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 83%, yet the description still adds critical meaning: the exact six-line signed message, that `<address>` must be lowercase, that `<network>` falls back to payouts.network in rent_supply_earnings, and that the old four-line proof is refused. That is semantics the schema cannot express and prevents a whole class of failed calls.

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 and enumerates exactly which fields change: "Changes a node's ask, capacity, region or payout." It also names the contrasting sibling (rent_create_sandbox) so an agent can tell supply-side edits apart from consumer-side provisioning 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?

Gives explicit when-not guidance for the risky field ("Change it only when the user asks, with the address the user gave") and routes agents who actually want compute to rent_create_sandbox on /mcp or POST /v1/sandboxes. The node view's `payout` and rent_supply_earnings are named as the read paths for the data needed before calling.

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