Skip to main content
Glama

get_stock_sentiment_v2

Read-onlyIdempotent

Analyze stock sentiment by applying NER to news and FinBERT for scoring, returning a sentiment time series and related news articles.

Instructions

取得個股情緒分析(NER 比對新聞 + FinBERT 情緒評分),回傳情緒時序和相關新聞

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stockIdYes股票代號
marketNo市場 TW 或 US,預設 TW
daysNo查詢天數,預設 30
Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent. Description adds method details (NER, FinBERT) and output description, providing useful context beyond annotations.

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?

Single sentence in Chinese that is compact, front-loaded with key information, and contains no superfluous words.

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?

Despite no output schema, description explains return value (sentiment time series and related news). Sufficient for a read-only tool with good annotations. Could mention data format but complete enough.

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 coverage is 100% with clear parameter descriptions. Description does not add new information about parameters beyond what schema provides.

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 it gets individual stock sentiment analysis using NER and FinBERT, and returns time series and news. This differentiates it from market-level sentiment tools like get_market_sentiment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use. Implied usage for stock sentiment, but lacks comparison with sibling tools like analyze_sentiment or get_sentiment_forecasts.

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/kevinlin49361128-stack/stock-analyzer-mcp'

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