Skip to main content
Glama

Taiwan Futures

Get futures and options quotes

get_quotes
Read-onlyIdempotent

Latest quotes for TAIFEX futures (continuous codes such as TXF1, specific months or contract codes) and single options series. Data comes from the CubeLV Market Data API (https://cubelv.com/en/mcp/taiwan-futures/): pick a method and pass its arguments in args. The market is TAIFEX (filled in when market is omitted).

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).

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

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

Annotations only declare readOnly/idempotent/openWorld; the description goes well past that with refresh cadence (ESB ~5s), absence of price limits, referencePrice being the prior day's average, totalVolume in shares, bids/asks limited to recommending brokers, US snapshots only returned if obtained within 2.5 seconds, and options returning no 5-level book. These are exactly the quiet behaviors that would otherwise cause misreads of the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads purpose and uses a method-bulleted layout, but the quotes section re-renders the entire ESB caveat block verbatim from quote, and sentences such as the continuous-code enumeration run long enough to be hard to scan. Correct and information-dense, yet meaningfully over-sized with duplicated content.

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 two-method dispatcher over a nested args object with no output schema, it covers method selection, per-method arguments, and the key response fields (contract, best bid/ask, session volume, prior-day open interest) plus degradation behavior for unresolved or stale symbols. Only the overall response envelope and pagination/size limits for batch quotes are left implicit.

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 schema is only a generic args object deferring to the description ("Arguments of the method, as listed in the tool description"), so the description carries the full semantic load and delivers it: per-method required market and symbol/symbols, market enum meanings (TWSE vs TPEX vs ESB vs TAIFEX), symbol character rules and 32-char limit, and the continuous/month/native code grammars with worked examples. Without this text the tool is effectively uncallable.

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?

Opens with a specific verb+resource ("Latest quotes for TAIFEX futures ... and single options series") and then enumerates the two callable methods, quote and quotes, so an agent knows exactly which shape of request it is making. It also disambiguates itself from adjacent data ("use warrants or warrant for their live bid/ask") rather than leaving the boundary implicit.

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?

Gives real routing guidance inside the method entries: use quotes "instead of calling trades per symbol" for cross-sectional buy/sell pressure, unresolved symbols are silently omitted so "query quote for the reason," and warrants should go to the warrant tools. It stops short of stating when NOT to use this versus siblings like get_price_history or get_option_chain, but the alternatives it does name are concrete.

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