Skip to main content
Glama

japanlaw.org — Japanese law

Describe one law

get_law
Read-onlyIdempotent

What a Japanese law is for, who it applies to, and its chapters and articles. One law: titles, number, kind, when the text in force took effect, the texts held (versions: in force, not yet in force, no longer in force, each with the days it stands), how much of it has the Ministry's English, and this site's plain description of it — what it is for, who it applies to and who it does not, and on request (aspect) its exceptions and how it is enforced — each claim with the provisions it rests on (basis). Then its outline: by default the parts and chapters of the main text (編, 章); outline "articles" lists every article (for a very long law, its headings instead), and under (a heading's path, such as ch-4) lists everything under that heading. outlineUrl turns an outline path into its page.

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>"
    },
    "name": "get_law"
  }
}

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).
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.
underNoA heading's or run's path from the outline, such as ch-4 or from-art-31: list everything under it.
aspectNoOne part of the description, in full: summary, applies, excludes, exceptions, enforcement or topics. Unset gives summary, applies, excludes and topics, and names the others in description.more.
outlineNo"headings" (default) or "articles".

Output Schema

NameRequiredDescriptionDefault
urlYes
slugYes
lawIdYes
outlineYes
titleJaYes
outlineUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / aspect
      Added value: +{
      +  "description": "One part of the description, in full: summary, applies, excludes, exceptions, enforcement or topics. Unset gives summary, applies, excludes and topics, and names the others in description.more.",
      +  "enum": [
      +    "summary",
      +    "applies",
      +    "excludes",
      +    "exceptions",
      +    "enforcement",
      +    "topics"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / section
      Removed value: -{
      -  "description": "One section of the description, in full: summary, applies, excludes, exceptions, enforcement or topics. Unset gives summary, applies, excludes and topics, and names the others in description.more.",
      -  "enum": [
      -    "summary",
      -    "applies",
      -    "excludes",
      -    "exceptions",
      -    "enforcement",
      -    "topics"
      -  ],
      -  "type": "string"
      -}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the safety hints in annotations, the description clarifies specific behavioral traits: which metadata is included (translation percentage), the structure of the description (who it applies to/doesn't to), and the logic for the 'aspect' filter and outline generation.

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 description is extremely dense and lengthy, which lowers its score for conciseness. However, this length is necessary to convey the complexity of the output and parameter logic.

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?

The definition is highly complete for a complex data retrieval tool. It clarifies the output data structure, the functionality of the 'outline' parameter, and the exact scope of the legal descriptions returned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description provides essential semantic context for the inputs. It explains the various allowed formats for the `law` parameter (slug, ID, English/Japanese titles) and defines the conceptual meaning of every `aspect` enum.

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 tool description specifies retrieving a comprehensive description of a Japanese law, clearly differentiating it as a deep-dive content retrieval tool, unlike list or search operations among siblings.

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?

While it doesn't explicitly state when *not* to use the tool, it provides extremely detailed context about the scope of the retrieved information (e.g., versions, enforcement claims), helping the user understand the right depth of usage.

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