Skip to main content
Glama
eminsk

yfinance-ta-patterns

by eminsk

Get Market News Headlines

ta_get_news
Read-only

Fetch recent news headlines, publishers, and publication timestamps for a ticker symbol to support market analysis. Specify symbol and optional limit up to 50.

Instructions

Fetch recent market news headlines, publishers, and publication timestamps for a given ticker symbol (e.g. 'AAPL', 'NVDA', 'BTC-USD').

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of news headlines to return (default: 10, max: 50)
symbolYesTicker symbol (e.g. 'AAPL', 'NVDA', 'BTC-USD')

Output Schema

NameRequiredDescriptionDefault
newsNo
sourceNo
statusNo
symbolNo
messageNo
total_newsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.60

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety and external-source profile is covered. The description adds no behavioral context beyond that — no news freshness window, source coverage, latency, or rate-limit behavior — and the return-field list it does give is redundant with the output schema.

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?

A single front-loaded sentence with the action, resource, return fields, and parameter inline. No filler and nothing buried.

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 a complete input schema, an output schema, and annotations covering safety, the description needs little more. The one real gap is the time window for 'recent' news, which an agent cannot derive from the structured fields.

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?

Schema description coverage is 100%, so both symbol and limit (default 10, max 50) are fully documented in the schema. The description only repeats the symbol examples already present in the schema, adding no new semantics.

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 gives a specific verb (Fetch) and resource (recent market news headlines, publishers, timestamps) scoped to a ticker symbol. It is unambiguous against siblings like ta_scan_symbol, ta_backtest_patterns, or ta_get_economic_calendar, though it never names an alternative to differentiate explicitly.

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 guidance, no statement of prerequisites, and no mention of when a different tool would be preferable. The agent must infer the news-fetching role purely from the resource noun.

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