Skip to main content
Glama

sap backpack get klines

sap_backpack_get_klines
Read-onlyIdempotent

Get Backpack OHLCV klines for a symbol. interval is one of 1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M (case-sensitive: 'M' = month). startTime/endTime accept ISO-8601 strings or epoch milliseconds and are converted to epoch SECONDS upstream. 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
symbolYesMarket symbol, e.g. SOL_USDC or SOL_USDC_PERP
endTimeNoRange end: ISO-8601 string or epoch (seconds or milliseconds)
intervalYesKline interval (1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M)
startTimeNoRange start: ISO-8601 string or epoch (seconds or milliseconds)

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 declare readOnlyHint=true and idempotentHint=true, and the description adds meaningful behavioral details: startTime/endTime are converted to epoch SECONDS upstream, the interval 'M' is case-sensitive, and Backpack supports specific symbol patterns with marketType. These go beyond what annotations provide, without contradicting them.

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 well-structured and front-loaded, but the description includes a long generic 'SAP MCP execution guidance' block that is repeated in the schema description and is not tool-specific. This makes the description less concise than it could be, though the key information is easy to find.

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 an output schema, annotations, and detailed symbol/time semantics, the description is largely complete for a read-only kline tool. It does not state a default time range when startTime/endTime are omitted, but that is a minor gap given the optional parameters and otherwise rich context.

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 baseline is 3. The description adds extra meaning by explaining case-sensitivity of '1M', the conversion to epoch seconds, and giving concrete symbol examples (SOL_USDC, SOL_USDC_PERP, MU.US_USDC, AAPL.US_USDC_RFQ), which are not fully captured by the schema descriptions.

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 opens with a specific verb and resource: 'Get Backpack OHLCV klines for a symbol.' The exchange and data type are explicit, and the 'Backpack' prefix distinguishes it from sibling tools like coingecko_getOHLCV and sap_phoenix_get_candles.

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 description gives useful execution context ('Free read', 'call directly without x402') but does not explicitly state when to prefer this tool over alternatives such as coingecko_getOHLCV or sap_phoenix_get_candles. The Backpack-specific symbols imply the use case, but there is no direct comparison or exclusion guidance.

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.