Skip to main content
Glama

japan-legislation-mcp-server

Read Japanese Law Provisions

jplaw_get_provision
Read-onlyIdempotent

Read Japanese 条, 項, or 号 from one e-Gov law revision. Process the first 10 addresses and return the rest for continuation. Use jplaw_get_law for a revision outline, supplementary occurrences, tables, or text pages.

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": {
      "provisions": "<provisions>"
    },
    "name": "jplaw_get_provision"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawNoExact e-Gov law ID, Japanese law number, title, or abbreviation. Required unless a revision ID is supplied.
asofNoCalendar date on or after 2017-04-01. Mutually exclusive with law_revision_id.
provisionsYesProvision addresses in caller order, for example 第二条第三号の二 or 附則第二条.
law_revision_idNoExact pinned revision ID from a law read or revision list. Mutually exclusive with asof.

Output Schema

NameRequiredDescriptionDefault
lawNoIdentity of the selected law.
asofNoRequested as-of date.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the law revision was resolved.
noticeNoHow to continue a batch with deferred addresses.
deferredNoUnprocessed addresses in caller order.
guidanceNoHow to recover from a law or revision lookup miss.
revisionNoPinned text revision.
candidatesNoEqually exact law matches for an ambiguous selector.
provisionsNoOne result for each processed address, in caller order.
attributionNoSource attribution and transformation notice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld), so the description correctly spends its words elsewhere: it discloses the 10-address batch cap and that unprocessed addresses are returned for continuation, which is critical operational behavior an agent must plan for. It does not say what happens on an unresolvable or malformed address, which is the main remaining gap.

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

Conciseness5/5

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

Three short sentences with zero filler: purpose first, operational cap second, alternative third. Every sentence carries distinct information and nothing is repeated from the schema.

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?

Return values are handled by the output schema, safety by annotations, and parameters by a fully covered schema, so the description's job is the batch/continuation contract and sibling routing, both of which it delivers. For a read tool of this complexity, nothing an agent needs to invoke it correctly is missing.

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 parameter meaning is already fully documented, and the description adds only the batching constraint tied to the 'provisions' array. The 'one e-Gov law revision' phrase reinforces the law/asof/law_revision_id exclusivity, but the schema already states that mutual exclusion explicitly.

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 gives a specific verb ('Read') applied to a specific resource ('Japanese 条, 項, or 号 from one e-Gov law revision'), which is an unambiguous scope. It explicitly separates itself from jplaw_get_law, so an agent can choose between them without inspecting either schema.

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 names a concrete alternative and the conditions that select it ('revision outline, supplementary occurrences, tables, or text pages'), which is real routing guidance. It stops short of an explicit when-to-use-do-this statement and does not mention the other siblings (search, citation lookup), so it is strong but not exhaustive.

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.