Skip to main content
Glama
stevezhouht

Lottery MCP Server

by stevezhouht

get_latest_results

Retrieve recent draw results for Double Color Ball or Super Lotto. Specify lottery type and number of periods to get winning numbers.

Instructions

获取最近几期的开奖结果

Args: lottery_type: 彩票类型,可选 'double_ball'(双色球) 或 'super_lotto'(大乐透) count: 获取的期数,默认5期

Returns: 最近几期的开奖结果

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lottery_typeYes
countNo
Behavior2/5

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

With no annotations, the description carries full burden. It states the tool 'gets' results (implying read-only) but does not disclose idempotency, side effects, error conditions, or any other behavioral traits beyond the basic operation.

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 description is concise, using a standard Python docstring format. It is front-loaded with the main purpose and clearly lists parameters. However, it could be slightly more succinct without the Args/Returns markers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 2 parameters and no output schema, the description is somewhat incomplete. It explains parameters but the return value is vague ('最近几期的开奖结果'). For a tool with no output schema, more detail on result structure would improve completeness.

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 description coverage is 0%, so description must compensate. It adds meaning by specifying allowed values for lottery_type ('double_ball' or 'super_lotto') and explaining the default for count (5), which the schema does not provide.

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 clearly states the tool retrieves recent lottery results for specified types (double_ball, super_lotto) and count. It uses a specific verb ('获取' meaning 'get') and resource ('开奖结果' meaning 'results'), but does not distinguish from sibling tools like check_prize or query_lottery.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. The description lacks context on prerequisites, exclusions, or scenarios where sibling tools would be more appropriate.

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