Skip to main content
Glama

台灣勞健保勞退試算

計算勞保一次請領老年給付

calculate_old_age_single_payment
Read-onlyIdempotent

依勞保一次請領老年給付法定公式(基數制:前 15 年每年 1 個基數、第 16 年起每年 2 個基數、60 歲前最高 45 個基數、逾 60 歲後年資每年 2 個基數最多計 5 年、合併最高 50 個基數)試算給付金額。適用 98 年前已有保險年資者。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
preSixtyYearsYes60 歲(含)以前之保險年資:年。
postSixtyYearsNo逾 60 歲以後之保險年資:年。逾 60 歲後最多計入 5 年,超過部分不計。預設 0。
preSixtyMonthsNo60 歲(含)以前之保險年資:月(0–11),預設 0。
postSixtyMonthsNo逾 60 歲以後之保險年資:月(0–11),預設 0。
avgInsuredSalaryYes平均月投保薪資(採退保前 3 年內最高 36 個月平均),新臺幣元。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
paymentYes
basisTwelfthsYes

TDQS

A4.1/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the tool is safe and non-mutating. The description adds significant behavioral context beyond annotations: it details the exact formula and its components (e.g., base units per year, caps at 45 or 50 units), the applicability condition (insurance years before 1998), and a disclaimer that results are for reference only. This fully informs the agent of the tool's behavior and limitations.

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 consists of two sentences: the first conveys the core purpose and formula, the second provides a disclaimer. It is front-loaded with essential information. While the first sentence is somewhat long, it is still clear. There is no unnecessary verbosity, and every sentence adds value.

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?

Given that the tool has an output schema (not shown but indicated), annotations, and full parameter coverage, the description is fairly complete. It explains the formula, applicability, and provides a disclaimer. The only minor gap is the lack of mention about rounding or precision of the result, but this is acceptable.

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% with descriptions for all 6 parameters. The description adds overarching context by explaining how parameters map to the formula (e.g., preSixtyYears and postSixtyYears correspond to years before/after age 60). However, most parameter details (e.g., the 5-year cap on postSixtyYears) are already in the schema descriptions. The description does not provide substantial new meaning beyond what the schema already conveys.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool calculates the old-age single payment using a specific formula ('基數制'), including the formula details. The name and title are in Chinese and match the description. It distinguishes from siblings like calculate_old_age_lump_sum by specifying the exact type of lump-sum calculation and its applicability to those with insurance years before 1998.

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 description mentions it is applicable for those with insurance years before 1998 ('適用 98 年前已有保險年資者'), providing a clear context. However, it does not explicitly state when not to use this tool or suggest alternative tools (e.g., calculate_old_age_pension for those with newer insurance years). The disclaimer about reference only is present but does not guide selection.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct calculation scenario (e.g., payroll, pension types, supplementary premiums, income tax) with no functional overlap. The descriptions clearly differentiate their purposes.

Naming Consistency5/5

All tools follow a consistent 'calculate_' prefix for computational tools and 'list_years' for enumeration, using snake_case throughout. The verb_noun pattern is uniform.

Tool Count5/5

9 tools cover the core aspects of Taiwan's labor insurance, health insurance, pension, and tax calculations without redundancy. The count is well-matched to the domain's complexity.

Completeness5/5

The set includes all major calculations required for payroll and benefits: employer/employee burdens, multiple pension options, supplementary premiums, tax withholding, prorated scenarios, and a year reference tool. No obvious gaps.