Skip to main content
Glama

Ticker Timeseries

get_ticker_timeseries
Read-onlyIdempotent

Get daily sentiment, mentions, saved closes and period metrics for charting.

Returns a chart summary (total mentions, daily average, mention-weighted sentiment, price change and dated price endpoints), rendering instructions and a CSV block with one row per calendar day. Sentiment and mentions are aggregated from Buzzberg mentions by publication date. Price close is read from the local price_bars cache only; this tool does not call external price APIs, so close may be blank if Buzzberg has no cached bar for that day.

Args: ticker: Symbol (e.g. NVDA, BTC, SPY). Required. days: Lookback period in calendar days (1-365). Default 90. source_type: Filter: twitter, youtube, newsletter, reddit. Empty = default. trim_empty_prefix: Remove only leading days with neither mentions nor a cached close. Internal zero days remain for chart continuity. Default True. include_today: Include the current, incomplete UTC day. Default True for compatibility. Use False for the last N complete days; also use trim_empty_prefix=False to retain the full range.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_ticker_timeseries"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
tickerYes
source_typeNo
include_todayNo
trim_empty_prefixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the bar is lower, but the description still adds real behavioral context: close is read only from the local price_bars cache, external price APIs are never called, and close may be blank. It also explains how sentiment/mentions are aggregated by publication date. Missing only a note on cost/latency or data freshness bounds.

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?

Front-loads purpose, then returns, then caveats, then per-arg notes, so the agent can stop reading early. It is denser than strictly necessary for a 5-parameter read tool (the rendering-instructions/CSV detail is somewhat padded), but no sentence is truly wasted given the absent output schema.

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?

With no output schema, the description fully specifies what comes back (chart summary fields, rendering instructions, CSV with one row per calendar day) plus the blank-close caveat. Combined with complete parameter documentation, an agent has everything needed to call and interpret results.

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 coverage is 0%, so the description carries the full load and does: ticker examples, days range 1-365 with default 90, source_type enumerated values (twitter, youtube, newsletter, reddit) that the schema lacks as an enum, and precise semantics for trim_empty_prefix (leading-only trimming vs. internal zero days) and include_today (incomplete UTC day vs. last N complete days). Nothing material is left ambiguous.

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?

States a concrete verb-and-resource pair: daily sentiment, mentions, saved closes and period metrics for charting, then enumerates the exact outputs (chart summary, rendering instructions, CSV block). This clearly separates it from siblings like get_sentiment or get_ticker_deep_dive, which do not produce a per-calendar-day chart series.

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?

Gives operational guidance for the trickier flags, e.g. 'Use False for the last N complete days; also use trim_empty_prefix=False to retain the full range', and states source_type's empty value means default. It never names an alternative tool or states when NOT to use this series (e.g. point-in-time sentiment vs. timeseries), so it stops short of full routing guidance.

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