Skip to main content
Glama

prediction-market-tools

compare_binary_market_payouts

Read-onlyIdempotent

Compare breakeven win rate, net profit on win, ROI multiple, and annualized yield across binary contract prices and resolution horizons.

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": {
      "contract_price_cents": "<contract_price_cents>"
    },
    "name": "compare_binary_market_payouts"
  }
}

Input Schema

NameRequiredDescriptionDefault
sharesNoNumber of binary shares settling at $1.00 if YES.
fee_bpsNoOptional fee in basis points on cost (default 0).
days_to_resolutionNoDays until market resolution (used for annualized yield).
contract_price_centsYesContract entry price in cents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and closed-world behavior, so the safety profile is covered. The description adds the useful fact that it produces several derived metrics including annualized yield, but does not explain that output is a comparison table, the formula assumptions, or how fees enter the ROI calculation.

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?

A single front-loaded sentence with no filler; every clause names either a metric or an input dimension. Slightly imprecise wording about comparing 'across contract prices' costs it a point.

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?

For a read-only calculation tool with full schema coverage and no output schema, naming the four returned metrics gives the agent enough to know what it gets back. Coverage of fee treatment and assumptions would push it higher.

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 shares, fee_bps, days_to_resolution, and contract_price_cents. The description mentions resolution horizons (mapping loosely to days_to_resolution) but adds no new meaning for fee_bps or shares, 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?

The description names a concrete verb (compare) and enumerates the four computed metrics (breakeven win rate, net profit, ROI multiple, annualized yield), which distinguishes it from the probability/edge and Kelly-sizing siblings. The phrase 'across binary contract prices' is slightly misleading since the schema accepts only a single contract_price_cents, not a set of prices.

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 stated when-to-use or when-not-to-use guidance, and no reference to the sibling tools like calculate_implied_probability_and_edge or calculate_kelly_position_size that an agent might reasonably choose instead. The agent must infer the use case entirely from the metric list.

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