Skip to main content
Glama

stock_dividends

Look up upcoming Taiwan TWSE/TPEx ex-dividend and ex-right dates by stock code or name to plan around key dividend events.

Instructions

查詢上市/上櫃近期除權息日程,可指定股票代號或名稱。Upcoming Taiwan TWSE/TPEx ex-dividend and ex-right dates; optional code or name.

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

Input Schema

NameRequiredDescriptionDefault
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description has to carry the full behavioral burden. It does disclose the data source and scope (TWSE/TPEx) and that the results are limited to the near term, which is useful context. However, it is silent on what happens when query is omitted, what the returned record contains, freshness or caching, and error or empty-result behavior.

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?

It is short and front-loaded, leading with the scope, then giving the filter, and it keeps the essential information visible. The cost is that the Chinese and English halves duplicate the same content rather than complementing each other, which makes it more verbose than it needs to be.

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?

It is a simple tool with one optional parameter, so the description is nearly sufficient. It does, however, fall short on two points that matter for calling it correctly: there is no output schema, and the description does not describe the shape of the returned ex-dividend records or the default result when no query is supplied.

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 0%, so the bare 'query: string' property would be otherwise meaningless; the description compensates by explaining that it accepts either a stock code or a stock name and that it is optional. The one remaining gap is that the description never states what the unfiltered default result is.

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: upcoming ex-dividend and ex-right dates for Taiwan TWSE/TPEx listed and OTC stocks, with an optional code or name filter. That is clearly distinct from siblings like stock_quote or stock_market_summary, though it never names or excludes those alternatives explicitly.

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 implied rather than stated: the optional query parameter signals that callers can narrow the results to one stock. There is no explicit guidance on when the results should be read as an unfiltered calendar, nor any exclusion pointing to a sibling tool for historical dividend data or quotes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.