Skip to main content
Glama
GuessMarket MCP Server

GuessMarket MCP Server

by hifriendbot

get_abi

Retrieve the ABI for GuessMarket smart contracts to build on-chain trading transactions, including PredictionMarket, MarketFactory, ERC20, FeeManager, Oracle, and SimpleOracle.

Instructions

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.

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": {
      "contract": "<contract>"
    },
    "name": "get_abi"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractYesContract name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the full behavioral burden. "Get" implies a read-only lookup and the description states what is returned conceptually (the ABI), but it says nothing about the return format, whether results are cached, or whether any network/auth prerequisites apply.

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 the core purpose in the first clause and kept to three short sentences appropriate to a simple getter. The trailing enumeration of contract names duplicates the schema enum, which is minor redundancy rather than waste.

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 one-parameter getter with no output schema, the description covers what is fetched and from which targets, which is nearly enough to call it correctly. A note on the ABI's return shape or on how its output feeds the build_*_tx siblings would close the remaining gap.

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 coverage is 100% with a single enum-constrained parameter, so the baseline is 3. The description repeats the same six contract names already enumerated in the schema and adds no meaning about which contract to pick (e.g., Oracle vs SimpleOracle) beyond the raw list.

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 the ABI ... for a GuessMarket smart contract") and enumerates the valid contract targets, so the agent knows exactly what it retrieves. It stops short of distinguishing itself from the sibling build_*_tx tools, which the phrase "Use this to build transactions" gestures at but never resolves.

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?

Offers an implied usage context ("Use this to build transactions for on-chain trading") and scopes the input to six contract names, but gives no explicit when-to-use versus when-not guidance, nor any hint about when an agent should prefer the build_*_tx siblings that already construct those transactions.

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