Skip to main content
Glama

Ticker price history

rayana_ai_ticker_price
Read-only

Daily close-price history for one ticker over the given period.

Long periods are evenly sampled down to max_points bars rather than cut short, so the series still spans the whole period — 5Y and MAX return the shape of the history, not its last year. last_close, change_pct and the range_low/range_high extremes are computed over every bar regardless of sampling.

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": {
      "symbol": "<symbol>"
    },
    "name": "rayana_ai_ticker_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoHow far back the history reaches.1Y
symbolYesTicker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one.
max_pointsNoMost bars to return (at least 2); longer periods are evenly sampled down to this.

Output Schema

NameRequiredDescriptionDefault
periodYes
pointsYes
tickerYes
range_lowNo
change_pctNo
last_closeNo
range_highNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / max_points / description
      Added value: +"Most bars to return (at least 2); longer periods are evenly sampled down to this."
    • addedInput schema / properties / period / description
      Added value: +"How far back the history reaches."
    • addedInput schema / properties / symbol / description
      Added value: +"Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=true, openWorldHint=true), so the bar is lower, and the description still adds real behavioral context: long periods are evenly sampled down to max_points instead of being cut short, and summary stats are computed over every bar regardless of sampling. That is a non-obvious semantic an agent would otherwise get wrong. It doesn't cover failure modes for invalid symbols, which keeps it at 4.

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?

Two short paragraphs, front-loaded with the core purpose, then the non-obvious sampling contract. Every sentence carries information; the only minor cost is a slightly prose-heavy second sentence that could be tightened.

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?

With an output schema present, the description needn't enumerate return fields, and the parameter set is fully documented in the schema. What is covered — sampling behavior and how summary stats are computed — is exactly the part an agent cannot infer. Error/empty-result behavior for an unknown symbol is the only notable omission.

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?

Schema coverage is 100%, so the baseline would be 3. The description goes beyond it by explaining the interaction between period and max_points ('5Y and MAX return the shape of the history, not its last year') and by naming which derived values survive downsampling. That is meaningful semantics the schema alone doesn't convey.

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 opens with a specific verb+resource+scope: 'Daily close-price history for one ticker over the given period.' That is unmistakably a historical price-series tool, distinct in kind from what a sibling like rayana_ai_ticker presumably returns. It stops short of naming any sibling to contrast with, so it earns a 4 rather than a 5.

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?

There is no when-to-use / when-not-to-use guidance and no routing to an alternative tool. The mention that long periods are sampled rather than truncated is behavioral detail, not usage guidance; nothing tells the agent when this tool is the right pick over a ticker snapshot or analyst tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources