Skip to main content
Glama

resolve_price_event

Read-onlyIdempotent

Settlement verdict for a crypto price event. Answers 'did this asset trade or close above/below a threshold during a window?' with YES/NO/DISPUTED/UNRESOLVED, per-venue evidence from Hyperliquid, Coinbase and Kraken, and stated confidence. (Binance is configured but blocks this host's region; it is reported unavailable rather than silently counted.) Use mode='close' when a market settles on candle closes and mode='touch' when any intrabar print counts — they give different answers and that difference is the most common settlement dispute. Paid: $0.05 in USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoISO-8601 window end. Defaults to now.
fromNoISO-8601 window start. Defaults to 24h before `to`.
modeNotouch = any intrabar print counts (default); close = only candle closes count
assetYesAsset symbol, e.g. BTC, ETH, SOL
operatorYesComparison against the threshold
thresholdYesPrice threshold in USD
payment_headerNoX-PAYMENT header from a settled x402 payment. Omit on first call to receive payment requirements.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description adds significant behavioral context beyond the annotations including that Binance is reported unavailable rather than silently counted, the payment amount and method ($0.05 USDC via x402), and the semantics of 'touch' vs 'close'. This provides the agent with important expectations about network behavior and costs that annotations alone do not convey. No contradiction with 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 well-structured and front-loaded. It starts with the core function, then explains output types, venues, Binance caveat, mode guidance, and payment. Every sentence contributes essential information without redundancy or fluff.

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?

Given the complexity of the tool (multiple venues, payment, mode semantics, settlement disputes), the description is remarkably complete. It covers the answer categories, evidence per venue, a potential network issue, payment details, and mode implications. Without an output schema, it still gives enough context for an agent to understand what to expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all parameters have descriptions. The tool description adds extra semantics by explaining the real-world meaning of 'mode' (candle closes vs intrabar prints) and clarifying the payment_header usage ('Omit on first call to receive payment requirements'). This supplements the schema meaningfully.

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 clearly states the tool's purpose: 'Settlement verdict for a crypto price event.' It specifies the output types (YES/NO/DISPUTED/UNRESOLVED), per-venue evidence, and confidence, which distinguishes it from sibling tools like attest_price_event or get_permit_verdict. The verb 'resolve' and resource 'price event' are specific and unambiguous.

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 provides explicit guidance on when to use mode='close' vs mode='touch', which is a critical usage decision. It also explains the Binance region block and payment requirement. However, it does not explicitly contrast with sibling tools or specify when not to use this tool, so it's not a full replacement for usage guidance.

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

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: permit tools (check, get verdict, find projects, list jurisdictions) are separated from crypto settlement tools (resolve, attest, verify, decode, spot, list assets). Even the closely related resolve/attest/verify trio is well-differentiated via descriptions.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in lowercase snake_case (e.g., check_permit_activity, resolve_price_event, list_settlement_assets). No mixed conventions or vague verbs, making the API predictable.

Tool Count5/5

With 10 tools, the count is well-scoped for a dual-domain server. Each tool earns its place, providing comprehensive coverage without redundancy or bloat.

Completeness4/5

The permit side covers discovery, quick checks, full verdicts, and project searches. The crypto side covers resolution, attestation, verification, decoding, spot prices, and asset discovery. Minor gap: no way to list historical decisions or events, but that's not essential for the primary workflows.

Resources