Skip to main content
Glama

Bet Research

bet_research
Read-onlyIdempotent

Research a Polymarket bet by pulling the relevant Pipeworx data for it in one call. Pass a market slug ("will-bitcoin-hit-150k-by-june-30-2026"), a polymarket.com URL, or a question text. The tool resolves the market, classifies the bet, fans out to category-specific data packs in parallel, and returns an evidence packet + simple market-vs-model comparison. Use for "should I bet on X", "what does the data say about Y", or "is there edge in Z". CLASSIFIERS: crypto_price, fed_rate, geopolitical, sports, sports_championship, drug_approval, election_candidate, tech_launch, space_launch, corporate, corporate_earnings, corporate_event, public_figure_speech, weather, other. FAN-OUT EXAMPLES: BTC bet → coingecko + fred + gdelt+gnews; Fed bet → fred (DFEDTARU + EFFR + CPIAUCSL) + kalshi_macro (KXFED implied probs) + recent_fed_actions (federal-register rules, last 365d); Hormuz bet → imf_portwatch + airspace + gdelt; Yankees WS → mlb_stats_standings + parent_event partition + news; hottest-year bet → climate_projection_nyc + gistemp_latest (NASA global anomaly, rank since 1880) + news; NVDA-vs-AAPL → finnhub get_quote + edgar shares-outstanding (derived market cap) + edgar filings + news. RESPONSE SHAPES: result.market carries best_bid/best_ask/spread_pp/liquidity/price_change_1h/1d/1w; result.analysis carries model_probability/edge_pp/kelly_fraction_half when a closed-form model fires PLUS a 24h-move warning ("Market moved X.Xpp in 24h, comparable to model edge — your edge may already be priced in") when relevant; result.evidence is keyed by source. RESOLVER CONTRACT: result.market_match_confidence ∈ {high, medium, low, none}, market_match_score (0-1 token-overlap), market_match_alternatives[] (other candidate markets the resolver considered), and suggestions[] (explicit re-query hints when the match is fuzzy) — ALWAYS inspect these before trusting the analysis block, because medium/low matches can still surface other fields. PARENT_EVENT EXTRACTOR: when the bet is one leg of a partition (Yankees WS, Romania election), result.parent_event{matched_candidate, top_legs_by_price[], partition_size, placeholders_filtered} gives you the peer prices in one place — that's the headline for elections/championships. NEWS FIELDS: news entries carry _fallback_attempted / _fallback_failed_reason / retry_after_sec when GDELT 429s and GNews backfill ran or failed. SAFETY: low-confidence resolutions short-circuit with status:"low_confidence_match" and suppress analysis fields so agents can't accidentally size on phantom matches. Closed/dead markets that ARE still indexed by Polymarket (yes_price≈0, no volume, no liquidity) return status:"market_closed_or_inactive" and skip fan-out. In practice resolved markets are usually de-indexed and instead surface via the low_confidence_match path above — both routes are BLOCKING, just different mechanisms. Wide-spread markets (>10pp) carry tradeability:"illiquid_wide_spread" + an explanatory note. RESOLUTION-RULE RISK: market.cancellation_rule parses the void/postponement settlement out of the resolution text — refund_50_50 (shares settle flat 50¢ on void; EV-material for any entry away from 50¢, with ev_impact quantified), resolves_no_on_cancel, resolves_yes_on_cancel, carries_to_reschedule, or mentioned_unclear. null means the description never mentions cancellation. Check this before sizing sports/esports/event-occurrence bets — audited arb-bot ledgers show flat-50¢ void settlements are a recurring pure-rules loss.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNoquick = 2-3 evidence sources, thorough = full fan-out. Default thorough.
marketYesPolymarket slug ("will-bitcoin-hit-150k-by-june-30-2026"), full URL ("https://polymarket.com/event/..."), or question text ("Will Bitcoin hit $150k by June 30?")
include_rawNoDefault false. When false (recommended), FRED/FDA/GDELT/Federal-Register evidence is summarized to the few fields agents actually use — keeps responses under ~20KB. Pass true to get full upstream payloads (50KB-500KB) when you need to recompute deltas, cite specific observations, or post-process.

TDQS

A4.2/5.0
Behavior5/5

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

The description goes far beyond the annotations, detailing fan-out logic, resolver confidence levels, parent_event extraction, GDELT/GNews fallback behavior, status codes for low-confidence/closed markets, illiquid spread warnings, and resolution-rule risk (including the refund_50_50 flat-50¢ loss scenario). This is a rich, multi-layered disclosure of how the tool behaves and what could go wrong, with no contradictions to the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely long and dense, with numerous all-caps section headers and repeated concepts (e.g., low-confidence paths are mentioned in both the SAFETY and RESOLVER CONTRACT sections). While the first sentence is a strong front-loaded summary, the excessive length and redundancy make it less scannable and more token-expensive than necessary for an agent to efficiently parse.

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?

With no output schema, the description thoroughly documents the expected response shape: result.market fields, result.analysis with model probabilities and edge warnings, result.evidence keying, resolver match contract, parent_event structure, news fallback metadata, and special statuses. It covers edge cases like closed markets and low-confidence matches, ensuring the agent knows exactly how to interpret every possible outcome.

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?

The input schema already provides 100% coverage with thorough descriptions: the market parameter types, depth options, and include_raw behavior are all clearly defined. The tool description adds illustrative fan-out examples but does not reveal new semantic meaning beyond what the schema and response-shape text already convey. Baseline 3 is appropriate.

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 'Research a Polymarket bet by pulling the relevant Pipeworx data for it in one call,' which gives a specific verb+resource+method and distinguishes it from broader sibling tools like deep_research or ask_pipeworx. It also provides explicit use cases ('should I bet on X', 'what does the data say about Y'), making the tool's purpose unmistakable.

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 gives clear usage context with phrases like 'Use for...' and provides examples of when to rely on it (sports bets, elections, etc.). It also warns users to inspect match confidence and resolution-rule risk before sizing bets. However, it does not explicitly contrast with alternative sibling tools (e.g., 'use polymarket_edges for cross-market edge detection'), so it falls just short of a 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.

TDQS

A3.9/5.0
Disambiguation2/5

There is substantial overlap among tools in the Pipeworx group: ask_pipeworx, ask_pipeworx_beta, ask_pipeworx_grounded, deep_research, and validate_claim all route natural-language queries to the same 5,578 tools and sources, with only subtle differences in mode (beta vs stable, grounded vs standard, single vs multi-part). Similarly, polymarket_arbitrage, polymarket_edges, polymarket_edge_tracker, and polymarket_fill_risk are heavily intertwined, making differentiation difficult. Tools like similar, size, history, and scan_dependency from the bundlephobia side are distinct, but the Pipeworx family muddies the set.

Naming Consistency3/5

The bundlephobia tools follow a consistent noun pattern (size, similar, history), and the Pipeworx meta-tools use snake_case verbs (ask_pipeworx, resolve_entity, compare_entities, validate_claim). However, the naming is inconsistent across the two families—bundlephobia's simple nouns (size, similar, history) clash with the verbose descriptive verbs—and naming like ai_visibility_check, scan_competitor_ai_presence, and generate_llms_txt break from the Pipeworx pattern. The set mixes short names, camelCase-ish compounds, and snake_case, so no single consistent convention holds.

Tool Count2/5

35 tools is too many for a server that ostensibly serves two domains (bundle-size analysis and Pipeworx data research). The bundle-size analysis needs only a handful (size, history, similar, recent_searches, scan_dependency), yet there are over 30 tools dominated by a sprawling meta-research layer including multiple ask_pipeworx variants, several polymarket tools, plus meta-cognitive tools (remember, recall, forget, discover_tools) that are not core to either domain. This bloats the surface and makes call routing difficult.

Completeness4/5

Each functional domain is fairly complete: bundlephobia covers size measurement, history, alternatives, search, and dependency vetting; the Pipeworx side covers lookup, research, entity resolution, comparison, verification, subscriptions, and feedback. However, there are gaps—e.g., no tool for directly reading an npm package's README or license beyond scan_dependency's summary, and no explicit tools for some administrative actions like account management or subscription editing beyond create/cancel/list. The completeness is strong for what's advertised but not exhaustive.