Skip to main content
Glama

Beggar Bot

bitfinex_trade_flow

Last 1000 Bitfinex 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": "bitfinex_trade_flow"
  }
}

Input Schema

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

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 disclose two non-obvious traits: a hard 1000-trade data cap and a $0.02 USDC payment via x402, which an agent must know before invoking. It stops short of covering error behavior, latency, or whether the payment is charged on empty results.

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, front-loaded with the resource and scope, then the cost. Nothing is wasted and the paid-access note is isolated as its own sentence where it belongs.

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?

No output schema exists, so the description must describe the return payload, and it does so by naming the four metrics returned. The main residual gap is the ambiguous limit semantics and the absence of any note on what happens when fewer than 1000 trades exist.

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 both parameters are already documented, and the description adds no meaning beyond them. The schema's own 'largest (20)' gloss on limit is ambiguous and the description does not clarify whether it caps row count or selects top prints — a missed opportunity.

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 — 'Last 1000 Bitfinex trades for a pair' — and enumerates the derived metrics (taker buy vs sell quote volume, imbalance, VWAP, largest prints). The exchange name plus the sibling list containing coinbase_trade_flow, okx_trade_flow, etc. makes the scope unambiguous 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 Guidelines3/5

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

Usage is only implied by the exchange-specific framing and the metric list (order-flow analysis rather than price history). There is no explicit statement of when to pick this over bitfinex_ohlcv or the generic cex_trade_flow, and no note on when the fixed 1000-trade window is too small.

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.