Skip to main content
Glama

Japan Tax-Free Sales Checker for Shops

Japan tax-free sale: refund amount and customs deadline

calculate_tax_free_refund
Read-only

For one tax-free sale (one purchase record) at a shop in Japan under the refund method (sales from November 1, 2026), calculate the consumption tax to refund (10% and 8% items, rounded down per rate), the refund fee, what the traveler receives, whether the 5,000-yen minimum (same visitor, same shop, same day, excluding tax) is met, whether product details (serial number) are required for items of 1,000,000 yen or more, and, with saleDate, the customs confirmation deadline (90th day counted from the day after purchase). Give amounts excluding tax (std, reduced) or including tax (stdIncl, reducedIncl), not both for the same rate. The result includes inputsUsed (defaulted = values you did not pass that this tool filled in) and openInBrowser: a link that opens the same numbers on the site (Japanese) so a person can check and change them; show it to the user. Estimates only, not individual tax advice. Actual fees depend on each tax-free system provider. Confirm individual cases with a tax accountant or the National Tax Agency tax counseling center. 結果は目安でございます。実際の料金は各社のお見積もりで、個別のお取扱いは税理士または国税の電話相談センターにご確認ください。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_tax_free_refund"
  }
}

Input Schema

NameRequiredDescriptionDefault
stdNoTotal of 10% items, excluding tax, in yen.
feePctNoRefund fee rate in percent (e.g. 1.5). Default 0.
feeBaseNoWhat the fee rate applies to: sale (sales excluding tax) or tax (the refund amount). Default sale.
maxUnitNoUnit price of the most expensive item, excluding tax, in yen (optional).
reducedNoTotal of 8% items (food and drinks other than alcohol), excluding tax, in yen.
sameDayNoOther receipts by the same visitor at the same shop on the same day, excluding tax (optional, only used for the 5,000-yen test).
stdInclNoTotal of 10% items, including tax, in yen (instead of std).
feeFixedNoFixed fee per sale in yen. Default 0.
feePayerNotraveler (deducted from the refund) or shop (paid by the shop). Default traveler.
saleDateNoSale date YYYY-MM-DD (optional). Gives the customs confirmation deadline and which regime applies.
screenLinkNoA menzei-check.com link with numbers in it (from openInBrowser, or a person's 「AIに渡す」 copy). Its numbers are used as the inputs; any field you also pass overrides the link. Use this when a person changed the numbers on the site and gives you the link back.
reducedInclNoTotal of 8% items, including tax, in yen (instead of reduced).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / screenLink
      Added value: +{
      +  "description": "A menzei-check.com link with numbers in it (from openInBrowser, or a person's 「AIに渡す」 copy). Its numbers are used as the inputs; any field you also pass overrides the link. Use this when a person changed the numbers on the site and gives you the link back.",
      +  "maxLength": 4000,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a read-only, closed-world calculation, and the description adds substantial behavior beyond that: round-down per rate, the 90-day deadline counted from the day after purchase, the November 1, 2026 regime boundary, and that defaults it fills in are echoed back in inputsUsed. It also discloses that openInBrowser returns a Japanese-language link the agent should show the user, and warns results are estimates whose fees vary by provider.

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?

Content is front-loaded: the enumeration of computed outputs comes first and the caveats last. The one notable waste is the closing Japanese restatement of the English disclaimer, which duplicates meaning for an agent audience without adding information.

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 12-parameter calculator with no output schema, the description covers what is returned (inputsUsed, openInBrowser), how defaults behave, and the relevant legal/regime context. Minor gaps remain, such as behavior for sales predating the November 1, 2026 regime or invalid saleDate values, but nothing essential to a correct call is missing.

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 the schema already documents all 12 parameters, making 3 the baseline. The description adds one genuinely new constraint not in the schema, that std/stdIncl and reduced/reducedIncl must not both be given for the same rate, plus the meaning of saleDate for regime selection, but most remaining parameter behavior is left to the schema.

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 uses a concrete verb (calculate) and enumerates precisely what is computed: refunded consumption tax at 10% and 8%, fee, traveler payout, the 5,000-yen test, serial-number requirement, and the customs deadline. The scope phrase 'For one tax-free sale (one purchase record)' implicitly separates it from the batch sibling calculate_tax_free_refunds_csv, but no sibling is named explicitly, which keeps it just 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 conditions are implied rather than stated: saleDate triggers the deadline and regime determination, and screenLink is explicitly described as 'Use this when a person changed the numbers on the site.' However, there is no guidance on when to prefer this over what_if_tax_free, compare_tax_free_systems, or the CSV variant, and no exclusions.

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