Skip to main content
Glama

Jp Bonus Net

jp_bonus_net
Idempotent

Bonus net pay: social insurance and withholding tax (official rate table, based on previous month salary). $0.01/call. Deterministic, cites primary sources; errors and unverified rules are never billed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageNoAge in years (selects care-insurance and other age-gated rules)
as_ofNoCalculation reference date YYYY-MM-DD (default today); selects the rules version
bonus_yenYesBonus amount in yen
x_paymentNoOptional: base64 X-PAYMENT header value (x402 exact scheme, USDC on Base mainnet). Omit it to receive the payment requirements (accepts[] + docs) for this call without being charged.
dependentsNoDependents object (see /catalog input spec)
prefectureYesPrefecture (romaji or Japanese), e.g. 'Tokyo'
ytd_bonus_yenNoBonus paid so far in the fiscal year (health-insurance annual cap check)
previous_month_after_si_yenNoPrevious month's pay after social insurance (withholding table lookup)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / age / default
      Added value: +30
    • addedInput schema / properties / as_of / format
      Added value: +"date"
    • addedInput schema / properties / dependents / default
      Added value: +0
    • addedInput schema / properties / ytd_bonus_yen / default
      Added value: +0
    • changedInput schema / properties / ytd_bonus_yen / description
      Previous value: -"See the product's input spec in /catalog"New value: +"Bonus paid so far in the fiscal year (health-insurance annual cap check)"
  2. Changed7 schema fields changed
    • addedInput schema / properties / age / description
      Added value: +"Age in years (selects care-insurance and other age-gated rules)"
    • addedInput schema / properties / as_of / description
      Added value: +"Calculation reference date YYYY-MM-DD (default today); selects the rules version"
    • addedInput schema / properties / bonus_yen / description
      Added value: +"Bonus amount in yen"
    • addedInput schema / properties / dependents / description
      Added value: +"Dependents object (see /catalog input spec)"
    • addedInput schema / properties / prefecture / description
      Added value: +"Prefecture (romaji or Japanese), e.g. 'Tokyo'"
    • addedInput schema / properties / previous_month_after_si_yen / description
      Added value: +"Previous month's pay after social insurance (withholding table lookup)"
    • addedInput schema / properties / ytd_bonus_yen / description
      Added value: +"See the product's input spec in /catalog"
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

The description adds significant behavioral context beyond annotations: it states the cost ($0.01/call), determinism, that it cites primary sources, and that errors/unverified rules are never billed. This is not present in the annotations (which only declare readOnlyHint false, idempotentHint true, etc.). No contradictions 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 concise and well-structured: it opens with the core purpose, then pricing, then behavioral guarantees. Every sentence adds value without redundancy or fluff.

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?

Given the tool has 8 parameters and no output schema, the description should clarify the return value or the two modes (payment requirements vs execution). While the parameter description for x_payment explains the payment flow, the tool-level description does not mention what it returns when executed. The core purpose is clear, but an agent might not know if the result is a number or a breakdown, which is a notable 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%, so all parameters are documented. The description adds meaning by explaining that 'previous month salary' is used for the withholding table lookup and that the official rate table is applied, connecting parameters to the calculation logic. However, it does not elaborate on each parameter or the payment flow, so it only slightly adds 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 'Bonus net pay' from 'social insurance and withholding tax' using an 'official rate table' and 'previous month salary'. This is specific and action-oriented, and the reference to 'bonus' distinguishes it from sibling tools like jp_payroll_net which handle regular payroll.

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 usage for bonus calculations by mentioning 'based on previous month salary', but it does not explicitly state when to use this tool versus alternatives like jp_payroll_net or jp_social_insurance. There is no 'use this when...' or exclusion of other tools, so the guidance is only implied.

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