Skip to main content
Glama

台灣勞健保勞退試算

計算勞保老年年金(月領)

calculate_old_age_pension
Read-onlyIdempotent

依勞保老年年金法定公式(擇優兩式、提前/延後增減給每年 ±4%,上限 ±5 年(±20%))試算月領金額;年資未滿 15 年不符年金請領資格。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
yearsYes保險年資:年。
monthsNo保險年資:月(0–11),預設 0。
avgInsuredSalaryYes平均月投保薪資(最高 60 個月平均),新臺幣元。
claimOffsetMonthsNo提前(負)/延後(正)請領月數,相對法定請領年齡;每年 ±4%,上限 ±5 年(±20%)。預設 0。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
monthlyYes
eligibleYes
formulaAYes
formulaBYes
adjustmentMonthsYes

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, indicating safety. The description supplements with formula details (±4% per year, max ±5 years) and a clear disclaimer that results are for reference only and not legal advice, adding behavioral context without contradiction.

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?

Two concise sentences: the first covers purpose and key formula details, the second provides necessary disclaimers. No wasted words, and critical information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of an output schema (not shown), the description appropriately focuses on eligibility, formula mechanics, and legal disclaimer. No additional context is needed for this calculation tool with rich annotations and schema.

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%, so all parameters have descriptions in the schema itself. The description does not add significant new meaning beyond the schema, only referencing the formula's adjustment mechanism. Baseline 3 is appropriate.

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 explicitly states it calculates monthly old-age pension using legal formulas, including the two-option election and early/deferred adjustments. It clearly distinguishes from siblings like calculate_old_age_lump_sum (lump sum) and calculate_old_age_single_payment (single payment) by specifying '月領' (monthly).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for monthly pension calculations and includes the important eligibility condition (years < 15 are ineligible). However, it does not explicitly mention when to use this tool versus alternatives like lump sum or single payment.

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.