Skip to main content
Glama

List prediction markets

list_markets
Read-onlyIdempotent

List prediction markets on real-world transport outcomes (flight delays, train punctuality, ship arrivals, weekly ship counts through maritime chokepoints, airport flight counts), filtered by status (OPEN by default; CLOSED, SETTLED or CANCELLED for past ones), category and a free-text query matched against the route, flight number, airline, airport codes and vehicle. Returns total (every market the filters match), returned (how many this page holds: the first limit of them, earliest close time first) and each returned market's id, link, category, question, route, outcomes with current prices, volume, close time and, once settled, the outcome it settled on.

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": "list_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax number of markets to return (1-100). Defaults to the server's page size.
queryNoFree text such as AA1, JFK, Paddington or Suez. Omit to match every market the other filters match.
statusNoFilter by market status: OPEN (trading), CLOSED (awaiting settlement), SETTLED or CANCELLED. Defaults to OPEN.
categoryNoFilter to one transport category. Omit to get all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Free text such as AA1, JFK, Paddington or Suez. Omit to list everything matching the other filters."New value: +"Free text such as AA1, JFK, Paddington or Suez. Omit to match every market the other filters match."
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Free text such as BA117, JFK, Paddington or Suez. Omit to list everything matching the other filters."New value: +"Free text such as AA1, JFK, Paddington or Suez. Omit to list everything matching the other filters."
  3. Changed3 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max number of markets to return. Defaults to server preference."New value: +"Max number of markets to return (1-100). Defaults to the server's page size."
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Free text such as BA117, JFK, Paddington or Suez. Omit to list everything matching the other filters.",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • changedInput schema / properties / status / description
      Previous value: -"Filter by market status. Defaults to OPEN."New value: +"Filter by market status: OPEN (trading), CLOSED (awaiting settlement), SETTLED or CANCELLED. Defaults to OPEN."
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses default filtering behavior, pagination semantics via total versus returned, ordering by earliest close time, and the fields returned for each market. This adds substantial operational clarity for an agent calling the tool.

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 and filters are front-loaded, and the return-value detail is valuable because there is no output schema. The description is dense and built from a long sentence with parenthetical lists, but every part contributes relevant information.

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

Completeness5/5

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

With no output schema, the description adequately explains the response shape, including total, returned, and per-market fields. Parameter behavior, defaults, filtering, ordering, and return semantics are all covered, making the definition complete for this tool.

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 coverage is already 100%, so the baseline is 3. The description adds useful meaning by stating what the free-text query is matched against, how status defaults work, and how the limit relates to the returned page.

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 gives a specific verb and resource: list prediction markets, with an explicit domain and filter set. It is clear what the tool does, but it does not explicitly differentiate itself from sibling tools such as get_market for retrieving a single market.

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?

It explains that status defaults to OPEN and that CLOSED, SETTLED, or CANCELLED should be used for past markets, which is useful usage context. It does not explicitly name alternative tools or state when not to use this one.

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