Skip to main content
Glama
henrikxyz

tradingview-finance MCP Server

by henrikxyz

get_history

Fetch historical OHLCV data from TradingView for any symbol, with options for timeframe, bar count, and price adjustment.

Instructions

Get historical candlestick/OHLCV (Open, High, Low, Close, Volume) chart data for a TradingView symbol.

Resolution Options:

  • "1", "5", "15", "30" (Minutes)

  • "60", "240" (Hours)

  • "1D" (Daily - Default)

  • "1W", "1M" (Weekly, Monthly)

Adjustment Options:

  • "splits" (default - splits adjusted)

  • "dividends" (splits + dividends adjusted)

  • "none" (raw unadjusted)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesThe TradingView symbol, e.g. "NASDAQ:AAPL", "CME_MINI:NQ1!".
timeframeNoOptional timeframe constraint, e.g. "1D", "60" (minutes).
resolutionNoCandlestick bar resolution, e.g. "1D" (default), "1", "5", "60", "240".1D
countNoNumber of bars to fetch (e.g. 50, 100, defaults to 100).
adjustmentNoPrice adjustment strategy, e.g. "splits" (default), "dividends", "none".splits

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

The description explains the data type (OHLCV), resolution ranges, and adjustment strategies. Since no annotations are provided, the description carries the full burden and covers behavior well, though it could mention any rate limits or data recency.

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 concise and well-organized with subsections for Resolution and Adjustment options. It could be slightly more structured (e.g., bullet list for resolutions) but is not wasteful.

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

Completeness5/5

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

Given the complexity (5 params, 1 required), full schema coverage, and presence of output schema, the description covers all necessary context: what the tool does, parameter options, and default values. No gaps remain.

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?

With 100% schema coverage, the schema already documents parameters. The description adds value by enumerating valid resolution values and adjustment options, which goes beyond the schema's generic 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 clearly states the tool retrieves historical OHLCV chart data for a TradingView symbol, which is a specific verb+resource. It distinguishes from siblings like get_quote or get_technicals by focusing on historical candlestick data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description lists resolution and adjustment options, giving clear context for when to use each. However, it does not explicitly state when not to use this tool or mention alternatives, missing a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/henrikxyz/tvfinance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server