Skip to main content
Glama

台灣勞健保勞退試算

Server Details

台灣勞保、健保、勞退、職災與二代健保補充保費試算,含薪資扣繳、破月與勞保老年給付。資料取自主管機關公告,對官方範例逐位元驗證。

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
supra126/taiwan-payroll
GitHub Stars
1
Server Listing
taiwan-payroll

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.2/5 across 9 of 9 tools scored. Lowest: 3.6/5.

Server CoherenceA
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.

Available Tools

9 tools
calculate_employer_supplementary_premium投保單位(雇主)補充保費A
Read-onlyIdempotent
Inspect

計算雇主端二代健保補充保費(費率 2.11%):(每月支付薪資總額 − 受僱者當月健保投保金額總額) × 費率,無上限。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

ParametersJSON Schema
NameRequiredDescriptionDefault
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
roundingNo進位策略:round=四捨五入(預設)、ceil=無條件進位、aggregate-then-round=合計後分配(政府方吸收進位差)。
monthlyPaidTotalYes每月支付薪資所得總額 A,新臺幣元(含薪資、獎金、兼職、車馬費、承攬等)。
monthlyInsuredTotalYes受僱者當月健保投保金額總額 B,新臺幣元(全體受僱者投保金額合計)。

Output Schema

ParametersJSON Schema
NameRequiredDescription
baseYes
rateYes
premiumYes
Behavior4/5

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

Annotations indicate readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds behavioral context by stating the calculation uses a specific formula, has no upper limit, and results are for reference only (not official). This is consistent with annotations and provides additional clarity beyond the structured hints.

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?

The description is a single, well-structured sentence that includes the formula, rate, limitation, and disclaimer. Every part is essential and there is no wasted text.

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 the tool's complexity (formula, parameters, caveats) and the presence of an output schema, the description covers the essential purpose, formula, and disclaimer. It could mention that the result is a numeric value, but the output schema likely handles that.

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%, so the input schema already documents all parameters. The description does not add further parameter details but provides the overarching formula context, which is sufficient given the schema's completeness.

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 it calculates the employer supplementary premium (雇主補充保費) with a specific formula and rate (2.11%). It distinguishes itself from sibling tools like calculate_supplementary_premium by explicitly targeting employers.

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 context by stating it calculates the employer-side premium and includes a disclaimer that results are for reference only. However, it does not explicitly state when to use this tool versus alternatives or provide exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

calculate_income_tax_withholding薪資所得扣繳稅額A
Read-onlyIdempotent
Inspect

計算薪資所得扣繳稅額:居住者固定月薪(公式法)、非每月給付獎金(5%,未達起扣標準免扣)、非居住者(18%;月薪≤1.5倍基本工資為6%)。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

ParametersJSON Schema
NameRequiredDescriptionDefault
typeYes扣繳類型:resident=居住者固定月薪(公式法)、residentBonus=居住者非每月給付(獎金)5%、nonResident=非居住者18%/6%。
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
amountNo該筆給付金額,新臺幣元(僅 residentBonus)。
dependentsNo配偶及受扶養親屬人數(僅 resident),預設 0。
monthlySalaryNo月薪資,新臺幣元(resident/nonResident 用)。

Output Schema

ParametersJSON Schema
NameRequiredDescription
rateYes
withholdingYes
taxableAnnualNo
Behavior4/5

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

Annotations already indicate read-only and idempotent behavior. The description adds meaningful caveats that results are for reference only and not legally binding, enhancing transparency about limitations and official reliance.

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?

The description is a single, well-structured paragraph that efficiently conveys all essential information without redundancy. Each sentence adds necessary detail, covering all three cases and the disclaimer.

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 the tool's complexity (5 parameters, 1 required, output schema present), the description adequately explains input usage and calculation methods. It omits details about the output format, but the presence of an output schema mitigates this gap. The disclaimer about reference-only results adds necessary context.

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

Parameters4/5

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

Schema covers 100% of parameters with descriptions. The description adds value by explaining the calculation rules behind the enum values (e.g., formula for resident, 5% threshold for bonuses, 18%/6% for non-resident) and specifying when each parameter applies, going beyond the schema.

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 computes income tax withholding (薪資所得扣繳稅額) and enumerates three specific categories (resident monthly salary, resident bonus, non-resident). It distinguishes itself from sibling tools like pension calculations or supplementary premium calculators by focusing solely on withholding.

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 provides clear context for when to use each type (resident, residentBonus, nonResident) including rate details and conditions. However, it does not explicitly mention when not to use this tool or suggest alternatives, slightly limiting the guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

calculate_old_age_lump_sum計算勞保老年一次金A
Read-onlyIdempotent
Inspect

依勞保老年一次金法定公式(平均月投保薪資 × 給付月數;年資每滿 1 年給 1 個月、逾 60 歲後之年資最多計入 5 年)試算給付金額。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

ParametersJSON Schema
NameRequiredDescriptionDefault
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
yearsYes保險年資:年。
monthsNo保險年資:月(0–11),預設 0。
postSixtyMonthsNo逾 60 歲以後之保險年資(月),最多計入 5 年(60 個月),超過部分不計。不得超過總保險月數。預設 0。
avgInsuredSalaryYes平均月投保薪資(最高 60 個月平均),新臺幣元。

Output Schema

ParametersJSON Schema
NameRequiredDescription
paymentYes
insuredMonthsCountedYes
Behavior3/5

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

Annotations already indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds that results are for reference only and not legal advice, but does not disclose any additional behavioral traits (e.g., no side effects, calculation-based). No contradiction with annotations.

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?

The description is a single sentence that front-loads the formula and key constraints. It is concise with no unnecessary words or repetition.

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?

The description covers the formula, caps, and disclaimers. With an output schema present and high schema coverage, it is mostly complete. It also references list_years for year parameter guidance. A minor gap is the lack of explanation about return values, but that is covered by the output 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 description coverage is 100%, so the schema already documents all 5 parameters. The description adds the formula but does not provide additional meaning per parameter beyond what is in the schema. Baseline of 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 clearly defines the tool's purpose: it calculates the old-age lump sum payment using the legal formula (average monthly insured salary × number of benefit months, with specific rules for years of service and post-60 caps). It distinguishes itself from sibling tools like 'calculate_old_age_pension' by specifying the lump sum nature.

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?

The description provides no explicit guidance on when to use this tool vs. siblings. It does not mention alternatives like 'calculate_old_age_pension' or 'calculate_old_age_single_payment', leaving the agent to infer usage from the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

calculate_old_age_pension計算勞保老年年金(月領)A
Read-onlyIdempotent
Inspect

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

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

Output Schema

ParametersJSON Schema
NameRequiredDescription
monthlyYes
eligibleYes
formulaAYes
formulaBYes
adjustmentMonthsYes
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.

calculate_old_age_single_payment計算勞保一次請領老年給付A
Read-onlyIdempotent
Inspect

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

ParametersJSON 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

ParametersJSON Schema
NameRequiredDescription
paymentYes
basisTwelfthsYes
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.

calculate_payroll計算台灣勞健保勞退A
Read-onlyIdempotent
Inspect

計算台灣某月薪資的勞保(含就保)、健保、勞退、職災各方(員工/雇主/政府)負擔。支援不同身份別、眷屬、自提、部分工時。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

ParametersJSON Schema
NameRequiredDescriptionDefault
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
identityNo身份別(預設 category1):category1=本國勞工或外籍配偶;migrantGeneral=一般移工(勞保僅普通事故 11.5%、無就保/勞退);migrantDomestic=家事移工(僅健保+職災,職災費率請以 occupationalRate 傳 0.0018)。不適用的險種回傳 0。
partTimeNo是否為部分工時:true 時未達基本工資者勞保/健保對到官方低級距(職保仍歸第 1 級)。預設 false。
roundingNo進位策略:round=四捨五入(預設)、ceil=無條件進位、aggregate-then-round=合計後分配(政府方吸收進位差)。
dependentsNo健保眷屬人數(計費上限 3 口),預設 0。
monthlySalaryYes月薪資總額(經常性薪資),新臺幣元/月。
occupationalRateNo職災行業別費率,小數比例(如 0.0021 表 0.21%;家事移工 0.0018),範圍 [0, 0.02)。省略則用該年度平均費率。
employmentInsuranceNo是否參加就業保險(勞保費率 12.5% 或 11.5%),預設 true。一般移工/家事移工一律視為不參加。
pensionSelfContributionNo勞工自願提繳率,小數(0~0.06,如 0.06 表 6%),預設 0。

Output Schema

ParametersJSON Schema
NameRequiredDescription
metaYes
bracketsYes
employeeYes
employerYes
governmentYes
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true, so the tool is safe and idempotent. The description adds value by stating results are for reference only and do not constitute legal or accounting advice, setting appropriate expectations. It does not contradict annotations.

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 is a single, clear paragraph that efficiently conveys the tool's purpose and supported features. It is front-loaded with the main action and resource. Every sentence adds value, though it could be slightly more concise by omitting the disclaimer (which is useful but verbose).

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 the tool's complexity (9 parameters, 1 required, output schema present), the description adequately covers the core functionality and supported scenarios. It mentions identity types, dependents, voluntary contributions, and part-time work. The disclaimer about reference-only is a good addition. It is sufficiently complete for an agent to understand usage.

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 documentation coverage is 100%, so the baseline is 3. The description does not add significant new meaning beyond what the parameter descriptions already provide; it merely summarizes the tool's features. No additional semantics are provided that would raise the score.

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 it calculates labor insurance, health insurance, pension, and occupational accident burdens for a Taiwan monthly salary. It uses specific verbs and resources and distinguishes from sibling tools like calculate_old_age_pension and calculate_income_tax_withholding by focusing on monthly payroll contributions.

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 implies this tool is for monthly payroll calculations and supports various identity types and part-time work, but it does not explicitly state when to use this tool versus alternatives or provide exclusions. The context of sibling tools provides some guidance, but the description itself lacks explicit usage directives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

calculate_prorated月中到職/離職破月計算A
Read-onlyIdempotent
Inspect

計算月中到職或離職當月的破月保費。勞保/職保/勞退按日(30 日基準);健保採官方「月底歸屬」——到職當月計整月、離職當月不計。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

ParametersJSON Schema
NameRequiredDescriptionDefault
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
endDateNo離職日(YYYY-MM-DD)。
identityNo身份別(預設 category1):category1=本國勞工或外籍配偶;migrantGeneral=一般移工(勞保僅普通事故 11.5%、無就保/勞退);migrantDomestic=家事移工(僅健保+職災,職災費率請以 occupationalRate 傳 0.0018)。不適用的險種回傳 0。
partTimeNo是否為部分工時:true 時未達基本工資者勞保/健保對到官方低級距(職保仍歸第 1 級)。預設 false。
roundingNo進位策略:round=四捨五入(預設)、ceil=無條件進位、aggregate-then-round=合計後分配(政府方吸收進位差)。
startDateNo到職日(YYYY-MM-DD)。startDate 與 endDate 至少擇一,且兩者須為同一月份。
dependentsNo健保眷屬人數(計費上限 3 口),預設 0。
monthlySalaryYes月薪資總額(經常性薪資),新臺幣元/月。
occupationalRateNo職災行業別費率,小數比例(如 0.0021 表 0.21%;家事移工 0.0018),範圍 [0, 0.02)。省略則用該年度平均費率。
employmentInsuranceNo是否參加就業保險(勞保費率 12.5% 或 11.5%),預設 true。一般移工/家事移工一律視為不參加。
pensionSelfContributionNo勞工自願提繳率,小數(0~0.06,如 0.06 表 6%),預設 0。

Output Schema

ParametersJSON Schema
NameRequiredDescription
daysYes
metaYes
bracketsYes
employeeYes
employerYes
governmentYes
healthChargedYes
Behavior3/5

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

Annotations already indicate readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds the specific calculation rules (e.g., 30-day basis for labor insurance, month-end attribution for health insurance) and the non-binding disclaimer. This adds some behavioral context beyond annotations, but given the strong annotation coverage, a score of 3 is appropriate.

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?

The description is extremely concise: two sentences plus a disclaimer. Every sentence serves a purpose—first states the core function and rules, second notes the reference-only nature. No wasted words.

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 complexity (11 parameters, output schema exists), the description provides sufficient high-level context: what the tool calculates, the underlying rules, and the authoritative reference. The output schema handles return values, so no further detail is needed.

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%, so all parameters have descriptions in the schema. The tool description does not repeat parameter details but provides an overview of the calculation logic. Baseline is 3, and the description adds no per-parameter value, so score remains 3.

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 computes prorated premiums for mid-month start or end (破月保費). It specifies the insurance types covered (勞保/職保/勞退 and 健保) and the calculation rules. This distinguishes it from siblings like calculate_old_age_pension or calculate_payroll, which handle other aspects.

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 provides clear context: use for mid-month start/end scenarios. It includes a disclaimer that results are for reference only. However, it does not explicitly state when not to use or mention alternatives among siblings, which would raise the score to 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

calculate_supplementary_premium二代健保補充保費A
Read-onlyIdempotent
Inspect

計算二代健保補充保費(費率 2.11%)。bonus 課徵年度累計超過當月投保額 4 倍部分;其餘五類單次達門檻全額課(單次上限 1,000 萬)。結果僅供參考,以勞保局、健保署核發之繳款單為準,不構成法律或會計建議。

ParametersJSON Schema
NameRequiredDescriptionDefault
typeYes所得類別:bonus=高額獎金、parttime=兼職薪資、professional=執行業務、dividend=股利、interest=利息、rent=租金。
yearNo年度(西元,如 2026)。省略則使用最新可用年度;可先用 list_years 查可用年度。
amountYes單次給付金額,新臺幣元。
roundingNo進位策略:round=四捨五入(預設)、ceil=無條件進位、aggregate-then-round=合計後分配(政府方吸收進位差)。
ytdBonusNo(僅 bonus)本次給付前、同雇主同年度已累計之獎金,預設 0。
monthlyInsuredSalaryNo(僅 bonus 必填)給付當月之投保金額,新臺幣元/月;門檻為其 4 倍。

Output Schema

ParametersJSON Schema
NameRequiredDescription
rateYes
typeYes
premiumYes
chargeableYes
Behavior5/5

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

Annotations indicate readOnlyHint, idempotentHint, and destructiveHint=false. The description adds that the calculation uses a fixed rate of 2.11% with specific threshold and cap rules, and that the result is not binding legal advice. No contradiction with annotations.

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 is a few sentences covering core aspects: rate, rules for bonus vs other types, and a caveat. It is concise but could be slightly more structured by separating the rules more clearly. Still, it is efficient.

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 but mentioned), return values are documented there. The description explains the input rules, thresholds, caps, and the non-binding nature. It is complete for the complexity of this calculation tool, with no missing context.

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

Parameters4/5

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

Schema coverage is 100%, with each parameter described. The description adds context beyond the schema, such as the bonus threshold being 4 times monthly insured salary and the single-payment cap of 10 million NTD. This helps the agent understand the calculation logic behind the parameters.

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 states it calculates the second-generation national health insurance supplementary premium with a specific rate of 2.11%. It lists the income types (bonus, parttime, etc.) and explains the threshold rules, clearly distinguishing it from sibling tools like calculate_employer_supplementary_premium and calculate_income_tax_withholding.

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 provides when to use the tool for each income type (e.g., bonus tax on excess over 4x monthly insured salary, other types tax on single amount over threshold with a cap). It states the outcome is for reference only, not legal or accounting advice. However, it does not explicitly say when not to use or compare to sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_years列出可用年度A
Read-onlyIdempotent
Inspect

列出目前支援的年度、資料版本與基本工資(月薪/時薪)。計算前可先用本工具確認有效的 year 值。

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
yearsYes
Behavior4/5

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

Annotations already declare it read-only and non-destructive. The description adds context about the specific data returned (wage details) and its role in validation, complementing the annotations.

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 lists outputs, the second provides usage guidance. No wasted words; front-loaded with core purpose.

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?

For a read-only tool with no parameters and an output schema, the description fully covers what the tool does and when to use it. No gaps given the context.

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

Parameters4/5

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

The tool has zero parameters, and the description correctly implies no input is needed. It references valid year values without introducing ambiguity, meeting the baseline for param-free tools.

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 the tool lists supported years, data versions, and basic wages. It distinguishes itself from sibling calculation tools by indicating its purpose as a preparatory step.

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 advises using this tool before calculations to confirm valid year values, providing clear context for when to use it. Since all siblings are calculation tools, no explicit exclusions are necessary.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Taiwan's first public Model Context Protocol server for National Health Insurance data — rejection codes, ICD-10 mappings, audit indicators, semantic wiki search. Powered by OPDSTAR.
    24
    42
    1
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    Enables querying Taiwan's Ministry of Labor open data, including lists of companies violating labor laws with fuzzy search, and searching/querying ministry datasets.
  • A
    license
    B
    quality
    C
    maintenance
    39 tax tools for US individual taxpayers — federal/state tax calculations, credits, deductions, retirement strategies, audit risk, and tax planning. All calculations run locally, no data leaves the machine. Supports TY2024 and TY2025 (One Big Beautiful Bill Act).
    43
    53
    8
    MIT

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.