Skip to main content
Glama

Sage Agent x402 Tools

crypto_funding_arb

Read-only

Retrieves live Hyperliquid perpetual futures funding rates, annualized carry APY percentages, mark-vs-oracle basis in bps, open interest, and crowded long/short signals across 150+ assets. Use for perp funding carry trades; use defi_base_dex_arb for spot DEX spreads or crypto_market_pulse for overall crypto macro sentiment. Read-only, stateless; costs $0.015 Base USDC via x402 (unpaid calls return a v2 quote challenge without charging; invalid inputs return 400 uncharged).

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

Input Schema

NameRequiredDescriptionDefault
coinNoOptional perpetual ticker symbol such as 'BTC', 'ETH', or 'SOL'. Omit to return the top positive and negative carry markets ranked by annualized APR.
limitNoMaximum number of ranked assets to return when 'coin' is omitted (1-30, default 12).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the paid model: $0.015 Base USDC via x402, unpaid calls return a v2 quote challenge without charging, and invalid inputs return 400 uncharged. This is exactly the kind of cost/error context annotations cannot convey. It stops short of describing response shape or ranking tie-breaking, so not 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?

Three sentences, front-loaded with capability then routing then payment/error terms. The dense metric enumeration earns its space because those fields drive tool selection, and nothing is repeated from the schema.

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?

With no output schema, the description carries the return-value burden and does so by naming the metric families returned. It also covers cost and failure modes. Minor gap: no hint about response shape (per-asset objects vs ranked list) or ordering when 'coin' is supplied.

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%, so both 'coin' and 'limit' are already fully documented including the omit-to-rank behavior and the 1-30 range. The description adds only the '150+ assets' breadth figure and does not clarify ticker casing or ranking methodology, so it sits at the schema-backed baseline.

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 (retrieves Hyperliquid perpetual funding rates) and enumerates the exact returned metrics: annualized carry APY, mark-vs-oracle basis in bps, open interest, long/short crowding. The scope (150+ assets, perp funding carry) makes it immediately distinguishable from the spot-DEX and macro-sentiment siblings.

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?

Gives an explicit use case ('perp funding carry trades') and names both alternatives with the condition that selects them: defi_base_dex_arb for spot DEX spreads, crypto_market_pulse for overall macro sentiment. The agent never has to infer routing.

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.