Skip to main content
Glama

生活即時查詢

get_lottery_results

取得台灣彩券大樂透、威力彩、今彩539 開獎號碼與各獎項獎金。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameNo
periodNo期別,不填為最新

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It states what data is returned (numbers and prize amounts) but omits read-only nature, data freshness, authentication needs, default behavior when game is omitted, and output format.

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 a single, front-loaded sentence with no redundant or filler content. Every part of the sentence contributes to the purpose.

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?

For a tool with no output schema and no required parameters, the description gives only a high-level view of return data and does not explain what happens when game is omitted or how period should be formatted. It is minimally adequate but leaves gaps.

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 coverage is 50%. The description adds meaning to the game enum by naming the three lottery types in Chinese (大樂透, 威力彩, 今彩539), which helps map enum values like lotto649. However, it does not clarify period format or default behavior beyond what the schema states.

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 a specific verb (取得) and resource (開獎號碼與各獎項獎金) for three named lottery games. It does not differentiate from the sibling tool check_lottery, which could also relate to lottery checking, leaving some ambiguity.

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 explicit when-to-use guidance or alternatives are provided. The description implies it is used to fetch results, but does not say when to prefer it over check_lottery or how to handle missing parameters.

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