Skip to main content
Glama

Tollbridge liquidation risk (S02)

tollbridge_liquidation_risk
Read-only

x402 exact USDC Base · after paying, poll /v1/resolutions/:id until horizon_end. NOT AVAILABLE YET (the market-wide liquidation tape is not on record): the venue publishes no market-wide liquidation feed on info REST — liquidations appear only as a marker on per-wallet fills or on node trade files, and a single wallet is not the book. To light this question the operator mounts a Hyperliquid node trade stream at NODE_TRADES_DIR and sets LIQUIDATION_SOURCE=node_trades; GET /v1/liq/hours reports how many hourly observations exist (the N/24 figure). S02 stays OFF the default surface until 24 hourly observations are owned; calls still return a typed honest refusal (out_of_scope / insufficient_sample) and refund the debit; they never fabricate a probability. Refusal codes are the published taxonomy (out_of_scope / stale_input / insufficient_sample). PAID — x402 exact USDC on Base (eip155:8453) or Scout credits via the credit rail: pass payer (a Base address 0x…) as a tool argument, or send x-tollbridge-payer: <address> on the MCP HTTP request, or settle with an x402 PAYMENT-SIGNATURE. After paying, poll /v1/resolutions/:id until horizon_end. An unpaid call returns a structured payment_required challenge, never fabricated data. A refusal refunds the debit. Exact current USDC comes from tollbridge_pricing (the current rung, never assumed).

Input Schema

NameRequiredDescriptionDefault
assetYesAny symbol the venue universe lists (see tollbridge_universe) — not only BTC/ETH/SOL
payerNo

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
statusYes
paymentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Richly discloses behavior beyond the annotations: the paid x402/credit rail, the payer argument or x-tollbridge-payer header, the requirement to poll /v1/resolutions/:id until horizon_end, the refund-on-refusal semantics, and the guarantee that it never fabricates a probability. The annotations themselves (readOnlyHint=true, openWorldHint=true, idempotentHint=false) are consistent with an external read that is not idempotent, though the readOnlyHint sits in mild tension with a call that debits a USDC/credit balance.

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?

Badly front-loaded: the critical 'NOT AVAILABLE YET' gate comes after a payment/logistics run-on, and 'After paying, poll /v1/resolutions/:id until horizon_end' is repeated verbatim later in the same paragraph. Refusal taxonomy is restated twice (inline and as a parenthetical list), and the x402/credit rail is re-described in three forms, all of which push the actual purpose out of view.

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 complexity (paid, gated behind 24 hourly observations, refund semantics) the description covers availability, prerequisites, payment mechanics, and refusal codes, and an output schema exists so return values need not be spelled out. What is missing is any statement of what a successful (non-refusal) response actually contains, leaving the agent without a positive-path expectation.

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 coverage is only 50% (payer has no schema description), so the description must compensate — and it does, fully specifying payer as a Base 0x… address or the x-tollbridge-payer header fallback. For asset it adds scope ('any symbol the venue universe lists... not only BTC/ETH/SOL') and routes to tollbridge_universe, adding meaning beyond the regex/length constraints.

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 identifies a specific resource — the market-wide liquidation tape for a venue asset — and explicitly distinguishes it from wallet-level data ('liquidations appear only as a marker on per-wallet fills... a single wallet is not the book'). However, it never states in plain terms what the tool returns (a liquidation-risk probability over a horizon), and the opening line is payment logistics rather than purpose, so the agent must reconstruct the intent from 'S02' and the refusal-code framing.

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?

It gives concrete enabling conditions (operator mounts a Hyperliquid node trade stream at NODE_TRADES_DIR, sets LIQUIDATION_SOURCE=node_trades, and 24 hourly observations must be owned before S02 leaves the default surface) and the consequence when not met (typed refusal, debit refunded). It does not point to an alternative tool to use for liquidation questions when the tape is unavailable, which keeps it 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.

Resources