Skip to main content
Glama

check jp residency

check_jp_residency
Read-onlyIdempotent

Japan 居住者 criteria (no day count): 国内に住所 (生活の本拠, judged by objective facts) or a 居所 continuously for 1 year or more. Spending 183 days abroad does not by itself make someone a non-resident. 非永住者 is not determined. Japan (国税庁 タックスアンサー 2875, 2012), as of 2026-11-22. General information only: not tax advice; tax treaties can override the result. Verdict is resident, nonresident or depends.

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": "check_jp_residency"
  }
}

Input Schema

NameRequiredDescriptionDefault
residedOneYearNoHas had a 居所 in Japan continuously for 1 year or more
domicileInJapanNoHas a 住所 (centre of life) in Japan

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnlyHint, idempotentHint, non-destructive), and the description goes further by disclosing the result vocabulary, the legal source and as-of date, the not-tax-advice caveat, and the treaty-override limitation. That is meaningful behavior context beyond structured fields, with only a minor gap on how the 'depends' verdict is triggered.

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 criteria are front-loaded and the verdict vocabulary closes the text, with no filler sentences. It is dense with Japanese legal terms and repeats 'Japan' twice in close proximity, but every clause carries substantive information.

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 correctly compensates by naming the possible verdicts, and it supplies source, date, and caveats for a low-complexity two-boolean tool. The one omission is what happens when neither optional parameter is supplied, since 0 parameters are required.

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: it explains that the test is 住所/生活の本拠 judged on objective facts or a continuous 1-year 居所, and explicitly says day counting is irrelevant — which maps directly onto the two booleans and warns against a common misreading.

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 states a specific resource (Japan 居住者 criteria) and the outputs it produces (resident, nonresident, or depends), so an agent knows exactly what is being determined. It is clearly Japan-specific versus the other country residency siblings, though it never names a sibling explicitly.

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?

There is no explicit when-to-use framing or routing to alternative tools, but the definition does carve out scope exclusions: 'no day count', '非永住者 is not determined', and 'tax treaties can override the result'. Those tell an agent when the answer is not authoritative, which is implied guidance rather than stated usage rules.

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.