Skip to main content
Glama

prepare_buy_merc

Mercenary Market: prepare (unsigned) hiring mercenary(ies) for ETH: mercType 0 Shinobi, 1 Operator, 2 Breacher, 3 Ghost, 4 Marksman (all cost the same). +150 points for 7 days plus a perk; locked to you, not resellable. Uses the live Games Master v2 sale, only while the Mercenary Market event is live (otherwise not_on_sale, see gm_flash_info and prepare_gm_flash_mint).

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>",
      "mercType": "<mercType>"
    },
    "name": "prepare_buy_merc"
  }
}

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.
mercTypeYes0 to 4.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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 that output is unsigned, that the sale is event-gated with a specific error, and the resulting benefit (+150 points for 7 days plus a perk, locked to the caller, not resellable). It omits operational details such as approval/allowance requirements and what the caller is expected to do with the unsigned payload.

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?

Front-loaded with purpose, then type mapping, then economic outcome, then the live-event constraint. Information density is high and every clause is substantive, though the heavy parenthetical nesting makes it denser than it needs to be.

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 prepare/unsigned-transaction tool with no output schema, the description covers cost model, resulting entitlement, transfer restrictions, event gating, and the error path. The main remaining gap is the allowance/approval and post-signing flow, which the schema only hints at.

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 already 100%, so baseline is 3, but the description adds real meaning the schema lacks: the semantic mapping of mercType 0–4 to Shinobi/Operator/Breacher/Ghost/Marksman and the fact that all types cost the same. It says nothing extra about qty or wallet beyond what the schema documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('prepare (unsigned) hiring') and resource ('mercenary(ies)') plus payment unit (ETH), and pins the backing source to the live Games Master v2 sale, which separates it from generic buy siblings. It does not, however, distinguish itself from the sibling 'prepare_hire_merc', which reads like it could be the same action.

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 an explicit precondition ('only while the Mercenary Market event is live'), the failure mode when unmet ('not_on_sale'), and routes the agent to gm_flash_info and prepare_gm_flash_mint. No exclusion is given against prepare_hire_merc, so the alternative-selection guidance is incomplete.

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