Skip to main content
Glama

VARRD — Statistically Validated Trading Edges + AI Research Engine

prediction_ai

VARRD's PREDICTION lane: Kalshi / Polymarket / sports markets, through the same engine and the same rules (K-tracking, no lookahead, one hypothesis at a time). PRICE: use is charged for what it cost (the model's usage, no surcharge); nothing has a set price.

MULTI-TURN: the first call creates a session; keep passing session_id. Flow: describe the signal in plain language -> 'test it' -> results (per-hold win rate, edge vs the market price, p-values) -> 'trade setup'. Say 'start a new hypothesis' between ideas. Read state and next_steps every call; widgets carry the tables the result is made of.

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": {
      "message": "<message>"
    },
    "name": "prediction_ai"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesYour prediction-market idea, question, or instruction ('test it', 'trade setup').
session_idNoSession id from a previous call. Omit to start a new session.
league_hintNoOptional league hint for ambiguous team names: NFL, NBA, CFB, MLB, NHL.

Output Schema

NameRequiredDescriptionDefault
textNoAI response text
stateNoWhere the flow is: scope, signal built, tested, ...
widgetsNoResult tables (event study, retest, trade setup)
next_stepsNoWhat the user can ask for next
session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description adds real behavioral context: billing is tied to model usage cost with no surcharge, sessions persist across calls, and responses include `state`, `next_steps`, and `widgets`. It does not clarify whether 'trade setup' merely produces a plan or executes anything, which matters for a financial tool even with destructiveHint=false.

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?

Content is front-loaded with the purpose and lane, then pricing, then the multi-turn flow, then response-reading instructions. The pricing sentence is somewhat convoluted ('charged for what it cost... nothing has a set price') but it carries information an agent needs about cost, so little is truly wasted.

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?

An output schema exists, and the description still usefully tells the agent to read `state` and `next_steps` and that `widgets` hold the result tables. For a stateful conversational tool, the session lifecycle, command phrases, expected result types, and cost model are all covered, leaving no blocking gaps for correct invocation.

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 100%, so the baseline is 3, but the description adds semantics the schema lacks: `session_id` must be carried forward on every call and omitted only on the first, and `message` accepts magic commands like 'test it', 'trade setup', and 'start a new hypothesis'. The optional `league_hint` parameter is never addressed in the description, though the schema covers it.

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 names a specific domain lane (Kalshi / Polymarket / sports markets) and describes the core action sequence 'describe the signal -> test it -> results -> trade setup', so an agent knows this is a hypothesis-testing engine for prediction markets. It does not explicitly contrast itself with domain-adjacent siblings such as prediction_edges or varrd_ai, leaving that differentiation to inference.

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?

Usage is well scoped by market type and the multi-turn procedure is spelled out: first call creates a session, keep passing session_id, use 'start a new hypothesis' between ideas. It stops short of naming alternatives or stating when a sibling tool would be the better choice, so there are no explicit exclusions.

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.