Skip to main content
Glama
alekskram

arcus-agent-gateway

Price History

price_history
Read-only

Get recorded historical price data for any symbol: daily OHLCV bars or raw snapshots (bid/ask, mid, multiplier). Use for backtesting or trend analysis without relying on live market data.

Instructions

Historical prices recorded by the OPTIONAL local recorder (arcus_mcp/recorder.py since 0.2.1) - not a live API call. timeframe='daily': OHLCV bars from history/daily.parquet (open/high/low/close are multiplier-adjusted); timeframe='raw': every recorded snapshot (bid/ask raw, mid_adjusted, multiplier, is_halted) from history/snapshots_*.parquet. Rows are newest-first. The symbol is NOT checked against token_list (the recorder writes the whole universe; assets drift) - a symbol simply absent from the file returns count 0. Degrades honestly instead of raising when the optional pieces are missing: pyarrow absent -> error suggesting 'pip install arcus-agent-gateway[recorder]'; recorder never run / no data yet -> error pointing at README § Optional price history recorder. limit must be positive (daily capped at 200, raw at 500). Example: price_history(symbol='AAPL', timeframe='daily', limit=30)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
symbolYes
timeframeNodaily

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark the tool as read-only and non-destructive, but the description goes well beyond them: it discloses file-backed behavior, newest-first ordering, multiplier adjustment, absence behavior returning count 0, and honest degradation with specific error messages for missing pyarrow or missing recorder data. No contradiction with annotations exists.

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?

The description is long but every sentence adds essential operational detail: source type, timeframe behavior, row ordering, symbol semantics, error cases, limit constraints, and an example. It is front-loaded with the most important distinction ('not a live API call') and structured so the agent can quickly route to the right behavior.

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 output schema exists, the description does not need to explain return shapes. It covers the data source, optionality, failure modes, parameter constraints, and a concrete usage example. An agent has everything needed to invoke the tool correctly and interpret unusual outcomes like count 0.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden for parameters. It explains timeframe values ('daily' vs 'raw'), the meaning and caps for limit (daily capped at 200, raw at 500), and the symbol semantics including that it is not checked against token_list and absent symbols return count 0. All three parameters are meaningfully documented.

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 this tool returns historical prices from a local recorder, not a live API call, and distinguishes the daily OHLCV and raw snapshot modes. It is unambiguous about the resource and scope, and the 'not a live API call' note separates it from quote/quotes siblings without opening their schemas.

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?

It explicitly tells the agent this is not a live API call, indicating the tool is for historical data rather than current market data. It also explains the data source is optional and may not exist, and gives error behavior. However, it does not name a sibling tool like quote as the alternative for live prices, so the when-to-use guidance is clear but not fully explicit about alternatives.

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

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/alekskram/arcus-agent-gateway'

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