Skip to main content
Glama

查詢台灣上市股票與 ETF 未來除權息日曆

stocks__get_tw_ex_dividend_yield
Read-onlyIdempotent

[台美股題材與高股息]查詢台灣上市股票與 ETF 未來除權息日曆,附現金股利、最近收盤價與估算殖利率,可篩最低殖利率。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stocks__get_tw_ex_dividend_yield"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo股票代號,例如 0056
daysNo往後幾天,預設 30,最多 120
min_yieldNo最低殖利率 %,例如 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, open-world lookup, so safety is covered. The description adds worthwhile context beyond that — it discloses the returned fields (cash dividend, latest close price, estimated yield) — but does not clarify whether a code is required to get results, whether the whole market is returned when omitted, or how the 'estimated' yield is derived.

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?

A single front-loaded sentence that moves from scope to returned fields to filtering, with no wasted clauses. The bracketed category tag '[台美股題材與高股息]' is mild boilerplate noise but does not impede scanning.

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 three fully documented optional parameters and no output schema, the description covers scope, returned fields and filtering adequately for an agent to invoke it. The remaining gap is behavioral: it never says what happens without a code (all upcoming events vs an error) or how results are sorted or limited in size.

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%, with code, days (default 30, max 120) and min_yield (%) all documented inline, so the baseline is 3. The description only echoes the min_yield screening capability and adds no new meaning for code or days beyond what the schema states.

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 states a specific verb and resource — querying the upcoming ex-dividend/ex-rights calendar for listed Taiwan stocks and ETFs — and adds what each row contains (cash dividend, latest close, estimated yield). The word '未來' (upcoming) implicitly separates it from a historical ex-dividend lookup, but no sibling is named, so the agent must infer the distinction from names alone.

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?

The trailing '可篩最低殖利率' signals a screening use case (find upcoming ex-dividend names above a yield floor), which implies when this tool is appropriate. There is no explicit when-not guidance and no pointer to related tools such as the plain ex-dividend or dividend lookups, so routing is only loosely implied.

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