Skip to main content
Glama

x402 Agent Toolkit — Quant Arb, TWSE & Agent Security

funding_arb

[$0.005 USDC via x402] Real-time cross-venue perpetual funding-rate arbitrage scanner for quant & trading agents: aggregates 235+ Hyperliquid and dYdX v4 perpetual markets, normalizes hourly funding to annualized APR, computes exact long/short venue carry spreads, oracle basis bps, open interest & 24h volume.

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": "funding_arb"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax arbitrage opportunities to return (1-40).
symbolNoOptional ticker filter (e.g. BTC, ETH, SOL).
min_aprNoMinimum annualized cross-venue funding spread APR (%).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a solid job: it discloses the price ($0.005 USDC via x402), the real-time nature, the market coverage (235+ venues aggregated), and the normalization method (hourly funding to annualized APR). It omits auth/payment flow details, rate limits, and latency expectations, which keeps it short of a 5.

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?

A single front-loaded sentence that leads with the price tag and then stacks only high-signal specifics; nothing is redundant or padded. Dense but appropriately sized for a data-scanning tool.

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?

Covers what the tool computes (spreads, basis bps, open interest, 24h volume), which effectively previews return content despite there being no output schema. Missing details on response ordering, pagination of the 235+ markets, and payment mechanics keep it at a 4.

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% and all three optional parameters (limit, symbol, min_apr) are fully documented in the schema itself. The description adds no parameter-level meaning beyond what the schema provides, so baseline 3 applies.

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?

States a specific verb and resource: 'Real-time cross-venue perpetual funding-rate arbitrage scanner,' plus the concrete data sources (Hyperliquid, dYdX v4) and computations (annualized APR, carry spreads, oracle basis bps). An agent can distinguish this from siblings like prediction_arb or market_signals purely from the text.

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

Usage Guidelines3/5

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

The audience is named ('quant & trading agents') and the domain is scoped to perpetual funding-rate arbitrage, which implies the usage context. However, there is no explicit when-to-use/when-not guidance and no sibling alternative is named, so routing is inferred rather than stated.

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.