Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

get_tradingview_chart_data

Retrieve OHLCV candle data for a specified instrument and time range, with candle period in seconds.

Instructions

Get OHLCV candle data for a specific instrument (trades-based).

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": {
      "instrument_name": "<instrument_name>",
      "start_timestamp": "<start_timestamp>",
      "end_timestamp": "<end_timestamp>",
      "period": "<period>"
    },
    "name": "get_tradingview_chart_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodYesCandle period in seconds
end_timestampYesEnd time (seconds)
instrument_nameYesInstrument name
start_timestampYesStart time (seconds)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses only the data source ('trades-based'); nothing is said about historical range limits, maximum candle counts, rate limiting, authentication, or what an empty/invalid range returns.

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; the key qualifier appears at the start of the statement rather than buried. Nothing is redundant with structured fields.

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 4-required-parameter read tool with no output schema, the description establishes the returned shape (OHLCV) but omits practical constraints an agent needs to call it correctly, such as timestamp range limits and pagination or truncation behavior. It is adequate but not complete.

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 coverage is 100%, with each parameter already documented including the 'seconds' unit convention, so the baseline is 3. The description adds no parameter-level meaning such as valid period values or instrument naming conventions beyond what the schema states.

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 names a specific verb ('Get') and resource ('OHLCV candle data for a specific instrument') and adds the qualifier '(trades-based)', which hints at the data source. It stops short of naming the contrasting sibling (get_index_chart_data), so differentiation is implied rather than explicit.

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 parenthetical '(trades-based)' implies this tool should be used when trade-derived candles are wanted rather than index-derived ones, but no when-to-use or when-not-to-use rule is stated. An agent must infer the boundary with get_index_chart_data on its own.

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