Skip to main content
Glama

sap backpack get depth

sap_backpack_get_depth
Read-onlyIdempotent

Get Backpack order book depth ([price, qty] ask/bid string pairs) for a symbol; optional limit caps levels per side (default 20; upstream default 1000, max 5000). Backpack symbols: spot SOL_USDC, perp SOL_USDC_PERP (marketType SPOT|PERP), stock spot MU.US_USDC, stock RFQ AAPL.US_USDC_RFQ. Free read.

SAP MCP execution guidance: Intent: read/discovery workflow. Pricing: free; call directly without x402. Routing: free hosted call; call directly and keep it small/exact when possible. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoLevels per side (default 20, upstream max 5000)
symbolYesMarket symbol, e.g. SOL_USDC or SOL_USDC_PERP

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesMCP content blocks returned to the caller.
isErrorNoTrue when the tool result represents an application-level error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark it read-only and idempotent, and the description adds meaningful context: it is 'Free read', requires no x402, should be kept small/exact, and hosted reads never receive keypair bytes. It also exposes upstream default and max limits beyond the annotations. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core content is front-loaded and dense: one sentence for behavior, one for symbols, one for cost. But the multi-clause 'SAP MCP execution guidance' block is generic boilerplate that is also repeated in the input schema, so not every sentence earns its place in the tool description.

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 simple read tool with an output schema and safety annotations, the description covers what the tool returns, the symbol formats, the optional limit behavior, and the free/direct execution model. It does not explain output fields or errors, but the output schema and annotations make those omissions acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema carries the baseline. The description adds value by spelling out limit defaults ('default 20; upstream default 1000, max 5000') and giving a broader set of symbol/marketType examples (spot SOL_USDC, perp SOL_USDC_PERP, stock MU.US_USDC, RFQ AAPL.US_USDC_RFQ) than the schema.

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?

The description names a specific operation and resource: 'Get Backpack order book depth ... for a symbol' and even states the output shape as '[price, qty] ask/bid string pairs'. It also gives concrete symbol examples, which clearly separates it from sibling Backpack tools like get_trades or get_ticker.

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?

The intended use is implied by 'Get Backpack order book depth' and the read/discovery intent guidance, and the 'Free read' note says to call directly without x402. However, it never explicitly says when to choose this over a sibling read tool (e.g., trades, tickers, klines) or when not to use it.

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.