Skip to main content
Glama

Japan Tax-Free Sales Checker for Shops

What the shop keeps from tax-free sales (hidden costs)

calculate_shop_keep
Read-only

For one month of tax-free sales (treated as 10% items), show what the shop keeps after the hidden costs that sales figures do not show: card fees charged on the consumption tax that is refunded to the traveler, and the tax-free system cost borne by the shop. Returns gross profit, hidden costs, what is left, the share of gross profit lost, per-sale figures, and the monthly sales below which tax-free sales lose money. 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_shop_keep"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of tax-free sales per month (optional, for per-sale figures).
cardPctNoCard payment fee rate in percent. Default 0.
grossPctNoGross margin in percent of sales excluding tax.
sysFixedNoTax-free system cost borne by the shop that does not depend on sales, in yen per month. Default 0.
cardShareNoShare of tax-free sales paid by card, in percent. Default 0.
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.
sysRatePctNoTax-free system cost borne by the shop as a percent of tax-free sales excluding tax. Default 0.
monthlySalesNoMonthly tax-free sales, excluding tax, in yen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "monthlySales",
      -  "grossPct"
      -]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, yet the description still adds real behavioral context: the 10%-items assumption baked into the model, that unspecified inputs are defaulted and surfaced in inputsUsed, that an openInBrowser link reproduces the numbers on the site, and that all figures are estimates dependent on each provider. The only shortfall is that it doesn't explain what happens when screenLink and explicit fields conflict beyond the schema's own note.

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 and output list are front-loaded in a single long sentence, which is well structured, but the trailing disclaimer block is verbose and the Japanese sentence repeats the substance of the English estimate/provider/tax-accountant disclaimer. That duplication costs space without adding information for an agent.

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?

With no output schema, the description usefully enumerates the return values (gross profit, hidden costs, remainder, share of gross profit lost, per-sale figures, break-even sales) and calls out the two special fields inputsUsed and openInBrowser, which is exactly the context an agent needs to narrate results. For an 8-optional-parameter calculator it is nearly complete; only the interaction between defaults and supplied values could be firmer.

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 every parameter including screenLink and the rate fields is already documented in the schema. The description adds no parameter-level meaning (units, typical ranges, precedence rules) beyond the schema, so the baseline of 3 applies.

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 a concrete calculation (what the shop keeps from one month of tax-free sales after card fees on refunded consumption tax and system costs) and enumerates the returned figures, so the resource and output are unambiguous. It does not name siblings such as what_if_tax_free or calculate_tax_free_refund, so the differentiation from those tools is left implicit rather than stated.

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: it applies to 'one month of tax-free sales' and is meant for showing a person the hidden-cost picture. There is no explicit when-to-use/when-not or pointer to the alternative calculators, and the closing disclaimers address legal scope rather than tool selection.

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