Skip to main content
Glama
stevezhouht

Lottery MCP Server

by stevezhouht

check_prize

Check if your lottery numbers won in 双色球 or 大乐透 draws within a specified date range. Returns match details and prize tier.

Instructions

检查指定号码在日期范围内的中奖情况

Args: lottery_type: 彩票类型,可选 'double_ball'(双色球) 或 'super_lotto'(大乐透) start_date: 开始日期,格式 YYYY-MM-DD end_date: 结束日期,格式 YYYY-MM-DD numbers: 号码列表 - 双色球: 7个数字,前6个为红球(1-33),最后1个为蓝球(1-16) - 大乐透: 7个数字,前5个为前区(1-35),后2个为后区(1-12)

Returns: 中奖结果,包含每期的匹配情况和中奖等级

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lottery_typeYes
start_dateYes
end_dateYes
numbersYes
Behavior4/5

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

With no annotations, the description carries the full burden. It states the tool checks and returns match details and prize levels, which implies read-only behavior. While it does not explicitly say it is non-destructive, the verb 'check' strongly implies no side effects. It could be more explicit but is adequate for an agent.

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

Conciseness5/5

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

The description is concise and well-structured: one line for purpose, followed by clear Args and Returns sections. Every sentence provides necessary detail without redundancy. No fluff.

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?

The description covers all parameters and explains the return value (winning results with match details and prize level). It is complete for a moderately complex tool. It could be enhanced by mentioning default behavior or edge cases (e.g., what if no matches), but overall it provides sufficient context.

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?

Schema coverage is 0%, so the description must compensate. It thoroughly explains each parameter: lottery_type with two explicit options and their English/Chinese names, date format (YYYY-MM-DD), and numbers structure for both lottery types (red/blue ball ranges, positions). This adds significant meaning beyond the schema.

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 description clearly states the tool's purpose: checking winning status of specified lottery numbers within a date range. '检查指定号码在日期范围内的中奖情况' translates to 'Check the winning status of specified numbers within a date range'. It uses a specific verb ('check') and resource ('lottery numbers'), and the context of sibling tools (get_latest_results, query_lottery, update_lottery) indicates this tool is distinct in that it checks specific numbers for wins.

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 implies usage context ('to check winning status') but does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or prerequisites. It lacks guidance on when not to use it or which sibling tool to prefer in different scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stevezhouht/lottery-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server