Skip to main content
Glama

取得台灣統一發票中獎號碼

life__get_invoice_numbers
Read-onlyIdempotent

[台彩 發票 油價對獎]取得台灣統一發票中獎號碼(特別獎、特獎、頭獎)與領獎期間。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "life__get_invoice_numbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNo期別,例如 115-05-06;不填為最新一期

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the payload contents (three prize tiers and the 領獎期間 claim window), which is meaningful because there is no output schema to describe the return value.

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?

It is a single short sentence with no redundancy, but it front-loads a bracketed keyword tag ('台彩 發票 油價對獎') that carries no operational meaning and slightly delays the actual purpose statement.

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?

For a read-only, single-optional-parameter lookup, the definition covers what is returned, the default behavior, and the data's scope. The main missing piece is disambiguation from life__check_invoice, which an agent would have to resolve from tool names alone.

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 single optional 'period' parameter already documents its format example '115-05-06' and the '不填為最新一期' default. The description adds nothing about the parameter, so the baseline of 3 applies.

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 verb+resource ('取得台灣統一發票中獎號碼') and even enumerates the prize tiers returned (特別獎、特獎、頭獎) plus the redemption period, so the agent knows exactly what data comes back. It stops short of distinguishing itself from the sibling life__check_invoice, so a reader must infer that this one supplies the winning numbers while the other presumably checks a user's own numbers.

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?

There is no when-to-use, when-not-to-use, or alternative-routing guidance. The bracketed tag '[台彩 發票 油價對獎]' reads as keyword padding rather than usage guidance, and the presence of life__check_invoice and life__get_lottery_results in the sibling list makes the omission more costly.

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