Skip to main content
Glama

List prediction topics

predictions_list_topics
Read-onlyIdempotent

List topics grouping recurring prediction market questions from Kalshi and Polymarket. Use it to find a topic; predictions_get_topic reads one, and predictions_list_events lists the markets under topics.

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

Input Schema

NameRequiredDescriptionDefault
groupNoKeep topics of one group: `central_banks`, `us_prices`, `us_jobs`, `us_activity`, `metals`, `energy`, `global_activity`, `global_prices`, `rates` or `fx`. Leave out for all.
include_endedNoAlso list topics that have ended. They are left out by default.

Output Schema

NameRequiredDescriptionDefault
topicsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / group / description
      Added value: +"Keep topics of one group: `central_banks`, `us_prices`, `us_jobs`, `us_activity`, `metals`, `energy`, `global_activity`, `global_prices`, `rates` or `fx`. Leave out for all."
  2. Changed4 schema fields changed
    • changedInput schema / properties / group / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "central_banks",
      -      "us_prices",
      -      "us_jobs",
      -      "us_activity",
      -      "metals",
      -      "energy",
      -      "global_activity",
      -      "global_prices"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "central_banks",
      +      "us_prices",
      +      "us_jobs",
      +      "us_activity",
      +      "metals",
      +      "energy",
      +      "global_activity",
      +      "global_prices",
      +      "rates",
      +      "fx"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / include_ended
      Added value: +{
      +  "default": false,
      +  "description": "Also list topics that have ended. They are left out by default.",
      +  "title": "Include Ended",
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / PredictionTopic / properties / ended
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The day the topic ended: its question is over, or its venue stopped listing it. Null on a live topic. An ended topic is left out of the topics list unless include_ended is true, and a read by its id still answers.",
      +  "title": "Ended"
      +}
    • changedOutput schema / $defs / PredictionTopic / properties / group / enum
      Previous value: -[
      -  "central_banks",
      -  "us_prices",
      -  "us_jobs",
      -  "us_activity",
      -  "metals",
      -  "energy",
      -  "global_activity",
      -  "global_prices"
      -]New value: +[
      +  "central_banks",
      +  "us_prices",
      +  "us_jobs",
      +  "us_activity",
      +  "metals",
      +  "energy",
      +  "global_activity",
      +  "global_prices",
      +  "rates",
      +  "fx"
      +]
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds useful context beyond that: topics aggregate questions from two external venues and sit above events and markets in a hierarchy. It says nothing about result size, ordering, or whether ended topics are excluded, though the schema handles the latter.

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 sentences, zero filler, with the core action front-loaded and the sibling routing following immediately. Every clause carries information an agent needs to select the tool.

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?

An output schema exists, annotations are rich, and both parameters are fully documented in the schema, so the description need not explain returns. It supplies the one thing structured fields cannot: where this tool sits relative to get_topic and list_events. Minor gap is the absence of any note on result volume or whether the list is small enough to enumerate freely.

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%, with both `group` (full enum list) and `include_ended` documented inline, so the schema does the heavy lifting. The description adds no extra meaning about grouping semantics or how the group taxonomy is defined. Baseline 3 is appropriate when the schema fully documents parameters.

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 opens with a specific verb and resource: 'List topics grouping recurring prediction market questions from Kalshi and Polymarket.' It also names the source venues, which sharpens what a topic is. It stops short of a crisp one-line definition of a topic's contents, but the purpose is unambiguous.

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 gives explicit routing: 'Use it to find a topic; `predictions_get_topic` reads one, and `predictions_list_events` lists the markets under topics.' That establishes this tool as the entry point and places two siblings in the hierarchy. It lacks explicit when-not guidance (e.g., when to skip straight to events or a specific market), so it is not a full 5.

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