Skip to main content
Glama
drmartell

thetadata-mcp

by drmartell

stock_history_ohlc

Fetch historical OHLC bar data for any stock, with configurable intervals and date ranges. Supports up to one month per request.

Instructions

[VALUE] Historical OHLC bars for a stock. Max 1 month per request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoThe date to fetch data for. If present, this overrides start_date and end_date.
venueNoUsed to specify the venue of the real time or historic request. ``nqb`` = Nasdaq Basic; ``utp_cta`` = merged UTP & CTA.nqb
symbolYesThe stock or index symbol, or underlying symbol for options.
end_dateNoThe end date (inclusive).
end_timeNoThe end time (inclusive) in the specified day.16:00:00
intervalYesThe size of the time interval must be one of the available options listed below. Intervals less than 1m are available only for single-day requests.1s
start_dateNoThe start date (inclusive).
start_timeNoThe start time (inclusive) in the specified day.09:30:00
Behavior2/5

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

With no annotations to lean on, the description carries the burden of disclosing behavior, but it only reveals the 1-month limit. It omits critical behaviors such as date override precedence, single-day restrictions for sub-minute intervals, and default venue, leaving the agent to infer these from schemas or trial.

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 description is extremely short, which avoids fluff, but it includes a confusing '[VALUE]' placeholder and lacks structural front-loading of key differentiators. It is more under-specified than genuinely concise.

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

Completeness2/5

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

Given the tool's moderate complexity (8 parameters, no output schema, no annotations), the description fails to convey essential context such as return format, date range behavior, venue selection, or how this relates to sibling history/snapshot tools. The 1-month limit alone is not enough.

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?

The schema already provides 100% coverage for all 8 parameters with detailed descriptions. The tool description adds no additional parameter semantics beyond the 1-month limit, which is a constraint not tied to a specific parameter's meaning.

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 the tool returns historical OHLC bars for a stock, which clearly identifies the core resource and action. However, it does not explicitly distinguish from stock_history_eod, which also provides OHLC data, and lacks any mention of intraday intervals that differentiate it from daily bars.

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?

No guidance is provided on when to use this tool versus alternatives like stock_snapshot_ohlc for real-time data or stock_history_eod for daily bars. The only constraint mentioned (max 1 month per request) is a limitation, not a usage guideline.

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/drmartell/thetadata-mcp'

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