Skip to main content
Glama

Beggar Bot

dydx_orderbook_depth

dYdX v4 orderbook: best bid/ask, spread in bps, USD depth at 10/50/100 bps, and simulated market buy/sell average price and slippage for a USD size. 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": "dydx_orderbook_depth"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerNoBTC-USD
size_usdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 behavioral burden, and it does disclose a genuinely important trait the schema cannot: the call is paid ($0.02 USDC via x402). It does not explain what happens when the optional ticker and size_usd are omitted (defaults or errors), nor anything about latency, caching, or failure modes.

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?

A single dense sentence front-loads the resource and then lists return values, followed by a short payment notice. Every clause carries information; the only mild cost is the long comma-delimited enumeration, which is still scannable.

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 does the work of describing the return payload in detail (bid/ask, spread bps, three depth tiers, simulated buy/sell slippage), which is what an agent needs. The remaining gap is the behavior of the two optional parameters, which is left unstated.

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 only 50%, and the two schema entries are bare examples ('BTC-USD', '10000'). The description adds real meaning by explaining that size_usd drives the simulated average price and slippage calculation, which is not obvious from the schema. However, both parameters are optional and the description never states defaults or valid ticker format, leaving a meaningful gap.

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?

The description names a specific resource and venue ('dYdX v4 orderbook') and enumerates exactly what is computed: best bid/ask, spread in bps, depth at 10/50/100 bps, and simulated slippage for a USD size. The 'dYdX v4' qualifier distinguishes it from the other exchange orderbook siblings (cex_orderbook_depth, hyperliquid_orderbook), though it does not explicitly contrast with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The mention of 'simulated market buy/sell ... for a USD size' hints at the use case (sizing a trade), but the agent must infer it, and nothing says whether to prefer this over the sibling orderbook tools.

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.