Skip to main content
Glama

japanlaw.org — Japanese law

Read one provision

get_provision
Read-onlyIdempotent

日本の法令の条・項・号の本文を読む。引用や説明の前に確かめる(改正で文言が変わっていることがある)。 Read the text of an article, paragraph or item of a Japanese law, to quote or explain it: the wording may have changed since a model learned it. One article, paragraph or item of a law, with everything under it. Call it with law and address: {"law": "labor-standards-act", "address": "art-36"}, or {"law": "労働基準法", "address": "第三十二条の三第一項"}. For each paragraph and item, the Japanese text (textJa), its English (textEn) and whose that English is (englishWhose: ministry — the Ministry of Justice's translation; corrected — the Ministry's with a slip this site corrected; machine — this site's machine translation, not official), and its url. Also the terms it defines, how many provisions it cites and how many cite it (references "lists" names them), and the official e-Gov page. A very long one — a big appended table, a 附則 of many articles — stops at a provision; continued.cursor, passed back as cursor with the same address, goes on from there. Shown to the reader as a card where the chat app can draw one. The text in force by default; asOf (a day) or version reads another text held — as it stood on a past day, or as an amendment not yet in force will leave it — and version says which text the answer is. Quoting it, link its url (the reader's page, with the English marked), not e-Gov's, and say whose English each quoted paragraph is.

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": {
      "law": "<law>",
      "address": "<address>"
    },
    "name": "get_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawYesThe law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). A slug or English title a letter or two off is read as the one held law it is near, and note says so.
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.
cursorNoGo on from here: the cursor an earlier answer's continued gave, with the same address. Unset starts at the address.
addressYesThe provision, as the statute writes it (第三十六条第二項第一号), as the Ministry's English does (Article 36(2)(i)), or as japanlaw.org does (art-36/par-2/item-1). A bare number is an article: 36; the short forms people write read too: 36条2項, 3条の2, 39(5). Supplementary provisions use the site's addresses, which search and get_law hand out; an appended table is appdx-1 or 別表第一.
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.
referencesNo"counts" (default): how many provisions this one cites and how many cite it. "lists": each of them too, with its url — the first 20 that cite it; get_citing_provisions has them all.

Output Schema

NameRequiredDescriptionDefault
urlYes
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)".
pathYes
lawIdYes
provisionsYes
pathLabelJaYes
permanentUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / address / description
      Previous value: -"The provision, as the statute writes it (第三十六条第二項第一号), as the Ministry's English does (Article 36(2)(i)), or as japanlaw.org does (art-36/par-2/item-1). A bare number is an article: 36. Supplementary provisions and appended tables use the site's addresses, which search and get_law hand out."New value: +"The provision, as the statute writes it (第三十六条第二項第一号), as the Ministry's English does (Article 36(2)(i)), or as japanlaw.org does (art-36/par-2/item-1). A bare number is an article: 36; the short forms people write read too: 36条2項, 3条の2, 39(5). Supplementary provisions use the site's addresses, which search and get_law hand out; an appended table is appdx-1 or 別表第一."
    • changedInput schema / properties / law / description
      Previous value: -"The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049)."New value: +"The law: its Japanese title (労働基準法), English title (Labor Standards Act), short name (労基法), slug (labor-standards-act) or e-Gov law ID (322AC0000000049). 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. Changed3 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Go on from here: the cursor an earlier answer's continued gave, with the same address. Unset starts at the address.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • removedInput schema / properties / from
      Removed value: -{
      -  "description": "Go on from this provision: the from an earlier answer's continued gave, with the same address. Unset starts at the address.",
      -  "maxLength": 200,
      -  "type": "string"
      -}
    • addedInput schema / properties / references
      Added value: +{
      +  "description": "\"counts\" (default): how many provisions this one cites and how many cite it. \"lists\": each of them too, with its url — the first 20 that cite it; get_citing_provisions has them all.",
      +  "enum": [
      +    "counts",
      +    "lists"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, it discloses the default in-force text, the asOf/version alternate-text semantics, refusal behavior for unheld days ('never answered with the nearest text'), pagination via continued.cursor with the same address, and how English provenance is marked (ministry/corrected/machine). It also states a quoting practice: link this site's url, not e-Gov's.

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 purpose and the example call are front-loaded, and each paragraph has a job (purpose, return content, pagination, rendering, quoting). The Japanese preamble duplicates the English opening verbatim, and the enumeration of returned fields is partly redundant given an output schema exists, which inflates length.

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 seven-parameter, read-only tool with an output schema, the definition covers everything an agent needs to call it correctly: address forms, version versus date selection, cursor continuation, error behavior, and how to cite the result. Nothing material is left to 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 coverage is 100% and the parameter descriptions already document address forms, slug near-matching, the asOf/version exclusion and the references enum, so the description adds little meaning beyond the schema. The two worked example calls restate accepted address syntax rather than extending it.

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?

The description states a specific verb and resource ('Read the text of an article, paragraph or item of a Japanese law') and scopes it to a single provision ('One article, paragraph or item of a law, with everything under it'). This distinguishes it cleanly from siblings that handle whole laws, definitions, or citation lists.

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?

It gives an explicit use case (verify before quoting or explaining, because wording may have changed) and routes one decision to a sibling: references 'lists' is capped at the first 20 citing provisions because 'get_citing_provisions has them all'. It also names get_law's versions as the source of version strings. It never states plainly when to prefer get_law (whole statute) over this tool, so the routing is implied rather than spelled out.

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