Skip to main content
Glama

ResolveGuard Polymarket & UMA Dispute Shield

check_kalshi_divergence

Read-onlyIdempotent

Compare Polymarket resolution criteria against a cached Kalshi CFTC contract ticker to detect cross-venue double-loss divergence (early-close, cutoff gap, settlement source mismatch).

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": {
      "kalshi_ticker": "<kalshi_ticker>"
    },
    "name": "check_kalshi_divergence"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoOptional free or paid ResolveGuard API key (rg_free_... or rg_live_...). Can also be passed via X-API-Key header or ?api_key= query param.
poly_idNoOptional indexed Polymarket UMA request ID
poly_titleNoPolymarket market title
kalshi_tickerYesKalshi market ticker (e.g. KXFEDDECISION-...)
poly_end_dateNoOptional ISO end date
poly_descriptionNoPolymarket resolution criteria text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Optional free or paid ResolveGuard API key (rg_free_... or rg_live_...). Can also be passed via X-API-Key header or ?api_key= query param.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is covered. Beyond that, the description adds substantive behavior: the Kalshi side is a *cached* ticker (implying possible staleness) and the comparison targets three named failure modes (early-close, cutoff gap, settlement source mismatch). It does not mention auth handling, though the schema's api_key field does.

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?

A single dense sentence with the verb and both operands front-loaded followed by the detection taxonomy. No filler, no repetition of the tool name, and every clause carries information.

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?

There is no output schema, so the description carries the burden of describing what comes back — yet it never says whether the result is a boolean flag, a risk score, or a per-divergence breakdown. For a six-parameter analytical tool, that missing return-value framing is the main completeness gap; input-side coverage is otherwise adequate.

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 all six parameters, including the optional api_key and poly_id. The description only reinforces that 'Polymarket resolution criteria' and the 'Kalshi ticker' are the compared inputs; it adds no guidance on how poly_title, poly_end_date, or poly_description are used when poly_id is absent.

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 gives a specific verb (Compare) plus both resources (Polymarket resolution criteria and a cached Kalshi CFTC contract ticker) and the output goal (detect cross-venue double-loss divergence). It distinguishes itself from the reputation and wallet-risk siblings, though it does not explicitly separate itself from the closer analyze_resolution_risk or get_curated_divergence_pairs.

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?

The phrase 'detect cross-venue double-loss divergence' implies the scenario in which to use it, and the parenthetical lists the divergence classes. However, there is no explicit when-to-use/when-not statement and no routing to alternatives such as analyze_resolution_risk, leaving the agent to infer the boundary.

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