Skip to main content
Glama
AmyYingTang

mcp-news-briefing

by AmyYingTang

briefing_stock_history_record

Record a stock's daily sentiment snapshot after analysis, capturing sentiment score, article count, and key events for historical tracking.

Instructions

记录某只股票的每日情绪快照。在 briefing_stock_digest 分析完成后自动调用。 评分规则:🟢🟢=+2, 🟢=+1, ⚪=0, 🔴=-1, 🔴🔴=-2,sentiment_score = 加权平均值。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNo用户token或用户名。留空则自动使用默认身份。
tickerYes股票代码,如 AAPL 或 CBA.AX
breakdownYes五档情绪分布
key_eventsYes🟢🟢 或 🔴🔴 级别的重大消息摘要
close_priceNo当日收盘价(如果 Claude 通过 web search 获取到)
article_countYes本次分析的文章数量
alert_triggersNo本次分析中触发的预警列表
sentiment_scoreYes加权平均情绪评分(-2 到 +2)
price_change_pctNo当日涨跌幅 %(如果 Claude 通过 web search 获取到)
Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It does explain the sentiment_score calculation formula and the automatic invocation, which is useful. However, it omits potential side effects like whether the record is appended or overwritten, auth requirements, or behavior on manual invocation.

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 extremely concise: two sentences plus a formula. It front-loads the core purpose, mentions the trigger, and then gives the scoring rule. No unnecessary words or repetition.

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

Completeness3/5

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

Given the tool has 9 parameters, nested objects, and no output schema, the description provides essential scoring context and trigger. However, it does not mention return values, idempotency, or error scenarios, which would be expected given no annotations and no output schema. It is adequate but leaves gaps.

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 description coverage is 100%, so the baseline is 3. The description adds meaning by explaining the weighted-average formula for sentiment_score using emoji levels, which is not fully captured in the schema. It also ties the parameters to the digest workflow, providing context beyond the schema.

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 the tool records a daily sentiment snapshot for a stock, with a specific verb and resource. It also distinguishes itself from sibling tools like briefing_stock_history_get by mentioning it is automatically called after briefing_stock_digest. This makes the purpose unambiguous.

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 states the tool is automatically invoked after briefing_stock_digest completes, providing a clear usage context. However, it does not explicitly say when not to use it or name alternatives, so it falls short of a 5.

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/AmyYingTang/mcp-news-briefing'

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