Skip to main content
Glama

Beggar Bot

okx_trade_flow

Last 500 OKX trades for a pair: taker buy vs sell quote volume, imbalance, VWAP and largest prints. 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_trade_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairNoe.g. BTC-USDT
limitNolargest (20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/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 disclose two useful traits: a fixed 500-trade lookback window and a mandatory $0.02 USDC x402 payment. It says nothing about rate limits, failure modes, or how the cost interacts with the limit parameter, which is a meaningful gap for a paid data call.

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?

Two sentences, zero padding, and the core capability is front-loaded ahead of the payment note. Every clause carries information.

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?

For a two-optional-parameter tool with no output schema, the description usefully enumerates the returned metrics and discloses the paid access model. The remaining gap is the undefined behavior of the limit parameter, which matters because both parameters are optional and the default window is fixed at 500.

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% for both parameters, so the baseline is 3. The description adds the 'last 500' window context, but it does not clarify the cryptic 'limit' parameter (typed string, described as 'largest (20)'), so it neither explains nor corrects that ambiguity.

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: the last 500 OKX trades for a pair, with named derived metrics (taker buy vs sell quote volume, imbalance, VWAP, largest prints). An agent can tell this is an OKX order-flow/tape tool rather than a candle or funding-rate tool, though it never explicitly contrasts itself with okx_taker_volume or okx_ohlcv.

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: you'd call it to inspect recent taker aggression or large prints on one pair. There is no explicit when-to-use or when-not guidance and no named alternative for related needs (e.g. aggregated taker volume or OHLCV), leaving the agent to infer selection.

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.