Skip to main content
Glama

AgentData — crypto market data with a checkable record

get_funding_rates

Current perpetual funding rate per coin ($0.002 USDC). Use when you need what longs pay shorts right now, e.g. to judge crowding before opening a perp. Read the rate field: the long/short verdict is almost always NEUTRAL at the funding levels seen so far. For the next settlement use get_funding_predictions.

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_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / payment
      Added value: +{
      +  "description": "Optional. Base64 x402 payment payload you signed yourself (ERC-3009 TransferWithAuthorization, USDC on Base). Call without it once to receive the payment requirements, sign those, then call again with this argument. This server forwards the payload and never holds a key.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnly/openWorld/idempotent flags; the description adds the per-call cost ($0.002 USDC), which the agent needs before invoking, plus an interpretive warning that the long/short verdict is 'almost always NEUTRAL' at observed funding levels — a real behavioral disclosure that prevents misreading output. It does not restate the payment handshake, but the schema already documents that flow in detail.

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?

Four short sentences, purpose and price front-loaded, alternative named at the end where it belongs. The 'Read the rate field:' clause is slightly clipped in phrasing but earns its place by steering interpretation of the result.

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 burden of indicating what comes back, and it does so minimally ('Read the rate field'), while cost and the payment prerequisite are covered by description plus schema. What is missing is the response shape beyond the rate field (e.g. per-coin grouping), a minor gap for a single-value read.

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?

There is only one optional parameter (the x402 payment payload) and the schema documents it at 100% coverage, including the call-twice signing flow and the fact the server never holds a key. The description adds nothing about that parameter, so the baseline of 3 for fully-covered schemas 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 ('Current perpetual funding rate per coin') with a concrete price point, and immediately distinguishes itself from the sibling that covers the forward-looking case ('For the next settlement use get_funding_predictions'). An agent can tell exactly what this returns and which field to read without opening any 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?

Gives an explicit when-to-use condition ('what longs pay shorts right now, e.g. to judge crowding before opening a perp') and an explicit alternative for the adjacent need (predictions for next settlement). When and when-not are both covered.

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.