Skip to main content
Glama

Taiwan Stocks

Get Taiwan stock quotes

get_quotes
Read-onlyIdempotent

Latest quotes for Taiwan stocks, ETFs, emerging-market stocks and TAIFEX futures and options, plus the US-listed ADRs of Taiwan companies with their premium over the Taiwan price. 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:

  • quote (Real-time quote): Latest quote for one instrument: last price, 5-level order book and limit-up/limit-down prices. TAIFEX futures accept continuous codes (TXF1 = front month, TXF2 = next month, TXF3 and up by listed expiry order, e.g. CDF1-CDF5; MXFW1/MXFW2 = nearest/next mini-TAIEX weekly), a specific month (TXF202611 or TX202611, weekly MXF202610W4) or a native contract code (TXFK6); the response field contract is the actual contract. TAIFEX options (TXO incl. weeklies, TEO, TFO) are written as TXO202611C46900 (contract + expiry + C/P + strike; weeklies TXO202610W4P41600) or TXO46900K6 and return best bid/ask, last price, session volume and prior-day open interest (no 5-level book). TWSE/TPEx stocks also carry sides: cumulative outside/inside (buy/sell-initiated) volume and amount for the session. ESB (emerging stocks) quotes refresh about every 5 seconds, have no price limits, referencePrice is the previous day's average price, totalVolume is in shares, and bids/asks hold only the best quote from recommending brokers. Warrants only show the pre-open price limits here; use warrants or warrant for their live bid/ask. Args: market (required): Market: TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), ESB = emerging stock market, TAIFEX = futures/options, NASDAQ, NYSE, AMEX = US stocks; symbol (required): Symbol (uppercase letters/digits and . _ -, up to 32 chars). TAIFEX futures: continuous code (TXF1, CDF3, MXFW1), specific month (TXF202611, MXF202610W4) or native code (TXFK6); TAIFEX options: TXO202611C46900, weekly TXO202610W4P41600, or TXO46900K6.

  • quotes (Batch quotes): Latest quotes for multiple symbols in one market. Futures and options codes work as in quote (TXF1, MXFW1, TXF202611, native codes, TXO202611C46900); symbols that cannot be resolved are omitted (query quote for the reason). TWSE/TPEx stocks each carry sides (cumulative outside/inside volume and amount for the session), so use this instead of calling trades per symbol for buy/sell pressure across many stocks. US stocks return the symbols whose snapshot was obtained within 2.5 seconds. ESB quotes: about every 5 seconds, no price limits, totalVolume in shares, best bid/ask from recommending brokers only. Args: market (required): Market: TWSE, TPEX, ESB, TAIFEX, NASDAQ, NYSE or AMEX; symbols (required): Comma-separated symbols (duplicates counted once).

  • adrs (Taiwan company ADRs and premium): Taiwan companies whose shares also trade in the US as ADRs (TSMC TSM, UMC, ASE ASX, Chunghwa Telecom CHT): ordinary shares per ADS, latest ADR price, latest Taiwan price, USD/TWD reference rate, and the ADR premium over the Taiwan price converted to USD per ADS. ADR prices follow the quote rules (5-minute delay without sign-in); the reference price is used when there is no trade yet.

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

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.7/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent), the description discloses a lot of operational behavior: ESB refresh cadence of ~5 seconds, no price limits on ESB, referencePrice is the prior-day average, totalVolume is in shares, bids/asks hold only the best recommending-broker quote, ADR prices are 5-minute delayed without sign-in, and US batch results only include snapshots obtained within 2.5 seconds. It also explains that unresolved symbols are silently omitted from batch results, with quote as the diagnostic path.

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?

The structure is front-loaded with the data-coverage statement, followed by a bulleted method list and per-method args, which makes it navigable despite its length. There is noticeable repetition — ESB caveats appear under both quote and quotes, and the futures/options code rules are restated in the args section — that could be consolidated without losing information.

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 three-method tool with no output schema and an untyped args object, the description supplies what is needed to call each method correctly: per-method argument names, requiredness, symbol grammar, and the returned fields (last price, 5-level book, limit-up/down, cumulative inside/outside volume, options bid/ask with volume and open interest). Nothing an agent would need to invoke these methods is missing.

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?

The top-level schema is only method/args/lang and the args object is untyped, so the description must carry the entire semantics of market and symbol, and it does: it expands every market enum value (TWSE/TPEX/ESB/TAIFEX/NASDAQ/NYSE/AMEX) and documents symbol formats for futures (continuous TXF1, MXFW1, month TXF202611, native TXFK6) and options (TXO202611C46900, weekly variants, TXO46900K6). The lang parameter is left to the schema, which already covers it.

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 description states a specific verb and resource (latest quotes) and is explicit about coverage: TWSE/TPEx stocks, ETFs, emerging-market stocks, TAIFEX futures/options, and US ADRs of Taiwan companies with their premium. It names sibling-adjacent tools (warrants/warrant, trades) so an agent can tell what this tool is not, and the three methods are enumerated inline.

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

Usage Guidelines4/5

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

It routes within the tool explicitly: use quotes instead of calling trades per symbol for buy/sell pressure, and use warrants/warrant for live warrant bid/ask, plus a note to fall back to quote when a batch symbol is omitted. It never contrasts with other siblings such as get_price_history or get_market_overview, so an agent must infer that boundary.

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