Skip to main content
Glama

japanlaw.org — Japanese law

Read a provision or a law

fetch
Read-onlyIdempotent

Read in full a law or provision search found, by its id. A provision's id (labor-standards-act/art-36) returns it as Markdown: the Japanese text with each paragraph's English under it, every English line marked as the Ministry of Justice's translation, the Ministry's with a slip corrected, or machine translation; its address and URLs on every line; what it cites and what cites it; and its sources. A law's id (labor-standards-act) returns the law's overview — what it is for, who it applies to, how it is enforced — the texts held, and its outline, never its whole text. A japanlaw.org URL is accepted as an id too. A provision is read in the text in force unless asOf (a day) or version names another text held: an earlier one, or one an amendment not yet in force will leave.

Input Schema

NameRequiredDescriptionDefault
idYesAn id from search or get_law: a law's slug, or <slug>/<address>. A japanlaw.org URL also works.
asOfNoRead the text as it stood on this day, YYYY-MM-DD (2027-04-01): past, today or to come. Unset reads the text in force. A day whose text japanlaw.org does not hold is refused as not held, with the texts that are; never answered with the nearest text.
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.
versionNoRead one held text by its version, as get_law's versions lists it (20270401_508AC0000000060). Unset reads the text in force. Pass asOf or version, not both.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
textYes
titleYes
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare the safe read-only/idempotent profile, and the description still adds substantive behavior: Markdown layout, per-paragraph translation provenance (MoJ translation, slip-corrected, or machine), per-line address and URLs, citation graph, and sources. It also discloses the negative behaviors that matter most — a law returns only an overview, and a date with no held text is refused rather than answered with the nearest text.

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 action and the provision-vs-law split before the finer detail, and nearly every clause carries information. The sentences are long and clause-stacked, which costs some readability, but there is little dead weight.

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 4-parameter read tool with full schema coverage, annotations, and an output schema, the description supplies everything an agent needs: both id forms, what each returns, translation provenance, version selection, and the refusal case. No material gap remains.

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 adds real meaning beyond the schema: why asOf/version exist (an earlier text, or one an amendment not yet in force will leave) and that a japanlaw.org URL is accepted as an id. It stops short of the mutual-exclusion and format details, which the schema already carries.

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?

States a specific verb and resource ('Read in full a law or provision ... by its id') and splits the two id shapes into distinct outcomes, so an agent knows exactly what comes back. It never names the overlapping siblings get_provision and get_law, so the boundary with those tools is only implied (via 'in full' and the lang note about get_provision's card).

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

Usage Guidelines4/5

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

Clear context: use it on an id 'search found', with explicit routing between a provision id (full text) and a law id (overview, 'never its whole text'), and the asOf/version fork for reading a non-current text. No explicit when-not or sibling routing against get_law/get_provision, which is the main remaining gap.

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