Skip to main content
Glama

台股題材與高股息

台股除權除息預告

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, openWorld and non-destructive behavior, so the bar is lower. The description nevertheless adds meaningful context beyond them: the data source is named (證交所 TWT48U) and ETF instruments are explicitly included, which materially changes what the agent expects in the result set. It stops short of stating refresh cadence or the look-ahead window.

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?

One dense line that front-loads the resource, then lists the returned fields, then the coverage scope and data source. No filler, no repetition of the title without added information.

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 no output schema, the description correctly compensates by enumerating the returned fields and the data source, and by noting ETF inclusion. It is largely sufficient for a single-optional-param read tool; only the temporal window and ordering of results remain unstated.

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?

There is a single optional parameter with 100% schema description coverage, so the schema already carries the semantics of 'code' filtering and the default of returning all upcoming events. The description adds nothing about the parameter, which is acceptable at this coverage level but earns only the baseline.

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 uses a specific verb and resource, the Taiwanese ex-rights/ex-dividend schedule, and enumerates the exact returned fields (ex-date, rights or dividend, cash dividend, stock dividend ratio). It also discloses ETF coverage and the upstream source (TWSE TWT48U). It does not differentiate itself from siblings such as get_tw_dividend_yield or get_tw_dividend, leaving the agent to infer the boundary.

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?

Usage is only implied: '預告' signals this is a forward-looking, upcoming-events dataset, and the schema clarifies that omitting the code returns everything pending. There is no explicit statement of when to prefer this over get_tw_dividend or get_tw_dividend_yield, and no stated exclusions.

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.