Skip to main content
Glama

check jp rental deposit notice

check_jp_rental_deposit_notice
Read-onlyIdempotent

Japan residential lease check: deposit (敷金) in months of rent and its return on handover (民法 第622条の2), tenant notice end date (3 months, 民法 第617条) and landlord notice end date (6 months with just cause, 借地借家法 第27条・第28条), fixed-term lease 1-month early exit (第38条), and 10% a year interest on a rent-increase shortfall paid later (第32条). Japan (e-Gov), as of 2026-11-21. General information and estimates only: no legal advice, no representation, no filing; values that could not be verified are flagged in the result, not computed.

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": {
      "rent": "<rent>",
      "deposit": "<deposit>",
      "lease": "<lease>"
    },
    "name": "check_jp_rental_deposit_notice"
  }
}

Input Schema

NameRequiredDescriptionDefault
rentYesMonthly rent (JPY)
leaseYesOrdinary lease (普通借家) or fixed-term lease (定期借家)
depositYesDeposit 敷金 (JPY)
handoverNoDate the home was handed back
noticeDateNoDate notice was given
shortfallMonthsNoMonths of shortfall
shortfallPerMonthNoMonthly shortfall after a disputed rent increase (JPY)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world, non-destructive behavior, so the description's job is to add context — and it does: it dates the legal basis (e-Gov, as of 2026-11-21) and warns that unverifiable values are 'flagged in the result, not computed,' which tells the agent to expect partial/flagged outputs rather than fabricated numbers. It also disclaims legal representation and filing. It does not mention rate limits, precision/rounding of the computed months or interest, or what a partial result looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded with the resource and jurisdiction, but it is delivered as one very long run-on sentence packed with parenthetical statute citations that interrupt the flow. Each clause is relevant, yet the trailing disclaimer triple ('no legal advice, no representation, no filing') is repetitive and could be one phrase. A short structured list of the five checks would scan faster.

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?

With 7 parameters (4 of them optional), no output schema, and country-specific statute logic, the description should say what the result contains — instead it never describes return fields beyond noting that unverifiable values are flagged. Nor does it state which inputs are needed for which computation (e.g., that handover requires deposit, or that shortfall fields are only needed for the interest calculation). The legal citations and as-of date are valuable, but the output and input-dependency picture is incomplete.

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, and the description genuinely adds meaning: it ties lease='ordinary' vs 'fixed' to different notice rules (3-month tenant, 6-month landlord with just cause, 1-month early exit under 第38条), and links shortfallMonths/shortfallPerMonth to the 10%/year statutory interest. Deposit is explained as measured 'in months of rent,' clarifying how the raw JPY amount is interpreted. It does not explain the handover/noticeDate interaction or what happens when optional params are omitted.

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 opens with a specific resource and scope ('Japan residential lease check') and enumerates exactly which computations it performs: deposit-in-months, its return, tenant/landlord notice end dates, fixed-term early exit, and statutory interest on a rent shortfall. Sibling tools are distinguished by jurisdiction (cn/tw/fr/uk/us/kr equivalents), and 'Japan' is front-loaded, so an agent can route correctly. It stops short of 5 because the verb 'check' bundles five distinct queries without stating which combination of inputs yields which subset.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named; the description only lists what it computes. The closest thing to guidance is the disclaimer ('general information and estimates only'), which constrains liability but not tool selection. The agent must infer from jurisdiction names in the sibling catalog that this is the Japan-specific option.

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.