Skip to main content
Glama

prepare_mint_companion

Companions: prepare (unsigned) a mint in ETH, price read live from the contract. Pass pick (a type id from companion_info) to choose the companion, or leave it out for a random pull (public window only). Before the public window only Override Disk holders and ranked Stash wallets may pick, up to the tier their rank allows; refused with the reason when the drop is closed, sold out, gated, the type is gone or the wallet cannot afford it. The wallet is simulated; the contract refunds anything above the price. You sign and send it yourself.

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

Input Schema

NameRequiredDescriptionDefault
pickNoOptional: the companion type id (0 to typesCount minus 1, see companion_info). Omit for a random pull.
walletYesYour own 0x wallet address. Nothing is sent from it; it is used to read your balance and pick rights, and to simulate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so: unsigned output, simulated wallet, live on-chain price, automatic refund of excess ETH, and user-signed submission. It also enumerates the refusal conditions and that the reason is returned, which is exactly the failure-mode context an agent needs.

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-loads purpose, then parameters, then eligibility, then mechanics, so the key facts come first. The gating sentence is a long run-on with several conditions stacked, which costs some readability, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with no output schema and no annotations, the definition covers purpose, parameter meaning, eligibility, failure modes, and transaction mechanics. Nothing material an agent needs before calling it is missing.

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: `pick` is a type id sourced from companion_info with a fallback to a random pull, and `wallet` is explicitly read-only for balance/pick-rights/simulation purposes. That clarification of side-effect-free wallet use goes beyond the schema text.

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) a mint in ETH' for Companions, with price read live from the contract. This distinguishes the tool from sibling mint preparers (fighter, operative, gm_flash) and from companion_info by making clear it produces an unsigned transaction rather than metadata.

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 when to pass `pick` versus omitting it for a random pull, and notes the random pull is only valid in the public window. It also states the pre-window eligibility rules (Override Disk holders, ranked Stash wallets, tier caps), though it does not explicitly route the agent to companion_info or to any sibling preparer as an alternative.

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