Skip to main content
Glama

Get Market Edge

get_market_edge
Read-only

Universal fair-value anchor for ONE market of ANY category. Pass the question (+ optional strike/comparator/expiry/underlying for price markets, + yes_price). Dispatches to the best anchor: options/vol fair value (crypto price), a confident Polymarket twin (events/politics/sports), or a soft news lean. Returns { method, confidence, anchor_prob, hip4_yes, edge_pt, verdict, source_ref, note }. edge_pt = (anchor_prob - hip4_yes)*100; positive = YES cheap; null for untraded/synthetic prices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
strikeNoStrike/threshold for price markets.
vol_24hNo24h traded volume of the market. REQUIRED for an edge/verdict: absent (or 0) the YES price is treated as untraded and only the anchor is returned.
questionYesThe market question, e.g. "BTC above $70,000 at Aug 21 06:00 UTC?" or "Will Fed cut rates in September?"
is_tradedNoExplicit attestation that the YES price comes from a real traded book. Alternative to vol_24h.
yes_priceNoCurrent on-chain YES price (0..1). Edge is only computed for a real traded price (0.5 exactly is treated as synthetic/untraded).
comparatorNoPrice-market shape.
expiry_isoNoResolution time (ISO 8601) for price markets.
underlyingNoUnderlying ticker for price markets, e.g. "BTC".
strike_highNoUpper bound for range price markets.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint. The description adds behavioral context by explaining edge_pt calculation and specifying that it is null for untraded/synthetic prices, which is valuable. It also outlines the dispatch logic and return structure, supplementing the annotations without contradicting them.

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 a single, dense paragraph that front-loads purpose, then covers inputs, dispatch logic, and output structure in three sentences. Every sentence adds value—no redundant words or filler. It effectively communicates the core functionality without bloat.

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?

Given the tool has 9 parameters and no output schema, the description provides essential output details (returned fields, edge formula, null handling) and explains dispatch. It doesn't enumerate all parameters (covered by schema) or elaborate on all edge cases, but it is complete enough for a read-only tool with high schema coverage and annotations. Slight shortfall in not mentioning vol_24h requirement for edge/verdict in the description, though it's in the schema.

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 coverage is 100% with each parameter already described. The description reiterates some parameter groups ('strike/comparator/expiry/underlying for price markets, yes_price') but adds no additional semantics beyond the schema. It does not explain edge computation inputs beyond the formula, but the baseline of 3 is appropriate given the high schema coverage.

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?

Description clearly states it is a 'Universal fair-value anchor for ONE market of ANY category', specifying it computes an edge between an anchor and hip4_yes. It distinguishes from siblings like get_market_edges (plural) by emphasizing 'ONE market'. The dispatch to different anchor types (options/vol, Polymarket twin, news lean) further clarifies scope.

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 implies single-market usage via 'ONE market' and explains the required inputs ('Pass the question + optional...'). It does not explicitly contrast with alternatives like get_market_edges or get_outcome_fair_value, but the focus on a single market and universal category provides clear context. The absence of exclusions or when-not-to-use is a minor gap.

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.7/5.0
Disambiguation3/5

Many tools are specialized, but several pairs have fuzzy boundaries: e.g., get_funding_rates vs get_top_funding_rates, get_basic_macro vs get_macro_context, get_simple_iv vs get_options_iv. An agent could easily select the wrong one.

Naming Consistency4/5

Most tools follow a 'get_X' pattern with descriptive noun phrases. There are a few exceptions like 'create_api_key' and 'search_markets', but overall the convention is consistent and readable.

Tool Count2/5

With 47 tools, the server is overloaded. While the domain is broad, this many tools makes discovery and selection difficult for an agent, reducing coherence.

Completeness5/5

The tool set covers an impressively wide range: macro data, funding, prediction markets, OI history, whale tracking, risk analytics, position sizing, backtesting, and signal generation. It leaves no obvious gaps for a crypto trading assistant.