Skip to main content
Glama

Beggar Bot

okx_funding_rates

OKX perpetual funding for a coin: current rate, next funding time, annualized, plus up to 100 periods of realized history. Paid: $0.02 USDC via x402.

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

Input Schema

NameRequiredDescriptionDefault
coinNoe.g. BTC
limitNohistory periods (90)
quoteNoUSDT or USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose two genuinely useful behaviors: a hard cap of up to 100 history periods and that the call is paid ($0.02 USDC via x402). It says nothing about what happens on payment failure, whether payment is per-call or per-session, error behavior, or what the response looks like.

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?

Two compact sentences, front-loaded with what the tool returns before the payment note. Nearly every clause earns its place; the phrase 'for a coin' is slightly redundant with the coin parameter but is minor.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter, no-output-schema tool the description is mostly adequate, but all parameters are optional and it never states defaults (what coin or quote is used when omitted), which an agent needs to call it correctly. The payment model is mentioned but the mechanics are left implicit.

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 coverage is 100%, so the schema already documents coin, limit, and quote, making 3 the baseline. The description does add a little: it clarifies the limit ceiling ('up to 100 periods') beyond the schema's terse 'history periods (90)'. It adds nothing for coin or quote.

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?

States a specific verb-and-resource pairing ('OKX perpetual funding for a coin') and enumerates the returned fields: current rate, next funding time, annualized, plus realized history. An agent can tell this is the OKX-specific funding tool rather than a generic one, though it never names a sibling to contrast against.

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?

Usage is only implied by the wording 'OKX perpetual funding for a coin' – the agent must infer this is the right pick when the venue is OKX. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as the Hyperliquid, dYdX, or KuCoin funding siblings.

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.