Skip to main content
Glama

prepare_buy_portal

The Portal: prepare (unsigned) buying Portal disk(s) for ETH (x3 points for 48 hours on your crew once used): exactly price x qty. Uses the live Games Master v2 sale, only while the Portal event is live (otherwise not_on_sale, see gm_flash_info and prepare_gm_flash_mint). Max 20 per call.

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": {
      "wallet": "<wallet>"
    },
    "name": "prepare_buy_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
qtyNoHow many (default 1).
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/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 burden and does disclose real behavior: the output is unsigned (nothing is broadcast), pricing is exactly price x qty, quantity is capped at 20 per call, and an event-live gate can produce not_on_sale. It stops short of describing what the unsigned payload looks like or whether an allowance/approval step is required first, which the wallet parameter only hints at.

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?

The key scoping facts are front-loaded into a single dense sentence chain. The nested parentheticals and repeated colons make it slightly cluttered, but almost every clause carries operational information (cost formula, event gate, error code, cap).

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 two-parameter transaction-prep tool with no annotations and no output schema, the description covers cost computation, availability gating, failure state, and quantity limits. The remaining gap is return-value shape (what the unsigned transaction/calldata contains), which is minor since no output schema exists to be referenced.

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 two facts the schema lacks: qty multiplies the live unit price exactly, and the per-call ceiling is 20. That materially constrains how an agent should set qty.

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?

"prepare (unsigned) buying Portal disk(s) for ETH" names a specific verb, resource and payment asset, and the "unsigned" qualifier immediately tells the agent this is a transaction-building call, not a purchase. It also names the sibling tools (gm_flash_info, prepare_gm_flash_mint) that cover the adjacent flow.

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 states an explicit precondition (only while the Portal event is live), the failure mode if unmet (not_on_sale), and redirects to named alternatives (gm_flash_info, prepare_gm_flash_mint). When-to-use, when-not-to-use, and where-else-to-go are all present.

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