Japan Law Search MCP
Server Details
Full-text search across all ~10,000 current Japanese laws and regulations (official e-Gov data): keyword search, table of contents, and exact article text.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.1/5 across 3 of 3 tools scored.
Each tool serves a distinct purpose: search_laws for finding laws, get_law_structure for navigating a law's structure, and get_law_article for retrieving specific articles. There is no overlap or ambiguity.
All tool names follow a clear verb_noun pattern in snake_case (search_laws, get_law_structure, get_law_article), making them predictable and easy to understand.
Three tools is well-scoped for the domain of searching and retrieving Japanese law articles. Each tool earns its place, covering the essential workflow of search, browse structure, and read article.
The tool set covers the full lifecycle of finding and accessing legal content: search to identify laws, structure to navigate, and article retrieval for specific content. No major gaps are apparent.
Available Tools
3 toolsget_law_article法令の条文本文を取得AInspect
law_idと条番号を指定して条文の本文を取得する。条番号は「3」「第3条」「第三条の二」「3の2」のいずれの形式でもよい。
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | 法令ID(例: 412AC0000000102) | |
| article | Yes | 条番号(例: 3 / 第3条 / 第三条の二) |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It describes the operation as a simple retrieval but does not mention potential errors, authentication, or return format. Sufficient for a straightforward read operation, but could be more explicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that states the main action and then provides important format specifics. No extraneous content, front-loaded with key information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with two required parameters and no output schema, the description covers the input semantics well. It does not describe the output, but the purpose implies the tool returns article text. Adequate for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with parameter descriptions. The description adds value by clarifying the flexible formats for the article parameter (e.g., '3', '第3条'), which go beyond the schema's example.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states the tool's purpose: get article text given law_id and article number. It specifies the resource (law article) and action (get text), and differentiates from siblings that handle structure or search.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly indicates required inputs and acceptable formats for the article number. While it doesn't explicitly state when to use versus siblings, the sibling names imply different purposes, making the usage context clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_law_structure法令の目次(章・条の一覧)を取得AInspect
law_idを指定して法令の構造(章・節・条の見出し一覧)を取得する。どの条文を読むべきか当たりを付けるのに使う。law_idはsearch_lawsの結果に含まれる。
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | 法令ID(例: 412AC0000000102) |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states the tool returns structure (headings) but does not detail output format, depth, or any side effects. For a read-only tool, this is adequate but could be more explicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, front-loads the purpose, and provides actionable guidance without extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter, no output schema, and no annotations, the description sufficiently explains the tool's purpose and usage. Missing details like return format are minor given the tool's straightforward nature.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema provides 100% coverage for the single parameter law_id, including a description and example. The description adds useful context by noting that law_id is found in search_laws results, which helps the agent understand where to obtain it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves the structure of a law (list of headings for chapters, sections, articles) by specifying a law_id, and distinguishes from siblings (get_law_article and search_laws) by focusing on the table of contents.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions using it to decide which articles to read, implying it precedes get_law_article, and notes that law_id comes from search_laws, providing context for when to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_laws日本の法令を検索AInspect
日本の現行法令(法律・政令・省令など約1万件)を政府公式データベース(e-Gov)から検索する。search_in=full_text(既定)は条文本文の全文検索、search_in=titleは法令名検索。結果のlaw_idをget_law_structure / get_law_articleに渡すと条文を参照できる。
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最大件数(1〜20) | |
| query | Yes | 検索語(例: 電子署名 / 個人情報 / 解雇) | |
| search_in | No | full_text=条文本文を全文検索(既定) / title=法令名で検索 | full_text |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It mentions searching e-Gov and the search modes, but does not describe the return format (fields beyond law_id), pagination, rate limits, or whether the database is always up-to-date. Since there is no output schema, the lack of return structure information is a notable gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long and front-loads the core purpose. It avoids verbosity but could be slightly more structured (e.g., bullet points for search options). Still, it is efficiently written.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters, no output schema, and no annotations, the description covers the search purpose, options, and integration with siblings. However, it lacks details on the return structure and pagination behavior, which are important for an agent to consume the output correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3. The description adds context beyond the schema by elaborating on the enum values (e.g., 'full_text=条文本文を全文検索(既定)') and implying the use of limit. This extra detail justifies a score above baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool searches Japanese current laws from e-Gov, listing types (法律・政令・省令) and scope (~10,000 items). It distinguishes from sibling tools by explaining how law_id from results connects to get_law_structure and get_law_article.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the two search modes (full_text vs title) and their defaults, and explicitly says to use the returned law_id with sibling tools. However, it does not give explicit when-not-to-use guidance or comparisons with alternatives beyond siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!