Skip to main content
Glama
GuessMarket MCP Server

GuessMarket MCP Server

by hifriendbot

build_create_market_tx

Build an unsigned transaction to create a prediction market via MarketFactory; the receipt returns the new market contract address for signing or deployment.

Instructions

Build an unsigned transaction to create a new prediction market via the MarketFactory. Returns the address of the new market contract in the transaction receipt.

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": {
      "question": "<question>",
      "end_time": "<end_time>",
      "chain_id": "<chain_id>"
    },
    "name": "build_create_market_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
chain_idYesEVM chain ID (e.g. 8453 for Base, 369 for PulseChain)
end_timeYesMarket end time as Unix timestamp (seconds). Must be in the future.
questionYesThe market question (e.g. "Will BTC reach $100k by Dec 2026?")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the key behavioral trait that the output is an unsigned transaction, implying the caller must sign and submit it, and it states the new market address is surfaced. However, it omits gas, fee/collateral requirements, and whether any approval is needed first, and the claim that the address appears 'in the transaction receipt' is imprecise for a build-only tool that returns a tx object rather than a mined receipt.

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?

Two tight sentences, front-loaded with the core action and no filler. The second sentence is somewhat imprecise about when the market address becomes available, which slightly undercuts an otherwise efficient structure.

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

Completeness3/5

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

All three parameters are fully documented in the schema and there is no output schema, so the main gap is describing the returned unsigned transaction shape and the sign/broadcast step the caller must perform. The description gestures at the return value but leaves the workflow and cost implications unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%: chain_id, end_time, and question each carry examples, units, and constraints. The description adds nothing about these parameters, which is acceptable given the schema already does the work, but it also adds no cross-parameter constraints or defaults.

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?

The description gives a specific verb+resource: 'Build an unsigned transaction to create a new prediction market via the MarketFactory.' That clearly separates it from siblings such as build_buy_shares_tx or build_add_liquidity_tx. It stops short of naming a sibling to contrast with, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no prerequisites, and no mention of alternatives or follow-up steps. The word 'unsigned' hints that signing and broadcasting happen elsewhere, but the description never says so or points at the surrounding workflow. An agent must infer the build-then-sign pattern from the sibling naming convention.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.