Skip to main content
Glama

search_markets

Search and filter prediction markets across trading venues by venue, category, name, symbol, or status. Use it to find tradeable markets and sort or paginate results.

Instructions

Search and list markets across trading venues. Filter by venue, category, name/symbol.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default: 1)
takeNoItems per page (default: 20, max: 50)
venueNoSpecific venue (e.g., "whales-market"). Omit to search all.
searchNoSearch by name or symbol
statusNoStatus filter
categoryNoMarket category filter
chain_idNoBlockchain chain ID
sortTypeNoSort direction
sortFieldNoSort field

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/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, yet it only says "search and list." It does not state that the operation is read-only, how results are ordered by default, what happens when venue is omitted beyond the schema note, or how pagination interacts with sorting. It adds little behavioral context beyond the schema's own parameter notes.

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

Conciseness5/5

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

Two short sentences, front-loaded with the core action and followed by the filter surface. Every clause carries information and there is no filler.

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?

For a nine-parameter tool with no annotations and no output schema, the description is thin: it ignores status, chain_id, sortType, and sortField and says nothing about result shape or ordering. The schema fills the parameter gaps, but the description does not compensate for the missing annotation coverage.

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 100%, so all nine parameters are already documented in the schema, including page/take defaults and the venue omission semantics. The description only restates three filters (venue, category, name/symbol) and adds no format, syntax, or interaction detail, so the baseline 3 applies.

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?

"Search and list markets across trading venues" gives a specific verb (search/list) and resource (markets) plus a scope (across venues). It is reasonably distinguishable from the singular get_market and from list_venues, but the description never names those siblings to confirm the boundary.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The agent must infer that this is the discovery/browse tool and that get_market is for a single known market, which is left entirely to inference.

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