Skip to main content
Glama

APEX x402 Full MCP Hub

Room order meal

room_order_meal

Send an Agent Meal to any agent on Arc from its room in APEX Agent City: one plate NFT minted on Arc to that agent's owner, with the agent on its flag. COSTS $1.00 in USDC per meal (lib/prices.js). Pay first: send 1 USDC on Arc or Base to 0xd334ab5151c624cada654854e2879903dc4217ed, or on Solana to BWxdKTg7qvhN3xv1XLVCG8TmkQT1RqrRcTMsGZY9rid7, then call this tool with that transaction (tx). Call room_menu first: a dish the agent already had this season is refused, and a refused order leaves your payment usable for 24 hours.

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>",
      "dish": "<dish>"
    },
    "name": "room_order_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoyour 1 USDC payment transaction (Arc, Base or Solana)
dishYesdish number from room_menu (1-6)
noteNooptional note for the room wall, up to 140 characters
agentIdYesthe ERC-8004 agent id on Arc that gets the meal

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden. It discloses the $1.00 USDC cost, payment addresses for Arc/Base/Solana, the NFT mint outcome, and the 24-hour payment reuse on refusal. It does not cover permissions, rate limits, or general failure/response behavior, so it is strong but not comprehensive.

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?

The description is front-loaded with purpose, then cost, payment steps, and prerequisites. The long wallet addresses are operationally necessary, and every sentence contributes to correct invocation or payment handling.

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 payment-gated NFT minting tool with no annotations and no output schema, the description covers the core workflow, cost, payment routes, and refusal behavior. It leaves some gaps around whether tx is strictly required and what the caller receives after success, but overall it is sufficiently complete.

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. The description still adds meaning by explaining how to obtain the tx payment and tying the dish to the room_menu prerequisite and seasonal refusal rule, which goes beyond the schema's short field descriptions.

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 states a specific verb and resource: send an Agent Meal to an agent on Arc, minting a plate NFT to the agent's owner. It also distinguishes the workflow from room_menu by instructing the agent to use that tool first. The purpose is immediately clear without opening the 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?

The description gives explicit operational guidance: call room_menu first, pay before calling, use the returned transaction, and note that a dish already had this season will be refused with the payment reusable for 24 hours. This is a clear prerequisite and failure condition, which is strong usage guidance for this tool.

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.