Skip to main content
Glama

calculate jp invoice transition

calculate_jp_invoice_transition
Read-onlyIdempotent

Japan インボイス 経過措置 for purchases from 免税事業者 without a qualified invoice: deductible share by purchase date (R5.10.1–R8.9.30 80%, R8.10.1–R10.9.30 70%, R10.10.1–R12.9.30 50%, R12.10.1–R13.9.30 30%, then 0) and the deductible amount. 少額特例 and record-keeping conditions are not checked. Japan (国税庁 Q&A 問113-3), as of 2026-11-22. General information only: not tax advice, no filing, no software certification.

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": {
      "purchaseDate": "<purchaseDate>"
    },
    "name": "calculate_jp_invoice_transition"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxAmountNoConsumption tax portion of the purchase (JPY)
purchaseDateYesPurchase date (delivery for goods, completion for services)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is its scope disclaimers: it does not check the 少額特例 or record-keeping requirements, it is general information only, not tax advice, and involves no filing or software certification. It also pins the legal authority (国税庁 Q&A 問113-3) and an as-of date, which matters for a rate that steps down on a schedule.

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 operative rule (rate schedule by purchase date) is front-loaded in the first clause, with the legal citation and disclaimer compressed into a trailing sentence. It is dense but every sentence carries either the rate table, a scope exclusion, or a provenance/disclaimer fact; the one blemish is that the long parenthetical of brackets packs a lot of detail into a single sentence.

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 does the work of describing the return — a deductible share for the date and a deductible amount. Given only two parameters, a pure-calculation annotation set, and full schema coverage, the remaining gaps (rounding, and behavior when taxAmount is omitted) are minor rather than blocking.

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%, so the baseline would be 3, but the description adds real meaning by tying purchaseDate to the rate schedule — the agent learns that this single field selects the 80/70/50/30/0 bracket rather than just supplying a date. taxAmount's role as the base for the deductible amount is implied only; the description never says what is returned when the optional taxAmount is omitted.

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?

"calculate ... Japan インボイス 経過措置" names a specific verb and a narrowly scoped regime, then immediately bounds it to 'purchases from 免税事業者 without a qualified invoice' and enumerates the five date brackets with their percentages. An agent can tell this apart from adjacent siblings such as check_jp_consumption_tax or calculate_jp_blue_return_deduction purely from the description.

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 applicability condition is explicit (purchases from tax-exempt suppliers lacking a qualified invoice), and the exclusions are stated outright: 少額特例 and record-keeping conditions are not checked. What is missing is routing guidance — nothing says which tool to use instead when a qualified invoice exists or when 少額特例 applies.

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.