Skip to main content
Glama
Arjein

Polymarket MCP Server

by Arjein

get_order_books

Retrieve current order books for multiple tokens concurrently by providing a comma-separated list of token IDs.

Instructions

Retrieve the current order books for up to multiple discrete tokens concurrently.

Args: token_ids (str): A comma-separated list of foundational token IDs to fetch mapping for.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
token_idsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/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 behavioral burden. It says the data is current and can be fetched concurrently, but does not disclose authentication needs, rate limits, failure behavior, or whether the result is a snapshot.

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?

The description is front-loaded and appropriately sized: one main sentence followed by a compact Args block. There is no filler, though 'up to multiple' is slightly awkward phrasing.

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 details need not be explained, and the lone parameter is documented. Still, with no annotations and no explicit routing between this and the singular get_order_book, the definition leaves some operational context implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the single parameter. It usefully defines token_ids as a comma-separated list of foundational token IDs, adding format meaning beyond the schema's bare string type.

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 states a specific verb and resource: retrieve current order books. The phrase 'up to multiple discrete tokens concurrently' distinguishes it implicitly from the singular sibling get_order_book, though that sibling is not named explicitly.

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 concurrency and multi-token phrasing implies this is for fetching several order books at once, rather than the singular get_order_book. However, there is no explicit when-not guidance or named alternative.

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