Skip to main content
Glama
ezydubs
by ezydubs

data_get_ohlcv

Retrieves OHLCV bar data from TradingView charts, with optional summary mode for compact high/low/open/close/volume statistics to reduce context usage.

Instructions

Get OHLCV bar data from the chart. Use summary=true for compact stats instead of all bars (saves context).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of bars to retrieve (max 500, default 100)
summaryNoReturn summary stats (high, low, open, close, avg volume, range) instead of all bars — much smaller output
Behavior3/5

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

No annotations are provided, so the description carries full behavioral burden. It does convey a key behavioral trade-off (summary=true produces compact stats and saves context) and implies a read-only operation, but it does not describe the default output shape, count limits, or chart-relative behavior beyond the schema's parameter descriptions.

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?

Two short sentences, front-loaded with the primary purpose and then a practical usage tip. Every word earns its place; no filler or redundancy.

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 low-complexity tool with two optional, fully documented parameters, the description plus schema is nearly sufficient. It lacks an explicit statement of the return structure, but no output schema exists and the OHLCV bar concept makes the expected fields reasonably clear.

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?

The input schema already describes both parameters completely (100% coverage), so the baseline is 3. The description adds value by explaining why summary=true should be used (compact stats, saves context) and clarifies the all-bars vs summary distinction beyond the schema's wording.

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?

Description starts with a specific verb 'Get' and resource 'OHLCV bar data', scoped to 'the chart'. This clearly identifies the tool's function and distinguishes it from siblings like data_get_indicator or data_get_study_values, which target different data.

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 only usage guidance is internal to the tool: use summary=true for compact stats instead of all bars to save context. It does not explicitly state when this tool should be preferred over sibling data_get_* tools, though the tool name and purpose make that largely inferable.

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/ezydubs/tradingview-mcp'

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