Skip to main content
Glama

japanlaw.org — Japanese law

See what changes across the laws

list_changes
Read-onlyIdempotent

What changes in Japanese law between two days, across every law japanlaw.org holds — 来年施行される改正、4月1日に変わる法令 — or one law's, or one topic's. Each change: the day it takes effect (day: on that day; by, a day a Cabinet Order sets, that day at the latest; open, not set yet), whether it is still to come, the law, the amending Act (titles, law number), its version, and its url. With no until, every change still to come is listed, those with no day yet last; since defaults to today. A long list stops at limit; continued.cursor, passed back as cursor with the same arguments, goes on. For what one change does, provision by provision, call get_amendments with its law and version. Link each change by its url.

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

Input Schema

NameRequiredDescriptionDefault
lawNoOne law's changes only: its Japanese title (労働基準法), English title, short name (労基法), slug or e-Gov law ID. Unset: every law's. A slug or English title a letter or two off is read as the one held law it is near, and note says so.
langNoThe language of the pages every url opens, and of the card get_provision is drawn as: "en" (default) or "ja". The text returned always holds both languages.
limitNoChanges per answer, 1–200; default 50.
sinceNoThe first day, YYYY-MM-DD (2027-04-01). Unset: today.
topicNoOnly the changes of one topic's laws: work, immigration, tax, social-security, business, consumers, civil, housing, crime, transport or government.
untilNoThe last day, YYYY-MM-DD. Unset: every change still to come, however far off, and those whose day is not set yet.
cursorNoGo on from here: the cursor an earlier answer's continued gave, with the same since, until, law and topic.

Output Schema

NameRequiredDescriptionDefault
noteNoWhat to know about this answer. Where the law was not named exactly, it opens by saying how it was read: a slug or English title a letter or two off read as the one held law it is near — "read 'labor-contract-act' as labor-contracts-act (労働契約法, Labor Contracts Act)".
sinceYes
todayYes
totalYes
changesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / law / description
      Previous value: -"One law's changes only: its Japanese title (労働基準法), English title, short name (労基法), slug or e-Gov law ID. Unset: every law's."New value: +"One law's changes only: its Japanese title (労働基準法), English title, short name (労基法), slug or e-Gov law ID. Unset: every law's. A slug or English title a letter or two off is read as the one held law it is near, and note says so."
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "What to know about this answer. Where the law was not named exactly, it opens by saying how it was read: a slug or English title a letter or two off read as the one held law it is near — \"read 'labor-contract-act' as labor-contracts-act (労働契約法, Labor Contracts Act)\".",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and idempotent-safe reads, so the safety profile is carried structurally. The description adds real behavior beyond that — ordering with undated changes last, truncation at limit, cursor continuation semantics, and fuzzy slug/title matching that reports via a note — but it describes return fields (day: on/by/open) more than operational caveats.

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?

Front-loaded with the core question it answers and dense with useful detail; the Japanese examples are illustrative rather than wasteful. The parenthetical explaining day values is long and slightly interrupts the routing sentence, but overall little is padding.

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?

For a 7-parameter, zero-required listing tool with an output schema, the description covers scope, defaults, ordering, pagination and sibling routing, so an agent can call it and resume it correctly without further inference.

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 baseline is 3; the schema already documents law, lang, limit, since, topic, until and cursor including their defaults and formats. The description largely restates these defaults rather than adding new parameter meaning, so it does not earn above baseline.

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 with scope: what changes in Japanese law between two days, across every law, one law's, or one topic's. It also explicitly distinguishes itself from get_amendments ('provision by provision'), which is exactly the sibling confusion an agent would otherwise face.

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

Usage Guidelines5/5

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

Gives explicit routing: use get_amendments with the law and version for what a single change does, provision by provision. It also states the defaults that select behavior (no until = every change still to come, since = today) and names the continuation path via cursor with the same arguments.

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