Skip to main content
Glama

get_polymarket_market

Get a Polymarket market by conditionId with optional outcome price history from the public CLOB API.

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": {
      "conditionId": "<conditionId>"
    },
    "name": "get_polymarket_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenIdNoOutcome token id for history (defaults to first outcome)
intervalNoPrice history window (default 1w)
conditionIdYesMarket condition id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/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 discloses that the source is the 'public CLOB API', which implies a read-only, unauthenticated lookup, but says nothing about rate limits, behavior when the conditionId is unknown, staleness of prices, or even roughly what market data comes back. For a tool with zero annotation coverage this leaves real behavioral gaps.

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?

A single front-loaded sentence with the resource, the key, and the optional capability; nothing is wasted. It could be marginally tighter but is well structured.

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?

For a three-parameter read tool with full schema coverage and no output schema, the definition is adequate but stops short of describing the returned market shape (prices, resolution state, outcome set), which an agent needs to decide whether this call answers its question. That is the main 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% and the schema itself documents tokenId ('defaults to first outcome') and interval ('default 1w'). The description only adds that price history is optional and tied to an outcome, which is marginal value over the schema — the baseline 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 Polymarket market'), keys it to conditionId, and notes the optional price-history enrichment. It does not name the sibling alternatives (list_polymarket_markets, search_polymarket_markets, rank_polymarket_markets), so differentiation is left to the reader, but the single-market-by-id scope is unambiguous.

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?

The 'by conditionId' phrasing implies the prerequisite (you must already hold a condition id) and the price-history clause implies optional extra data, but there is no explicit when-to-use versus when to call list/search/rank_polymarket_markets. Usage must be inferred from the sibling names.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources