Skip to main content
Glama

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

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": "get_invoice_numbers"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered elsewhere. The description adds the useful fact that a claim period is included alongside the numbers, but says nothing about freshness, sourcing, or how far back periods are available.

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?

A single front-loaded sentence that names the resource first and the returned content second, with zero filler. It could only be improved by adding a short routing clause rather than by cutting anything.

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 simple read-only lookup with one optional parameter, the description plus the rich schema and annotations cover enough to call it correctly, and it hints at return content (prize tiers and claim period) despite there being no output schema. The missing piece is sibling routing, which is a guidance gap rather than a completeness gap.

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 100% and the single optional 'period' parameter is documented there with a concrete format example (115-05-06) and the default behavior (latest period when omitted). The description adds no additional meaning about the parameter, so the baseline 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 uses a specific verb plus resource ('取得台灣統一發票中獎號碼') and enumerates the prize tiers covered (特別獎、特獎、頭獎) plus the claim period (領獎期間), so the agent knows exactly what data comes back. It does not, however, distinguish itself from plausible siblings such as get_lottery_results or check_invoice, leaving that differentiation to inference.

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 guidance: nothing states that this retrieves the published winning numbers rather than validating a specific invoice (check_invoice) or general lottery results (get_lottery_results). The agent must guess which sibling to pick for a given user question.

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