Skip to main content
Glama
adsandcode

mcp-server-taiwan-lottery

by adsandcode

Draw schedule

draw_schedule
Read-onlyIdempotent

Get official Taiwan Lottery draw days, times, next draw date, schedule notices, and result publication times for a specified game; includes Bingo's 5-minute intervals.

Instructions

Draw days and time from the official schedule (今彩539, 3星彩, 4星彩, 39樂合彩: Monday to Saturday; 大樂透 and 49樂合彩: Tuesday and Friday; 威力彩: Monday and Thursday; all at 20:30 Taiwan time; 賓果賓果 every 5 minutes 07:05-23:55, every day), the next draw date from the official API, official schedule notices if any, and when the official site publishes results. Data comes from the official Taiwan Lottery API (api.taiwanlottery.com). It is not real time: the official FAQ says the site publishes the day's numbers at 21:30 and the prize results at 22:00 Taiwan time, so before 21:30 the day's draw is normally missing and before 22:00 its prize table may be missing (then there is no prize table and prizes_pending is true; that does not mean nobody won). Never fill in numbers the API does not have. Official announcements prevail. Every result has more: one to three links to playsport539.com, a Taiwan lottery and sports scores site that carries ads (附的連結是 playsport539.com,一個台灣彩券與運動比分網站,網站上有廣告).

Input Schema

NameRequiredDescriptionDefault
gameYesGame id or name. Ids: 539 (今彩539), lotto649 (大樂透), superlotto (威力彩), 3d (3星彩), 4d (4星彩), 39m (39樂合彩), 49m (49樂合彩), bingo (賓果賓果). Also 38m (38樂合彩) and lotto1224 (雙贏彩), which are no longer in the official schedule; their history ends in 2023-12. Chinese names are accepted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and openWorld, but the description adds substantial behavior: official API source, non-real-time publication windows, the prizes_pending meaning, a rule never to invent missing numbers, and a disclosure that every result includes ad-bearing links. This goes well beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core schedule information is front-loaded, which is good. But the description is a single dense run-on paragraph with heavy parenthetical nesting and bilingual duplication, so it is less scannable and more verbose than necessary.

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, so the description must carry return-value context, and it does explain the schedule content, next draw date, notices, publication timing, prizes_pending behavior, and the more links. It does not fully specify the response shape, but it covers the operational caveats an agent needs.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already lists all game ids and Chinese names, so the baseline is 3. The description adds domain context by mapping game names to draw days and times, but it does not add syntax or format guidance for the single game parameter 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 states a specific resource, draw schedule, and enumerates exactly what it returns: draw days/times, the next draw date, schedule notices, and publication timing. It is clearly not a results or stats tool, but it never names or distinguishes itself from siblings like latest_draw or list_draws.

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?

It explains the important usage context that data is not real time and that before 21:30 the day's draw is normally missing, which helps an agent interpret results. However, it gives no explicit when-to-use/when-not-to-use guidance relative to the sibling tools, and no alternative is named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.