Skip to main content
Glama

Taiwan Stocks

Find Taiwan stocks and trading days

search_symbols
Read-onlyIdempotent

Finds Taiwan stocks, ETFs, emerging-market stocks and TAIFEX futures by code, Chinese name, English name or Japanese kanji form of the name, and answers trading calendar questions. Data comes from the CubeLV Market Data API (https://cubelv.com/en/mcp/taiwan-stocks/): pick a method and pass its arguments in args. US markets are available only for the ADRs of Taiwan companies.

Methods:

  • symbols (Symbol search): Search Taiwan stocks, US stocks and TAIFEX futures by symbol prefix or name fragment (e.g. 2330 or TSMC's Chinese name). For TAIFEX, each futures product lists the continuous codes of its currently listed months (CDF1-CDF5, TXF1-TXF6, mini-TAIEX weeklies MXFW1, MXFW2) with the contract they currently map to (contract) and its expiry month (expiry); stock and ETF futures also carry the underlying symbol and name. TAIFEX options are not listed here: use optionChainLive for live strike codes and quotes, optionChain or optionIV for end-of-day data. Returns up to 50 results. Args: query (required): Symbol prefix or name fragment (up to 64 characters); market: Restrict to one market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; omit for all markets; limit: Maximum results (1-50, default 50).

  • calendar (Trading calendar): Whether each day in a date range is a trading day. TWSE, TPEX, ESB and TAIFEX share the Taiwan exchange calendar; NASDAQ, NYSE and AMEX share the NYSE calendar. The range is at most 400 days. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; from: Start date, YYYYMMDD; defaults to today in the exchange's local time; to: End date, YYYYMMDD; defaults to from + 30 days; range at most 400 days.

  • tradingDay (Trading day check): Whether a given date (or today in the exchange's local time) is a trading day, plus the previous and next trading days. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; date (required): Date as YYYYMMDD, or today (today in the exchange's local time).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
argsNoArguments of the method, as listed in the tool description
langNoLanguage for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en
methodYesMethod from the list in the tool description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered; the description then adds substantive behavior the annotations cannot: the upstream data source, a hard 50-result cap, a 400-day maximum calendar range, and the default resolution rules (from defaults to today in the exchange's local time, to defaults to from + 30 days). It also discloses non-obvious payload detail, e.g. that each TAIFEX futures product lists continuous codes CDF1-CDF5/TXF1-TXF6/MXFW1-MXFW2 with their mapped contract and expiry month.

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 front-loaded with a scope sentence, then a bulleted method list, which makes a three-method dispatcher scannable. It is still long, and the market enum (TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE, AMEX) is restated in every method bullet, which is minor redundancy rather than dead weight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a multi-method dispatcher with nested free-form args and no output schema, the description supplies what is missing: per-method return semantics ("Returns up to 50 results", "Whether each day in a date range is a trading day", "plus the previous and next trading days"), limits, defaults, and calendar-grouping rules across exchanges. Nothing an agent needs to construct a valid call is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% but the args object is additionalProperties:true with only a pointer ("as listed in the tool description"), so the description carries the real burden — and it does, documenting query (required, up to 64 characters), the market enum and that omitting it searches all markets, limit (1-50, default 50), and from/to as YYYYMMDD with their defaults, plus that date accepts YYYYMMDD or the literal "today". This is meaning genuinely absent from the structured schema.

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 opening sentence states a specific verb (finds) and concrete resources (Taiwan stocks, ETFs, emerging-market stocks, TAIFEX futures) plus trading calendar answers, and names the accepted lookup keys (code, Chinese/English/Japanese-kanji name). It also bounds scope explicitly ("US markets are available only for the ADRs of Taiwan companies"), so an agent knows exactly what domain this covers versus the sibling market-data tools.

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

Usage Guidelines5/5

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

It tells the agent to pick a method and pass args, then defines each method's purpose and selection condition: symbols for name/prefix lookup, calendar for a range, tradingDay for a single date plus neighbors. It goes further with an explicit exclusion and alternative routing — "TAIFEX options are not listed here: use optionChainLive for live strike codes and quotes, optionChain or optionIV for end-of-day data" — which is exactly the when-not-to-use guidance that prevents misfires.

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