Skip to main content
Glama
Orderly Trading MCP

Orderly Trading MCP

Official

Candlestick data

kline
Read-onlyIdempotent

Retrieve candlestick price data for a trading symbol and interval to analyze market trends, with configurable candle count and network selection.

Instructions

Get candlestick/kline data. type is one of 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w, 1mon; size defaults to 100 (max 1000). Read-only.

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

Input Schema

NameRequiredDescriptionDefault
sizeNoNumber of candles (default: 100, max: 1000)
typeYestype One of: 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 1w, 1mon.
symbolYessymbol
networkNoNetwork override for this call. Defaults to ORDERLY_MCP_NETWORK, then the CLI config.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.5

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is fully structured. The description repeats 'Read-only' and restates the size default/max already in the schema, adding little behavioral context such as pagination, data freshness, or symbol format.

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 compact and front-loaded with the core action, then lists the interval and size constraints. It wastes little space, though the full interval enumeration duplicates the schema and 'Read-only' repeats an annotation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only market data tool with complete schema coverage and rich annotations, the definition is minimally adequate. It still omits when-to-use guidance and does not clarify symbol format or the network override parameter.

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%, so the schema already documents all four parameters, including the enum values and size default/max. The description largely repeats the enum and size details rather than adding meaning about symbol or network semantics.

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 states a specific verb and resource: get candlestick/kline data. It does not distinguish this tool from siblings such as market_price or market_orderbook, so the purpose is clear but not sibling-differentiated.

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 guidance on when to use this tool versus alternatives like market_price or market_orderbook, nor any prerequisites or exclusions. The only implied context is that it retrieves OHLC-style data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.