Skip to main content
Glama
polymarket-mcp

polymarket-mcp

by simonlokc

polymarket_resolve_token

Resolve a Polymarket outcome token ID, condition ID, or market slug into its market and outcome mapping, including labels, index, and sibling outcomes.

Instructions

Resolve an outcome token id, conditionId, or market slug to its market and outcome mapping (which outcome the token is, its label, index, and the sibling outcomes). The lookup the raw APIs make painful.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "polymarket_resolve_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoMarket slug.
token_idNoOutcome token id to resolve.
condition_idNoMarket conditionId (0x…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a read-only lookup through the word 'Resolve' and usefully previews the return shape, but it never states the critical constraint that the schema leaves implicit: all three parameters are optional and zero are required, yet at least one identifier obviously must be supplied. It also stays silent on precedence when multiple identifiers are passed and on what happens for an unknown token.

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 sentences, with the core operation and the returned fields front-loaded. The trailing clause 'The lookup the raw APIs make painful' is positioning rather than specification and does not earn much of its space, but it is short and does not obscure the substance.

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?

With no output schema, the description correctly compensates by listing the returned fields, which is the strongest part of the definition. However, for a three-optional-parameter resolver with no annotations and no required fields, the absence of at-least-one-identifier guidance and multi-identifier precedence leaves a real operational 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 description coverage is 100%, so the schema already defines slug, token_id, and condition_id, making 3 the baseline. The description adds one piece of meaning the schema does not convey: that these three are alternative entry points to the same resolution. It does not add precedence or mutual-exclusivity rules, which is where extra value was available.

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 opens with a specific verb and resource: 'Resolve an outcome token id, conditionId, or market slug to its market and outcome mapping', and it enumerates the returned fields (label, index, sibling outcomes). That is enough for an agent to understand the operation without opening the schema. It stops short of distinguishing itself from the sibling polymarket_resolve_token_onchain, leaving the 'which resolver' question unanswered.

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: the three accepted identifier forms signal 'use this when you hold one of these identifiers and need the outcome mapping'. There is no explicit when-to-use statement, no exclusion, and notably no pointer to polymarket_resolve_token_onchain as the alternative when on-chain resolution is needed. An agent must infer the routing decision.

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