Skip to main content
Glama
Arjein

Polymarket MCP Server

by Arjein

get_last_trade_price

Retrieve the exact transaction price of the most recently executed trade for an outcome token by providing its token_id.

Instructions

Retrieve the exact transaction price of the most recently executed trade for an outcome token.

Args: token_id (str): The fundamental token identifier indicating the outcome side.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It implies a read operation but says nothing about staleness of the 'last' price, behavior when no trades have executed, error conditions, or rate limits — meaningful gaps for a market-data lookup in a trading context.

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 plus a short Args block, with the core purpose front-loaded and no wasted prose. The Args restatement adds little, but the whole thing stays tight.

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?

An output schema exists, so return-format explanation is not required. However, for a read-only market-data tool with zero annotation coverage and 0% param coverage, the missing notes on no-trade/no-data behavior and token_id format leave the definition merely adequate.

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 0% and the schema only labels the field 'Token Id', so the description must compensate. It does add meaning by calling token_id 'the fundamental token identifier indicating the outcome side', but gives no format or how to obtain a valid token_id, leaving the gap only partially closed.

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 ('Retrieve') and resource ('exact transaction price of the most recently executed trade') scoped to an outcome token. The singular 'most recently executed trade' implicitly distinguishes it from the plural sibling get_last_trades_prices, but it never names or explicitly contrasts with that sibling or with get_price.

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

Usage Guidelines2/5

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

The description only says what the tool does; it gives no context on when to prefer it over get_price, get_last_trades_prices, or get_price_history. There are no exclusions or prerequisites stated, so the agent must infer usage from the name alone.

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