Skip to main content
Glama

Taiwan Market Open Data (Unofficial)

Futures contract snapshot

snapshot.futures
Read-onlyIdempotent

One TAIFEX futures contract for the latest trading day: open, high, low, close, change, volume, settlement and open interest for each contract month (regular and after-hours sessions), a near-month summary, institutional and large-trader positions, and final settlement prices. Accepts codes ("TX", "MTX") or Chinese names; an ambiguous name returns candidates only. Source: TAIFEX OAS; futures only; not live. 一個期貨契約(最新一個交易日)的完整概況:各月份的開高低收、漲跌、成交量、結算價、未平倉(一般與盤後時段)、近月摘要、三大法人部位(指數類期貨)、大額交易人部位與最後結算價。可用代號("TX"、"MTX"、"TMF"、"CDF")或名稱("台指期"、"小台"、"台積電期貨");名稱對到多個契約時只回 candidates,請向使用者確認再用代號重查。只含期貨;選擇權與整體期貨籌碼請用 dataset.search 或 snapshot.market。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractYes期貨契約代號或名稱,例如 "TX"、"小台"、"台積電期貨"。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
nameYes
queryYes
quotesNo
sourceYes
caveatsYes
contractYes
candidatesNo
near_monthNo
institutionalNo
large_tradersNo
final_settlementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/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 adds real behavioral context beyond them: data source (TAIFEX OAS), that it is not live, that it covers both regular and after-hours sessions, and crucially that an ambiguous name returns candidates rather than erroring or guessing — a non-obvious control-flow behavior an agent must handle.

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?

Content is front-loaded with the core purpose first, then input forms, then scope exclusions. The one structural weakness is that the entire content is duplicated bilingually (Chinese mirror of the English), roughly doubling length without adding information for a single-language reader.

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?

An output schema exists so return-value explanation is not required, yet the description still sketches the payload. For a single-parameter, read-only, disambiguation-prone snapshot tool, the description covers source, freshness, scope boundaries, ambiguity handling and alternatives to siblings — essentially complete, with only minor redundancy in the bilingual restatement.

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

Parameters4/5

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

Schema coverage is 100% and there is only one parameter, so the baseline is 3. The description goes beyond the schema by listing concrete accepted codes ('TX', 'MTX', 'TMF', 'CDF') and Chinese names ('台指期', '小台', '台積電期貨') and by defining the multi-match resolution behavior, which the schema does not express.

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?

Names a specific verb/resource combination — one TAIFEX futures contract for the latest trading day — and enumerates the returned data (OHLC, change, volume, settlement, open interest by month, near-month summary, institutional/large-trader positions, final settlement). It explicitly excludes options and aggregate futures chips, routing those to dataset.search or snapshot.market, so it is distinguishable from siblings without opening any schema.

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?

Clearly states the input forms accepted ('TX', 'MTX' codes or Chinese names) and the disambiguation workflow: an ambiguous name returns candidates only, and the agent should confirm with the user then re-query by code. It also points to dataset.search / snapshot.market for options and overall futures positioning. It lacks an explicit statement of when this tool is preferred over the closer sibling snapshot.market beyond the scope hint, but the routing guidance is solid.

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.