Skip to main content
Glama

market_search

Read-only

Search the prediction markets Polymarket and Kalshi for live markets on any topic (elections, the Fed, crypto prices, sports, company events) and get the current odds of each outcome, volume traded and end date. Odds are the market's implied probability.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "market_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax events per venue (default 5, max 10)
queryYesTopic, e.g. 'fed rate cut', 'bitcoin 100k', 'nvidia earnings'
venueNoDefault all

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds real behavior beyond that: which venues are queried, what fields are returned (odds, volume, end date), and the definition of odds as implied probability—valuable since there is no output schema. It stops short of venue-specific quirks or result-count behavior.

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?

Front-loaded with the verb and resource in the first clause, and the second short sentence defining odds earns its place by removing ambiguity about the returned numbers. The single long opening sentence is dense but not padded.

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?

Three parameters, all schema-documented, annotations cover the safety profile, and the description compensates for the absent output schema by listing the returned fields. What's missing is minor: result volume and how odds are formatted (percent vs decimal).

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 the schema already documents query, venue and limit. The description only supplements the query parameter with broader topic categories; it adds nothing on venue selection semantics or on what limit counts against (events vs markets). Baseline 3 is correct when the schema carries the parameter burden.

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?

Names a specific verb (search) plus a specific resource (prediction markets Polymarket and Kalshi) constrained to 'live markets on any topic', and states what comes back: odds per outcome, volume, end date. An agent can tell this apart from market_history or market_odds because the description scopes it to live/current markets.

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?

Topic examples (elections, Fed, crypto, sports, company events) imply when the tool applies, but there is no explicit when-not guidance and no named alternative for historical data or single-market odds lookups, which the sibling list suggests exist. Usage is inferable rather than directed.

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