Skip to main content
Glama

Agent Data Tools: Prices and DeFi

Prediction markets, Polymarket events

polymarket_events
Read-only

Polymarket events (one question with one or several markets, such as an election with many candidates): the busiest open events by 24-hour volume or those matching a search, with volume, liquidity, end date, tags, the number of open markets and the five leading outcomes by price. Use to see who leads a multi-candidate market or to browse what is being traded now. Example: q=president. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOptional search, e.g. president 2028; without it the busiest events by 24h volume
limitNoEvents to return, 1-10 (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limit / maximum
      Previous value: -9007199254740991New value: +10
    • changedInput schema / properties / limit / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, open-world and non-destructive safety, and the description adds genuinely new facts beyond them: cost ($0.002/call, first 10 free, failed calls free) and the fact that each call is charged so repeats are not free, which explains the idempotentHint=false. "Reads or computes only and changes nothing" is redundant with readOnlyHint, and there is no mention of rate limits or response shape beyond the field list.

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 purpose is front-loaded in the first clause, followed by return contents, usage, example and pricing in descending priority. It is dense but the parenthetical and the pricing clause run long, and "Reads or computes only and changes nothing" repeats the annotation instead of earning its space.

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

Completeness4/5

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

For a two-parameter, no-output-schema read tool, the definition covers selection intent, return contents, search example and billing, which is enough to call it correctly. It stops short of describing pagination behavior, ordering guarantees within the "five leading outcomes", or what an empty search returns.

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 both parameters already document their meaning, defaults and bounds (limit 1-10, default 5; q optional with fallback behavior). The description only restates the fallback-to-busiest behavior and adds a sample query "q=president", which is a mild reinforcement rather than new semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Polymarket events (one question with one or several markets...)" states the verb-resource and explicitly draws the boundary against market-level siblings by explaining the event/market containment relationship. It then enumerates what the response carries (volume, liquidity, end date, tags, open-market count, five leading outcomes), so an agent knows exactly what it gets.

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

Usage Guidelines4/5

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

"Use to see who leads a multi-candidate market or to browse what is being traded now" gives two concrete use cases, and the q example anchors the search mode. It falls short of 5 because it never states when to prefer polymarket_markets or polymarket_orderbook instead, even though those siblings are the obvious alternative for single-market or depth data.

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