Skip to main content
Glama

get_native_depth

Read-only

BTC/ETH perpetual market context: four simultaneous recorded liquidity views (REF, M2, M5, AGG4), size coverage, fixed-price wall changes and observed aggressor buy/sell flow over 30s or 300s. Aggregated views see wider price ranges at coarser precision; never add their overlapping volumes. Combine with liquidation radar. Read agent_readout and quality first. No strategy signal, full-book claim or fill guarantee. Price: 0.001 USDC/call via existing x402 Base/Solana or eligible credits.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>",
      "side": "<side>",
      "quantity_base": "<quantity_base>"
    },
    "name": "get_native_depth"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes
symbolYesBTC or ETH only.
x_paymentNox402 Base or Solana payment. Omit first to discover 402.
lookback_sNoFixed-price wall history and observed flow window, 30 or 300 seconds; default 300.
agent_walletNoOptional wallet for credits. Never a private key.
quantity_baseYesToken base units, not USDC.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / lookback_s / anyOf
      Added value: +[
      +  {
      +    "const": 30,
      +    "type": "number"
      +  },
      +  {
      +    "const": 300,
      +    "type": "number"
      +  }
      +]
    • removedInput schema / properties / lookback_s / enum
      Removed value: -[
      -  30,
      -  300
      -]
    • removedInput schema / properties / lookback_s / type
      Removed value: -"number"
  2. Changed1 schema field changed
    • changedInput schema / properties / lookback_s / description
      Previous value: -"Optional wall lookback in seconds."New value: +"Fixed-price wall history and observed flow window, 30 or 300 seconds; default 300."
  3. Added

TDQS

A4.1/5.0
Behavior5/5

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

With annotations already covering read-only/open-world/non-idempotent safety, the description adds important behavioral context: paid per call, x402/credits payment, no strategy signal, no full-book claim, no fill guarantee, and a warning not to add overlapping aggregated volumes. These caveats materially affect how an agent should interpret and use the result.

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?

The description is dense but front-loaded and largely free of filler. Each sentence carries purpose, caveat, or payment information, though the packed first sentence and specialized terminology reduce immediate readability.

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 paid, read-only, multi-view data tool with no output schema, the description covers what data is returned, key caveats, prerequisites, and payment mechanics. It could be slightly more explicit about return shape or how agent_readout/quality relate to this call, but overall it is sufficiently complete for correct invocation.

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 description coverage is high at 83%, so the schema already carries most parameter meaning. The description adds little beyond schema details, though it reinforces the 30s/300s window and notes the four recorded views, which are relevant to interpreting lookback_s and output context.

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 clearly states the resource and scope: BTC/ETH perpetual market context with four liquidity views, size coverage, wall changes, and aggressor flow. It is more specific than the name alone and distinguishes itself from liquidation radar by suggesting combination rather than substitution. Slight jargon density keeps it from a perfect 5.

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

Usage Guidelines4/5

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

It gives useful usage context: read agent_readout and quality first, combine with liquidation radar, and choose 30s or 300s windows. It does not explicitly say when not to use this tool versus other siblings, but the prerequisites and combination guidance go beyond a bare description.

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.

Resources