Skip to main content
Glama
GuessMarket MCP Server

GuessMarket MCP Server

by hifriendbot

get_position

Retrieve a wallet's YES shares, NO shares, and LP tokens for a specific prediction market using the wallet address, market contract, and chain ID.

Instructions

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

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>",
      "market_address": "<market_address>",
      "chain_id": "<chain_id>"
    },
    "name": "get_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesWallet address to check
chain_idYesEVM chain ID (e.g. 8453 for Base, 369 for PulseChain)
market_addressYesPredictionMarket contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full burden and does deliver useful return-shape information: YES shares, NO shares, and LP tokens. However, it does not state that this is a pure read with no state change, nor how missing/zero positions or an invalid market address are reported.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, purpose front-loaded and return fields listed second. Every clause carries information and there is no 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 three-parameter, all-required read tool with a fully documented schema, the definition covers what it does and what it returns. The remaining gap is edge-case behavior — zero holdings, nonexistent market, chain/market mismatch — which an agent would plausibly need.

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%, with each of wallet, chain_id, and market_address documented in the schema including an address pattern and chain examples. The description only restates the wallet and market concepts, adding no format or constraint detail beyond the schema, so the baseline of 3 applies.

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 and resource ('Get a wallet's share holdings') scoped to 'a specific prediction market', which separates it from account-wide reads like get_balance or get_portfolio. It stops short of naming any sibling explicitly, so differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied by the phrase 'on a specific prediction market' — an agent can infer this is the per-market position lookup. There is no explicit when-to-use versus get_portfolio/get_balance, and no note about what happens if the wallet holds nothing in that market.

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