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)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesJSON body of the underlying call (see /samples/{product} for each product's shape)
statusYesHTTP status of the underlying call (200 result, 402 payment terms, 4xx input error)
how_to_payNo
receipt_idNoset on paid results; free re-fetch via get_receipt
payment_requiredNotrue when status is 402: body holds x402 payment terms, not a result. Pay and call again with x_payment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (idempotent, non-destructive, openWorld), and the description adds genuinely useful behavioral context beyond them: per-call cost ($0.05/call), determinism, primary-source citation, and the billing guarantee that errors and unverified rules are never charged. It stops short of describing rate limits or the output shape, but the pricing/billing disclosure is the key unknown for a paid call.

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?

Three compact sentences, front-loaded with the purpose before cost and correctness claims. Every clause carries information, though the closing billing/guarantee language leans slightly promotional.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the schema fully documents all parameters. Combined with annotations covering safety and the description covering cost, determinism, and verification basis, an agent has everything needed to invoke it correctly.

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 the schema already documents all seven parameters, including the x_payment header and its unpaid-requirements behavior. The description adds method-level semantics (fees deductible, what counts as a disposal) but no per-parameter syntax or format detail beyond the schema, so baseline 3 applies.

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 computation (Japan crypto-asset realized income) with the two supported cost methods (total_average, moving_average) and defines what counts as a disposal (sell/spend/exchange). This clearly distinguishes it from the other jp_* tax calculators in the sibling list without the agent needing to open any schema.

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?

It names the two available methods but gives no guidance on when to pick total_average vs moving_average, nor any prerequisite or when-not-to-use condition relative to siblings like jp_consumption_tax or jp_retirement_tax. Usage is only implied by the tool's domain.

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