Skip to main content
Glama

prepare_gm_flash_mint

Games Master paid flash mint: prepare (unsigned) one transaction buying quantity (1 to 20) from the flash sale that is open right now, for exactly price x quantity in ETH (read live). product is crate, portal or mercenary (optional: the open sale is used); mercenaries also need mercType 0 Shinobi, 1 Operator, 2 Breacher, 3 Ghost, 4 Marksman. Refused when no event is live, the cap is sold out, the input is bad or the wallet cannot afford it. The wallet is simulated. You sign and send it yourself, before the event ends.

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_gm_flash_mint"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and pick rights, and to simulate.
productNoOptional: which flash sale. Omit to use whichever is open.
mercTypeNoMercenaries only: 0 to 4.
quantityNoHow many (1 to 20, default 1).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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 well: it discloses that the output is an unsigned transaction the caller must sign and broadcast, that the wallet is only simulated for balance/rights checks, that price is read live, and the four refusal conditions. It omits deadline/gas/slippage handling and the precise shape of the returned transaction.

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?

Dense and front-loaded: the core action, price model, product/mercType rules, refusal conditions, and signing responsibility arrive in a logical order. It is long for a single paragraph and mixes parameter docs with behavioral caveats, but essentially no sentence is filler.

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 4-parameter mutation-prep tool with no annotations and no output schema, the definition covers the return type (unsigned tx), the simulation semantics, refusal cases, and the per-parameter constraints. What remains thin is post-prepare lifecycle detail such as deadline or failure handling after signing.

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 real meaning: the 1-20 quantity bound, that omitting `product` selects the currently open sale, and a mapping of `mercType` 0-4 to Shinobi/Operator/Breacher/Ghost/Marksman that the schema only summarizes as '0 to 4'.

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 ('prepare (unsigned) one transaction buying quantity from the flash sale that is open right now') and pins down the exact payment (price x quantity in ETH, read live). An agent can distinguish this from gm_flash_info (informational) and the prepare_mint_* siblings (different mint targets) 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 Guidelines4/5

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

Gives clear operating context: use while an event is live, sign and send the returned transaction yourself before the event ends, and it will be refused when no event is live, the cap is sold out, input is bad, or the wallet can't afford it. It does not explicitly name an alternative tool for checking sale status, so it stops short of full when/when-not routing.

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