Skip to main content
Glama

Taiwan Stocks

Get ETF and fund data

get_etfs_and_funds
Read-onlyIdempotent

Taiwan ETF lists, full holdings, distributions, size and net asset value, which ETFs hold a stock, and domestic fund data. 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:

  • fundHolders (Domestic funds holding a stock): Domestic (Taiwan) funds that hold the stock among their top 10 holdings by amount in a given month (SITCA monthly reports), with the amount invested, percentage of fund net assets and totals. Defaults to the latest month with data. Args: market (required): TWSE = TWSE-listed, TPEX = TPEx-listed (OTC), case-insensitive; symbol (required): Stock symbol (case-insensitive); month: Data month, YYYYMM; default the latest month with data for this stock.

  • fundCompanyHoldings (Fund manager's top 10 holdings by fund): Top 10 holdings of each fund managed by one Taiwan investment trust company in a given month (SITCA data, from 201506). If that company and month have not been collected yet, the response has state=pending and the data is fetched in the background; retry later to get state=available with full rows. Args: company (required): Investment trust company code as used by SITCA (one uppercase letter and four digits, e.g. A0005); month (required): Data month, YYYYMM, from 201506 to the current month (Taipei).

  • etfs (Taiwan ETF list): TWSE- and TPEx-listed ETFs with issuer, type, benchmark index and fees, plus the latest assets under management, number of holders, average daily trading value, active/passive, leveraged/inverse, asset class and theme. Args: market: ETF market: TWSE or TPEX; omit for both.

  • etfDistributions (Taiwan ETF distributions): Ex-dividend dates, record dates, payment dates and distribution per unit of TWSE- and TPEx-listed ETFs, newest ex-dividend date first, including announced distributions not yet ex-dividend. Args: market: ETF market: TWSE or TPEX; omit for both; symbol: ETF symbol; omit for all; from: Ex-dividend date start (inclusive), YYYYMMDD; default one year ago; to: Ex-dividend date end (inclusive), YYYYMMDD; omit for no upper bound.

  • etfHoldings (Taiwan ETF holdings): Full holdings of one TWSE- or TPEx-listed ETF on a holdings date: stocks, bonds, futures and cash with weights, plus fund size, fees and benchmark description; dates lists available holdings dates so two dates can be compared for additions and reductions. Args: market (required): ETF market: TWSE or TPEX; symbol (required): ETF symbol; date: Holdings date, YYYYMMDD; uses the latest holdings date on or before it; default latest.

  • etfScale (Taiwan ETF size and NAV history): Net assets, units outstanding and NAV per unit of one TWSE- or TPEx-listed ETF on each holdings date, oldest first. Up to 6000 dates. Args: market (required): ETF market: TWSE or TPEX; symbol (required): ETF symbol; from: Holdings date start (inclusive), YYYYMMDD; to: Holdings date end (inclusive), YYYYMMDD; limit: Most recent N holdings dates in the range (1-6000, default 60).

  • etfHolders (Taiwan ETFs holding a security): TWSE- and TPEx-listed ETFs that hold a given Taiwan or US security, by weight descending, using each ETF's latest holdings date on or before the query date. Up to 500 ETFs. Args: market (required): Market of the held security: TWSE, TPEX, NASDAQ, NYSE or AMEX; symbol (required): Symbol of the held security; date: Query date, YYYYMMDD; each ETF uses its latest holdings date on or before it; default latest; limit: Maximum ETFs (1-500, default 100).

  • fundSearch (Fund search): Search offshore funds, futures trust funds and Taiwan domestic mutual funds by fund code, ISIN, exchange ticker or a keyword in the Chinese or English name, with the latest NAV. Up to 100 results. Args: q (required): Keyword, 1-64 characters; exact matches on fund code, ISIN or ticker rank first, then Chinese and English names; limit: Number of results (1-100, default 20).

  • fund (Fund profile): Profile of one fund (type, region, management company, size, risk rating, distribution policy) and its latest NAV. Args: code (required): Fund code: the TDCC fund code for offshore and futures trust funds, the fund's tax ID number for domestic funds; 1-32 letters/digits or . _ - after uppercasing.

  • fundNavs (Fund NAV history): Daily NAV of one fund, the most recent N in the range, oldest first. Up to 2000 rows. Args: code (required): Fund code: the TDCC fund code for offshore and futures trust funds, the fund's tax ID number for domestic funds; 1-32 letters/digits or . _ - after uppercasing; from: NAV date start (inclusive), YYYYMMDD; to: NAV date end (inclusive), YYYYMMDD; limit: Most recent N NAVs in the range (1-2000, default 60).

  • fundDistributions (Fund distribution history): Distribution records of one fund (record date, ex-dividend date, payment date, amount per unit and breakdown of distribution sources), newest first. Up to 400 records. Args: code (required): Fund code: the TDCC fund code for offshore and futures trust funds, the fund's tax ID number for domestic funds; 1-32 letters/digits or . _ - after uppercasing; limit: Most recent N distributions (1-400, default 24).

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_etfs_and_funds"
  }
}

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

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

The description adds substantial behavior beyond the read-only, open-world, idempotent, non-destructive annotations: data source, Taiwan-only coverage, US ADR exception, per-method limits (6000 dates, 500 ETFs, 2000 NAVs, 400 records, 100 results), default date ranges, and the async pending state for fundCompanyHoldings.

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?

The description is long but necessarily so for an 11-method dispatcher. It is front-loaded with the overall scope, then organized as a method list with compact argument summaries, and every bullet carries selection or parameter 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?

Given the multi-method design, generic args schema, and absence of an output schema, the description is complete enough for an agent to choose a method, supply required arguments, understand defaults and limits, and interpret async behavior. No critical calling detail appears 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?

Although the schema has 100% coverage, its args object is generic; the description is the only place that defines each method's required and optional arguments, formats (YYYYMM, YYYYMMDD), enum-like market values, symbol conventions, company code format, date defaults, and numeric limits.

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 precise data domain (Taiwan ETFs and funds) and enumerates the exact method families: ETF lists, holdings, distributions, size/NAV, ETF holders, fund search, profiles, NAV history, distributions, and fund holders. This clearly distinguishes it from sibling tools such as get_company_fundamentals and get_shareholders.

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 explains that the caller must pick a method and pass its arguments in args, and each method description implies when it applies. However, it does not explicitly name when to use a sibling tool instead, nor does it state exclusions beyond the ADR note for US markets.

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