Skip to main content
Glama

Get Market Price

polymarket.market.prices
Read-onlyIdempotent

Retrieve the midpoint price of a Polymarket prediction market token using its CLOB token ID.

Instructions

Get midpoint price for a prediction market token

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYesPolymarket CLOB token ID

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true. The description adds no behavioral details beyond what is already in structured data. For example, it does not explain that the tool returns a single price or whether it requires specific permissions.

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

Conciseness2/5

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

Extremely short (7 words) but lacks sufficient detail. While front-loaded, the description is too terse to be useful. It does not earn its place as a complete explanation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (1 param, has output schema) and annotations, the description is incomplete. It fails to explain what 'midpoint price' means, how it relates to other price tools, or the format of the output. The presence of an output schema does not compensate for the lack of context in the description.

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 one parameter (token_id). The description mentions 'midpoint price' but does not add semantic context for token_id beyond the schema's description. Baseline 3 applies; no extra value.

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 'Get midpoint price for a prediction market token' clearly states the action (get) and resource (midpoint price). However, 'midpoint' is ambiguous (could be mid price from orderbook or other). It does not differentiate from sibling tools like polymarket.market.orderbook or polymarket.market.detail which might also provide price data.

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

Usage Guidelines1/5

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

No guidance on when to use this tool versus alternatives such as polymarket.market.orderbook, polymarket.market.history, or polymarket.market.detail. The description lacks context for tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/whiteknightonhorse/APIbase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server