Skip to main content
Glama

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP

Audit Top-20 L2 Orderbook Slippage

audit_orderbook_slippage
Read-onlyIdempotent

Fetch live Top-20 L2 orderbooks across the optimal long and short venues for a symbol to inspect real bid/ask depth and slippage.

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>"
    },
    "name": "audit_orderbook_slippage"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesCoin ticker such as BTC, ETH, SOL.

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?

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds useful context that data is 'live' and limited to Top-20 L2 levels, but leaves unclear what makes a venue 'optimal', how venues are selected, or whether calls are rate-limited or expensive.

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?

A single front-loaded sentence with no filler: verb, resource, scope, and purpose in order. Nothing could be removed without losing 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 one-parameter read-only tool with full annotation coverage, this is nearly complete; the description conveys what is fetched and why. With no output schema, a brief hint at the response shape (per-venue bid/ask levels and slippage figures) would close the remaining gap.

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 100% and the sole parameter's format (coin ticker such as BTC, ETH, SOL) is fully documented in the schema. The description only echoes 'for a symbol' and adds no format, casing, or resolution guidance beyond it, so baseline 3 applies.

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 ('Fetch live Top-20 L2 orderbooks') with scope ('across the optimal long and short venues for a symbol') and a stated intent ('inspect real bid/ask depth and slippage'). It is distinguishable from the funding-spread siblings by domain, though it never names or contrasts an alternative, and 'optimal venues' is left undefined.

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: an agent can infer this is the tool for examining orderbook depth and slippage on a given symbol. There is no explicit when-to-use statement, no exclusions, and no routing to or away from any sibling tool.

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.