Skip to main content
Glama

LiquidVision — Crypto Derivatives Data

Funding arbitrage

get_funding_arbitrage
Read-onlyIdempotent

[measured] Funding carry screener on REALIZED numbers, out of sample: for each coin, the venue pair a desk would have put on a week ago (short where funding WAS richest, long where it was cheapest, chosen on days 14-7 ago: selection_week_apr) and what that pair then earned from funding over the last 7 days (realized_7d_*, negative when the spread reversed) and 30 days, annualized; positive_share_7d = share of the week's hours the pair was net positive (0.5 is a coin flip); current_spread_apr = the same pair right now; mark_gap_bps = short-venue mark over long-venue mark (positive = entry in your favour). Use get_funding_dispersion for the live spread across all venues. Everything is gross: before taker fees, basis moves and two margin accounts. Not financial advice.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_funding_arbitrage"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of rows to return.
min_venuesNoOnly coins quoted on at least this many venues.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of rows to return."
    • addedInput schema / properties / min_venues / description
      Added value: +"Only coins quoted on at least this many venues."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), so the bar is lower, and the description still adds real behavioral context: exact methodology, the sign convention (realized_7d negative when the spread reversed), what positive_share_7d means (0.5 = coin flip), mark_gap_bps sign, and the important caveat that everything is gross of taker fees, basis moves and two margin accounts. Missing only practical behavior like pagination or ordering of returned rows.

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

Conciseness4/5

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

It is information-dense and front-loaded with the core definition, and the field-by-field glosses each carry unique meaning rather than restating the name. The single sprawling sentence with accumulated parentheticals is harder to scan than it needs to be, which keeps it short of a 5.

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?

There is no output schema, so the description must explain return values — and it defines every field it names (realized_7d_*, positive_share_7d, current_spread_apr, mark_gap_bps) plus the annualization and the fee caveat. Combined with the covered input schema and annotations, an agent has everything needed to call and interpret this correctly.

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% with only two optional params (limit, min_venues), both documented in the schema, so the baseline of 3 applies. The description's references to 'for each coin' and venue quoting hint at the min_venues filter but add no syntax or default behavior beyond the schema.

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 verb+resource ('Funding carry screener on REALIZED numbers, out of sample') and immediately pins the scope: a backward-looking paper pair selected a week ago, with realized funding over 7d/30d. It is clearly distinguished from the live-spread sibling, so an agent can tell what this tool returns without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes the agent: 'Use get_funding_dispersion for the live spread across all venues,' which names the alternative and the condition that selects it. The framing ('the venue pair a desk would have put on a week ago' vs. current spread) also implicitly signals when the realized, out-of-sample view is the right one versus a live view.

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.