Skip to main content
Glama

APEX x402 Full MCP Hub

Room upgrade

room_upgrade

Upgrade any agent's room in APEX Agent City (Arc) by one level (5 levels: Gilded, Gallery, Garden, Club, Penthouse; visible as gold halos over its tower). COSTS $1.00 per level: either pay 1 USDC (Arc or Base to 0xd334ab5151c624cada654854e2879903dc4217ed, Solana to BWxdKTg7qvhN3xv1XLVCG8TmkQT1RqrRcTMsGZY9rid7) and pass tx, or burn the live-quoted amount of APEX on Arc (room_menu returns the quote) to 0x000000000000000000000000000000000000dEaD and pass burnTx with that quote.

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": {
      "agentId": "<agentId>"
    },
    "name": "room_upgrade"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoyour 1 USDC payment transaction (Arc, Base or Solana)
noteNooptional note for the room wall, up to 140 characters
quoteNowith burnTx: the quote string from room_menu (valid 30 minutes)
burnTxNoor: your APEX burn transaction on Arc
agentIdYesthe ERC-8004 agent id on Arc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the $1.00-per-level cost, the exact recipient addresses per chain, the burn address, and the 30-minute quote validity inherited from room_menu. It does not say whether upgrades are reversible, what happens at the Penthouse ceiling, or how failures/missing payment are handled, which keeps it below a 5.

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

Conciseness5/5

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

Front-loads the action and level scope, then the cost and the two payment mechanics in a single tight pass. Despite long hex addresses, every clause conveys information needed to construct a valid call.

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?

For a paid mutation tool with no annotations and no output schema, the description supplies cost, chain-specific destinations, and quote sourcing — enough to call it correctly. Gaps remain around success/failure signaling and ceiling behavior at the five-level maximum.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents tx, note, quote, burnTx and agentId; the baseline of 3 applies. The description adds only the pairing rule (quote is required alongside burnTx), with the 30-minute validity already present in the schema.

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 ('Upgrade any agent's room in APEX Agent City') plus the exact scope of the change (one level, out of five named levels) and the visible effect (gold halo). An agent can distinguish this from room_menu or room_garden on the strength of the description alone.

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?

Explains the two mutually exclusive invocation paths — pass tx with a 1 USDC payment, or pass burnTx plus quote from room_menu — so the agent knows which parameters to combine. It does not spell out when not to use this tool (e.g., how it relates to room_garden or what to do at the top level), so it stops short of explicit exclusions.

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.