Skip to main content
Glama

calculate jp appeal deadlines

calculate_jp_appeal_deadlines
Read-onlyIdempotent

Japanese tax appeal deadlines (国税通則法 第77条): request for reinvestigation or for review within 3 months from the day after learning of the disposition, review within 1 month after a reinvestigation decision, and no appeal after 1 year from the disposition without justifiable reason. Weekend ends move to the next weekday. Japan, as of 2026-11-21 (e-Gov current law and NTA Tax Answer). General information and estimates only; individual tax advice and return preparation are reserved to 税理士 (税理士法 第52条).

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": {
      "noticed": "<noticed>"
    },
    "name": "calculate_jp_appeal_deadlines"
  }
}

Input Schema

NameRequiredDescriptionDefault
noticedYesDate you learned of the disposition (notice received)
disposedNoDate of the disposition, if different
reinvestigationDecidedNoDate the reinvestigation decision was received

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/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 the computation logic itself: 3 months from the day after learning, 1 month after a reinvestigation decision, a 1-year outer cap, and weekend rollover. It also pins an as-of date (2026-11-21) and sources, which matters for a law-dependent calculator. The notable omission is whether Japanese national holidays (not just weekends) shift the deadline, and no statement of what the response contains.

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?

A single dense paragraph that front-loads the statutory rule before the caveats, with no filler sentences. The legal citation and the 税理士 disclaimer are long but each carries real scope information; minor cost is that the rules, the as-of date, and the disclaimer run together without visual separation.

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 three-parameter, no-output-schema calculator, the description supplies the legal rules, jurisdiction, effective date, and a professional-advice disclaimer, which is most of what an agent needs. The remaining gap is that it never states the shape of the result (e.g., returned deadline dates per appeal route), which matters precisely because there is no output schema.

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 is 3, but the description goes further by tying each rule to a parameter: 'from the day after learning of the disposition' explains noticed, 'after a reinvestigation decision' explains reinvestigationDecided, and the 1-year cap explains disposed. That mapping tells an agent which inputs actually drive which deadline, which the schema alone does not.

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?

States a specific verb and resource (calculate Japanese tax appeal deadlines) and anchors it to the governing statute (国税通則法 第77条). The explicit 'Japanese' qualifier plus the named legal basis cleanly separates it from calculate_us_tax_appeal_deadlines and find_kr_appeal_deadlines without 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?

Usage is implied by the jurisdiction and statute citation, and the closing disclaimer draws a scope boundary (general information only; individual advice reserved to 税理士). However, it never explicitly says when to pick this over the US/KR deadline siblings, nor does it state prerequisites such as needing the notice date in hand.

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.