Skip to main content
Glama

Jp Crypto Tax

jp_crypto_tax
Idempotent

Japan crypto-asset tax: realized income under the NTA total-average or moving-average method (sell/spend/exchange as disposals, fees deductible), verified against the official NTA FAQ examples. $0.05/call. Deterministic, cites primary sources; errors and unverified rules are never billed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoCalendar year
as_ofNoCalculation reference date YYYY-MM-DD (default today); selects the rules version
methodNoOne of: total_average, moving_average. Cost method: total_average or moving_averagetotal_average
openingNoCarried-over holdings [{asset, qty, cost_jpy}]
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.
transactionsYesCrypto transactions list (max 300) - see /catalog input spec
other_taxable_income_yenNoOther taxable income in yen (returns incremental income tax as reference)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / as_of / format
      Added value: +"date"
    • addedInput schema / properties / method / default
      Added value: +"total_average"
    • changedInput schema / properties / method / description
      Previous value: -"Cost method: total_average or moving_average"New value: +"One of: total_average, moving_average. Cost method: total_average or moving_average"
    • addedInput schema / properties / method / enum
      Added value: +[
      +  "total_average",
      +  "moving_average"
      +]
    • changedInput schema / properties / opening / description
      Previous value: -"See the product's input spec in /catalog"New value: +"Carried-over holdings [{asset, qty, cost_jpy}]"
    • changedInput schema / properties / other_taxable_income_yen / description
      Previous value: -"See the product's input spec in /catalog"New value: +"Other taxable income in yen (returns incremental income tax as reference)"
    • addedInput schema / properties / year / default
      Added value: +2026
  2. Changed6 schema fields changed
    • addedInput schema / properties / as_of / description
      Added value: +"Calculation reference date YYYY-MM-DD (default today); selects the rules version"
    • addedInput schema / properties / method / description
      Added value: +"Cost method: total_average or moving_average"
    • addedInput schema / properties / opening / description
      Added value: +"See the product's input spec in /catalog"
    • addedInput schema / properties / other_taxable_income_yen / description
      Added value: +"See the product's input spec in /catalog"
    • addedInput schema / properties / transactions / description
      Added value: +"Crypto transactions list (max 300) - see /catalog input spec"
    • addedInput schema / properties / year / description
      Added value: +"Calendar year"
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true, and openWorldHint=true, but the description adds valuable context beyond these: it states that the tool is deterministic, cites primary sources (NTA FAQ), and that errors/unverified rules are never billed. It also discloses the $0.05/call pricing, which is not in annotations. This is meaningful behavioral information.

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 extremely concise at about 40 words, front-loads the core purpose, and packs in billing, determinism, and verification details without redundancy. Every sentence adds value: purpose, methodology, verification, pricing, and error policy—all in a tight, scannable format.

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?

For a complex calculation tool with 7 parameters and no output schema, the description does not explicitly describe the return format (e.g., a breakdown of tax amounts, rates, or a report). It gives a hint via 'incremental income tax as reference' and points to /catalog for transaction spec, but the output remains underspecified. An agent would not fully know what to expect without additional assumptions.

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?

The input schema has 100% description coverage for all 7 parameters, and the tool description adds no additional parameter-level detail. The description does mention that other_taxable_income_yen returns incremental income tax as reference, but that is already in the schema. With full schema coverage, the description does not need to compensate, so baseline 3 is appropriate.

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 states a specific verb and resource ('Japan crypto-asset tax') and names the exact computation method (NTA total-average or moving-average). It clearly distinguishes this from sibling tax tools like jp_payroll_net or jp_consumption_tax by focusing on crypto assets. The mention of sell/spend/exchange as disposals further pins down the domain.

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 when to use it (for calculating Japanese crypto tax) but offers no explicit when-not-to-use guidance or alternatives. It does not contrast with other jp_* tools, so an agent must infer its scope. While the purpose is clear, the lack of explicit routing leaves some ambiguity.

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