Skip to main content
Glama

幫使用者對彩券

life__check_lottery
Read-onlyIdempotent

[台彩 發票 油價對獎]幫使用者對彩券:輸入遊戲與號碼,回傳對中幾個、獎項、每注獎金與兌獎期限。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "game": "<game>",
      "numbers": "<numbers>"
    },
    "name": "life__check_lottery"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYes
periodNo
secondNo威力彩第二區(1–8)
numbersYes

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?

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful disclosure by saying what comes back: match count, prize tier, per-ticket payout, and redemption deadline. It does not say which draw is checked by default, what happens if the period has no result yet, or where the openWorld lookup comes from, so with annotations in place this is only average added 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 compact sentence with the action first, followed by input, then output, so it is front-loaded and free of padding. The bracketed category tag '[台彩 發票 油價對獎]' adds mild noise but costs little.

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?

There is no output schema, and the description appropriately explains what is returned, which is a strength. Yet for a 4-parameter tool, the undefined `period` and the unspecified per-game number format leave real gaps an agent needs to fill in order to call this correctly. Adequate, but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 25%: only `second` has a schema description; `period` is undocumented in both the schema and the description. The description mentions 遊戲 and 號碼, but it adds no format meaning: it does not say how many numbers are required for each game, what the valid range is, or what `period` accepts (draw date? draw number?). Against a 25% coverage baseline, it does not compensate.

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 gives a specific verb (對獎) and resource (彩券), then names the two inputs (遊戲、號碼) and the four returned facts (對中幾個、獎項、每注獎金、兌獎期限). This is much more informative than the title alone. It never names the sibling get_lottery_results, so the agent must infer on its own that this tool checks a ticket rather than looking up draw results.

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 phrasing '輸入遊戲與號碼,回傳對中幾個' implies the use case: you already have ticket numbers and want to check them. However, there is no explicit statement of when to use this tool rather than get_lottery_results, no prerequisite (for example, that a result must exist first), and no exclusions. The guidance is implied rather than stated.

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