Skip to main content
Glama

Taiwan Futures

Get institutional and large trader positions

get_positioning
Read-onlyIdempotent

Futures and options positions of the three major institutional investors (foreign investors, investment trusts, dealers) by product, the TAIEX options put/call ratio, and open positions of the top 5 and top 10 large traders. 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:

  • derivativesInstitutional (Futures and options institutional positions): Daily long and short trading volume (contracts), contract value and open interest of the three major institutional investors (foreign investors, investment trusts, dealers) in a TAIFEX futures or options product, optionally split into calls and puts or limited to the after-hours session. Up to 400 trading days per request. Args: product (required): TAIFEX product code (TXF, TXO), continuous code (TXF1) or the product's Chinese name as in the TAIFEX table; see derivativeProducts; side: Options only: call or put; omit for the total; session: all = regular (day) session as in the main TAIFEX table, excluding the night session; after_hours = after-hours (night) session only, without open interest; from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days (1-400, default 30); use from and to to page further back.

  • putCallRatio (TAIEX options put/call ratio): Daily call and put volume, open interest and put/call ratios for TAIEX options (TXO), oldest first. Up to 400 trading days per request; for longer ranges page with from and to. Args: from: Start date (inclusive), YYYYMMDD; to: End date (inclusive), YYYYMMDD; limit: Most recent N trading days within from-to (1-400, default 30).

  • futures_large_traders (Futures large trader positions): Open positions of the top 5 and top 10 large traders in each TAIFEX futures product, long and short, with the part held by specific institutions and the market-wide open interest, for the front month, weekly contracts and all contracts combined. Updated after 18:30 each trading day; symbols filters by product code (TX, XJF); up to 366 days per request. Args: market: TAIFEX; symbols: comma-separated codes; from (required), to (required): YYYYMMDD, at most 366 days per request; fields: comma-separated field names; limit: rows per page; cursor: nextCursor from the previous page. Fields: product: TAIFEX product code (TX, XJF); contract: Front month yyyymm, all = all contracts, weekly = all weekly contracts; top5Buy: Long open interest of the top 5 traders (contracts); top5Sell: Short open interest of the top 5 traders; top10Buy: Long open interest of the top 10 traders; top10Sell: Short open interest of the top 10 traders; specificTop5Buy: Part of the top 5 long positions held by specific institutions; marketOpenInterest: Market-wide open interest of the contract.

  • options_large_traders (Options large trader positions): Open positions of the top 5 and top 10 large traders in each TAIFEX options product, by call and put, long and short, with the part held by specific institutions and the market-wide open interest. Updated after 18:30 each trading day; symbols filters by product code (TXO); up to 3660 days per request. Args: market: TAIFEX; symbols: comma-separated codes; from (required), to (required): YYYYMMDD, at most 3660 days per request; fields: comma-separated field names; limit: rows per page; cursor: nextCursor from the previous page. Fields: product: TAIFEX options product code (TXO); callPut: call or put; contract: Front month yyyymm, all = all contracts, weekly = all weekly contracts; top5Buy: Long open interest of the top 5 traders (contracts); top10Sell: Short open interest of the top 10 traders; marketOpenInterest: Market-wide open interest of the contract and side.

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

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 already declare readOnly/idempotent/non-destructive, and the description adds substantial behavior beyond them: the upstream data source, the market defaulting to TAIFEX, the 18:30 trading-day refresh cadence for large trader data, per-method retention caps (400, 366, 3660 days per request), pagination mechanics via cursor or from/to, and the fact that the night session carries no open interest. With no output schema, the field lists also disclose the shape of returned rows.

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?

Structure is strong: a scope sentence, a source/args note, then a bulleted Methods list with an Args and Fields line each. Given four sub-methods and no output schema, the length is mostly justified. Some phrasing is repetitive across the two large-trader methods, which could be tightened 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 multi-method aggregation tool with a free-form args object and no output schema, the definition supplies dates, limits, pagination, field semantics and update timing for every method. An agent has enough to pick a method, populate its args and interpret the rows returned without further lookups (aside from the product-code table, which is correctly delegated to derivativeProducts).

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 only documents the top-level method/lang/args wrapper, so the description must carry the nested arguments — and it does, per method, with required vs optional status, value formats (YYYMMDD, product codes like TXF/TXO/TX), enumerations (call/put, all/after_hours), defaults (limit 30) and numeric ranges (1-400, 366 days). This is meaning the schema cannot supply, since args is additionalProperties:true.

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 opening sentence names the concrete resources: futures/options positions of the three major institutional investors, the TAIEX put/call ratio, and top-5/top-10 large trader open positions. Each of the four methods is then given a specific verb+resource gloss, so an agent can tell what any given call retrieves. It stops short of explicitly distinguishing itself from siblings such as get_option_chain or get_quotes (e.g. 'not for raw prices'), leaving that to inference.

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?

Each method carries clear conditions that select it: derivativesInstitutional for a single product's institutional flows, putCallRatio for TAIEX-wide put/call ratios, futures_large_traders vs options_large_traders split by futures vs options. Caveats like 'after_hours ... without open interest' and 'use from and to to page further back' guide correct invocation. What is missing is guidance against alternatives outside this tool, so it never says when NOT to use it in favor of a sibling.

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