Skip to main content
Glama

Calculate Japan furusato limit

calculate_jp_furusato_limit
Read-onlyIdempotent

Japan ふるさと納税: the donation that keeps the cost at 2,000 yen (所得割額 × 0.2 ÷ (90% − 所得税率 × 1.021) + 2,000) and the split into 所得税, 住民税基本分 and 特例分 (capped at 20% of 所得割額). Financial planning check from official scheme rules, same code as tools.oiyo.net. General information only: not financial, tax or investment advice, and no product is recommended.

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": {
      "residentIncomeLevy": "<residentIncomeLevy>",
      "incomeTaxRatePct": "<incomeTaxRatePct>"
    },
    "name": "calculate_jp_furusato_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
donationNoPlanned donation (yen), optional
incomeTaxRatePctYes所得税率: 5, 10, 20, 23, 33, 40 or 45
residentIncomeLevyYes住民税所得割額 (yen)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare this as a safe, read-only, idempotent, closed-world calculation, so the safety profile is covered. The description adds real value beyond that: it discloses the two outputs produced (the donation ceiling and the three-way tax split, with the 特例分 capped at 20% of 所得割額), cites the provenance (official scheme rules, same code as tools.oiyo.net), and flags the advisory disclaimer. It does not describe the response shape or units of the returned split, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the opening clause, which is good, but the remainder is a single dense run-on containing an inline formula with mixed Japanese and symbolic notation. Every element (formula, split rule, provenance, disclaimer) arguably earns its place, yet the lack of sentence breaks makes it harder to parse than necessary.

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?

For a three-parameter, annotation-covered, output-schema-less calculator, the description is close to complete: it explains both the headline result and the secondary tax split, which is the main thing an agent cannot learn from the schema. The remaining gap is the concrete return structure and units, which the agent must infer.

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 residentIncomeLevy, incomeTaxRatePct (including the allowed rates) and the optional donation are fully documented in the schema. The description references 所得割額 and 所得税率 within the formula but adds no new semantics such as how an omitted donation parameter changes the result or what units the output uses. Baseline 3 is appropriate.

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 names the specific resource (Japan ふるさと納税 donation limit) and states exactly what is computed: the donation amount that holds the self-pay cost at 2,000 yen, plus the split into 所得税, 住民税基本分 and 特例分. It even gives the underlying formula, which unambiguously identifies the calculation. It does not explicitly contrast itself with sibling calculators such as calculate_jp_take_home or calculate_jp_ideco, so it stops short of a 5.

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?

Usage is only implied by the phrase 'Financial planning check from official scheme rules' — the reader can infer this is for planning a donation against one's income levy and tax rate. There is no explicit statement of when to use this versus other JP tax calculators, no prerequisites, and no exclusions. Adequate but leaves routing to the agent's inference from the tool name.

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.