Skip to main content
Glama

台股除權除息預告

stocks__get_tw_ex_dividend
Read-onlyIdempotent

[台美股題材與高股息]台股除權除息預告:除權息日、權或息、現金股利、配股比率,含 ETF(證交所 TWT48U)。

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo代號篩選;不填回傳全部即將除權息

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this read-only, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely new context — the returned fields and the upstream source (證交所 TWT48U) — but says nothing about the time window (upcoming only vs. historical) or result size/capping.

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 compact sentence front-loads the Chinese name followed by the field list and data source, with no filler. The bracketed '[台美股題材與高股息]' tag prefix is promotional noise rather than call-relevant information, which costs it a point.

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?

For a one-parameter read-only lookup with full annotation coverage and no output schema, the description covers subject matter, fields returned, ETF inclusion, and data provenance. The remaining gap — the time horizon of '預告' (how far ahead) — is modest but real.

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% for the single 'code' parameter, so the schema already explains that omitting it returns all upcoming ex-dividend events. The description adds no further meaning about the code format (e.g., '2330' vs. 'TW2330'), so the baseline of 3 applies.

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+resource: Taiwan ex-rights/ex-dividend announcements ('台股除權除息預告'), and enumerates the payload fields (ex-date, rights vs. cash, cash dividend, stock dividend ratio). The '含 ETF' note usefully scopes coverage against sibling dividend tools, though no sibling is named 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 or when-not guidance in the description, and no alternative is named among siblings such as get_tw_dividend, get_tw_ex_dividend_yield, or get_etf_dividends. The only usage hint ('不填回傳全部即將除權息') lives in the schema, not the description, so an agent gets no routing help here.

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