Skip to main content
Glama

Taiwan IPO Lottery

Get lottery history

get_lottery_history
Read-onlyIdempotent

Winning rates and applications of past offering lotteries by year or date range, and every past offering of one stock. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-ipo-lottery/): each call names a method and passes its arguments in args.

Methods:

  • ipoStats (Taiwan IPO lottery statistics): Statistics of drawn IPO lotteries and public offerings for shares listed on TWSE and TPEx, per year and for the whole range: number of drawn offerings, cancelled offerings, median and mean winning rate, the three lowest and highest winning rates, and the median number of qualified applications. With a symbol, the response also lists every past public offering of that stock. Data starts in October 2006. Dates are YYYYMMDD. Args: year: Year of the lottery date, 2006 or later; from: Earliest lottery date, YYYYMMDD; to: Latest lottery date, YYYYMMDD; defaults to today; kind: ipo (initial listing), secondary_offering (cash capital increase) or board_transfer (transfer from the Taiwan Innovation Board); symbol: Stock symbol; returns the history of that stock. Unknown symbols return 404.

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

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
offsetNoPosition in the longest list of the response to start from. A response whose list is longer than fits carries page.nextOffset for the next part; default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: the `kind` enum meanings (ipo, secondary_offering, board_transfer), YYYYMMDD date format, the default-to-today behavior, and that unknown symbols return 404. It does not restate the response envelope or pagination, which the schema covers via `offset`/`nextOffset`.

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 purpose is front-loaded and the method/args layout is easy to scan. The prose is dense but nearly every clause carries an operational fact; the long parenthetical with the data-source URL and the repeated 'per year and for the whole range' phrasing add a little bulk without much decision-relevant content.

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 single-method, four-parameter read tool with no output schema, the description covers everything an agent needs: what the response contains (drawn/cancelled counts, median and mean winning rates, extremes, median qualified applications), the temporal boundary, date syntax, per-argument defaults, and error behavior. Remaining items like language and paging are documented in the schema itself.

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 schema description coverage is nominally 100%, the `args` object is `additionalProperties: true` with only a pointer back to the description — the real semantics of `year`, `from`, `to`, `kind` and `symbol` exist only here. The description defines each argument's meaning, format, defaults and enum values, which is exactly the compensation needed for an opaque bag parameter.

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 opening sentence names a specific resource and scope: winning rates and application counts for past offering lotteries, cut by year or date range, plus full offering history for a single stock. It also states the upstream data source and its earliest coverage (October 2006), so an agent knows exactly what corpus it is querying.

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?

The method block gives concrete selection guidance: use `year` for annual slices, `from`/`to` for a range defaulting to today, and `symbol` to get one stock's full offering history. There is no explicit when-not guidance or named alternative, but with a single method there is little to disambiguate, so the gap is minor.

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