Skip to main content
Glama

pg_kalshi_conflict_of_interest_check

CFTC Rule 5.17(z) conflict-of-interest pre-trade check. Analyzes a Kalshi market's metadata to detect whether trading it would expose decision-makers (election candidates, government officials, athletes, regulators) to insider-trading liability. Pattern-matches against the Kalshi April 2026 disciplinary cases (Moran/Klein/Enriquez) and the CFTC Van Dyke complaint. Returns ALLOW/MONITOR/WARN/BLOCK recommendation + 0-100 score + reference cases. Cannot identify actual trader identity (Kalshi public API anonymizes users) — pair with internal surveillance for full enforcement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerNoKalshi market ticker
event_tickerNoOr event_ticker for the whole event
candidate_nameNoOptional: specific person's name to match against title (e.g. 'Mark Moran')

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It clearly states the output format (ALLOW/MONITOR/WARN/BLOCK + 0-100 score + reference cases), a key limitation (cannot identify trader identity due to API anonymization), and the pattern-matching methodology against disciplinary cases. This is exemplary transparency for a tool with zero annotations.

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?

The description is three sentences, front-loaded with the core purpose, and each sentence contributes: regulatory basis, input/function, output, and limitation. No wasted words; it is concise yet information-dense.

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?

The description explains the return values and limitations well, which is essential since there is no output schema. However, it doesn't clarify that all three parameters are optional and that at least one identifier (ticker or event_ticker) is likely needed to specify a market. This ambiguity is a minor gap given the tool's moderate complexity.

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 baseline is 3. The description does not add significant meaning beyond the schema's parameter descriptions; it mentions 'market metadata' and 'candidate_name' only indirectly. The schema already explains ticker, event_ticker, and candidate_name, so the description doesn't need to compensate.

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?

The description opens with a specific regulatory reference (CFTC Rule 5.17(z)) and states the exact purpose: analyzing Kalshi market metadata to detect insider-trading liability for decision-makers. It clearly distinguishes the tool from siblings like pg_market_integrity_scan or pg_insider_alert_signed by focusing on conflict-of-interest pre-trade checks.

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?

The description frames the tool as a 'pre-trade check' and explicitly notes it cannot identify actual trader identity, advising to 'pair with internal surveillance for full enforcement.' This gives clear context for when to use it, though it does not name specific alternative tools or state explicit 'when not to use' scenarios beyond the internal-surveillance caveat.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose covering different aspects of prediction market integrity (market analysis, wallet analysis, AML/KYC, alerting, reporting). There is minimal overlap risk, as even related tools (e.g., pg_insider_signal_scan vs. pg_information_advantage_score) are differentiated by input (market vs. wallet) and output type.

Naming Consistency4/5

All tools share the 'pg_' prefix and use descriptive snake_case names, making the set predictable. However, the verb/noun order is inconsistent (e.g., pg_whale_add vs. pg_market_details). The pattern is still clear and functional, so minor deviation from a strict verb_noun pattern.

Tool Count4/5

With 33 tools, the set is large but well-scoped for a comprehensive platform covering market analysis, wallet intelligence, compliance, and reporting. Each tool serves a distinct function, and the count is justified by the breadth of the domain, though it pushes the upper bound of 'reasonable'.

Completeness5/5

The toolset covers the full lifecycle of prediction market integrity work: from market discovery and integrity scanning to wallet analysis, entity resolution, AML/KYC, watchlist management, alerting, and SAR reporting. There are no obvious gaps for the stated purpose.

Resources