Skip to main content
Glama
GuessMarket MCP Server

GuessMarket MCP Server

by hifriendbot

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GUESSMARKET_API_URLNoCustom GuessMarket REST API base URL. Defaults to https://guessmarket.com/api/guessmarket/v1. No API keys are required.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_marketsA

List prediction markets on GuessMarket. Filter by status (active/resolved/all) and chain_id. Returns market address, question, odds, volume, and end time.

get_marketB

Get detailed info for a single prediction market by its contract address. Returns question, current YES/NO odds, volume, liquidity, end time, resolution status, and chain.

get_market_historyB

Get price history for a market. Returns timestamped YES/NO price data points for charting and trend analysis. Optionally specify chain_id and limit.

get_networksA

Get all blockchain networks GuessMarket is deployed on, with contract addresses (MarketFactory, FeeManager, Oracle, Stablecoin) for each chain. Essential for on-chain trading.

get_portfolioB

Get a wallet's trading activity across all GuessMarket markets. Returns trades with market address, outcome, shares, cost, and timestamp.

get_abiA

Get the ABI (Application Binary Interface) for a GuessMarket smart contract. Use this to build transactions for on-chain trading. Valid contracts: PredictionMarket, MarketFactory, ERC20, FeeManager, Oracle, SimpleOracle.

get_balanceA

Get a wallet's stablecoin (USDC/USDT) balance on a specific chain. Returns balance in both raw and human-readable format.

get_allowanceA

Check how much stablecoin a prediction market contract is approved to spend from a wallet. Use this before buying shares to see if an approve transaction is needed.

get_positionA

Get a wallet's share holdings on a specific prediction market. Returns YES shares, NO shares, and LP tokens.

build_approve_txA

Build an unsigned ERC-20 approve transaction to let a prediction market spend your stablecoin. Must be signed and broadcast before buying shares or adding liquidity.

build_buy_shares_txA

Build an unsigned transaction to buy YES or NO shares on a prediction market. Requires prior stablecoin approval. Returns shares based on CPMM pricing.

build_sell_shares_txA

Build an unsigned transaction to sell YES or NO shares on a prediction market. Returns stablecoin based on CPMM pricing.

build_add_liquidity_txA

Build an unsigned transaction to add liquidity to a prediction market. Requires prior stablecoin approval. Returns LP tokens.

build_remove_liquidity_txA

Build an unsigned transaction to remove liquidity from a prediction market. Burns LP tokens and returns stablecoin.

build_claim_winnings_txA

Build an unsigned transaction to claim winnings from a resolved prediction market. Only works after the market has been resolved. Returns stablecoin.

build_create_market_txB

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.

build_buy_with_approval_txA

Build TWO unsigned transactions: (1) approve stablecoin spending and (2) buy shares. Convenience tool that combines approve + buyShares. Both must be signed and sent in order.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 17 tools

Disambiguation4/5

The set splits cleanly into read tools (get_*) and transaction builders (build_*_tx), and each targets a distinct resource or action. The only real overlap is build_buy_with_approval_tx, which duplicates the combination of build_approve_tx + build_buy_shares_tx, and the approve/allowance pair could momentarily confuse an agent, but descriptions clarify the convenience role.

Naming Consistency5/5

Two predictable patterns are used throughout: get_<resource> for queries and build_<action>_tx for unsigned transaction builders. Every tool follows its family's convention with no camelCase mixing or vague verbs.

Tool Count4/5

At 17 tools it sits just above the ideal range, but every tool maps to a concrete DeFi operation (query, approve, buy, sell, add/remove liquidity, claim, create market). The one arguably redundant tool is build_buy_with_approval_tx, which is a convenience wrapper rather than a new capability.

Completeness5/5

The surface covers the full prediction-market lifecycle: network/contract discovery, market listing and detail, price history, ABI retrieval, balance/allowance/position queries, plus approve, buy, sell, add/remove liquidity, claim winnings, and market creation. No obvious dead ends for an agent executing an on-chain trading workflow.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues