Skip to main content
Glama

Taiwan Receipt Lottery

Get winning numbers

get_winning_numbers
Read-onlyIdempotent

Winning numbers of Taiwan uniform invoice lottery periods with the prize table and claim window of each period. Data comes from CubeLV's Taiwan open data service (https://cubelv.com/en/mcp/taiwan-receipt-lottery/): each call names a method and passes its arguments in args.

Methods:

  • receiptDraws (Taiwan receipt lottery winning numbers): Winning numbers of the Taiwan uniform invoice (receipt) lottery, drawn every two months on the 25th of odd months: special prize, grand prize, first prizes and any additional sixth prizes, with the draw date, the claim period and a claim status computed for today in Taiwan time. Each draw has a prize table with the matching rule, prize amount, income tax and stamp tax under the rules printed for that draw, and the net amount, all in TWD. Draws from May 2012 onward are available. Periods are YYYYMM (the first or second month of the two-month period). Args: period: One draw period, YYYYMM; either month of the two-month period works, for example 202609 or 202610; from: Earliest period, YYYYMM; to: Latest period, YYYYMM; limit: Maximum draws, newest first, 1 to 120, default 6.

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

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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely non-derivable behavior: draws occur every two months on the 25th of odd months, claim status is computed for today in Taiwan time, amounts include income tax and stamp tax under rules printed per draw, and the upstream source is named. Pagination via offset/page.nextOffset is left to the schema rather than explained here.

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 and source are front-loaded and the method block follows a clean method-then-args structure. It is dense and slightly repetitive in the prize enumeration, but essentially every clause carries information an agent needs to build a correct args payload.

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?

There is no output schema, and the description compensates by describing the shape of the returned draw record, the prize table fields and the TWD currency. Language and paging parameters are handled by the schema. Only sibling disambiguation and pagination behavior remain unaddressed.

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%, but the args object is an open map with no declared properties, so the description is the only place that defines period, from and to. It supplies format (YYYYMM), the non-obvious rule that either month of a two-month period works with a concrete example (202609/202610), and the limit range and default (1 to 120, default 6). That is real added meaning beyond the schema.

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 description names a specific resource (Taiwan uniform invoice lottery winning numbers) and enumerates exactly what is returned: special prize, grand prize, first prizes, additional sixth prizes, draw date, claim period, claim status and a TWD prize table. That is far more concrete than a restated title. It does not explicitly differentiate itself from the sibling check_receipts, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implicitly scopes usage to lottery draw lookup and explains the availability window (May 2012 onward) and how the period/from/to/limit args combine, including 'newest first' ordering. What it never states is when to pick this tool over the sibling check_receipts, or any exclusions, so the guidance is inferable rather than explicit.

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