Skip to main content
Glama

japan-legislation-mcp-server

Find Possible Implementing Instruments

jplaw_find_subordinate_laws
Read-onlyIdempotent

Find candidate cabinet orders, ministerial ordinances and rules implementing a Japanese Act. Results identify matching titles and enactment statements; e-Gov has no official parent link. For citations anywhere in a law, use jplaw_search_text.

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": "jplaw_find_subordinate_laws"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawYesExact Japanese Act title, abbreviation, law number, or law ID.
limitNoNumber of unique instruments to return.
offsetNoZero-based offset in the deduplicated law list. Pass next_offset to continue.
statusNoInclude only active instruments, or also inactive instruments.in_force

Output Schema

NameRequiredDescriptionDefault
countNoNumber of instruments returned.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the parent Act was resolved.
queryNoApplied selector, status and pagination.
noticeNoHow to interpret the evidence.
parentNoResolved parent Act.
guidanceNoHow to resolve an ambiguous or missing parent.
truncatedNoWhether additional instruments remain after this page.
candidatesNoExact parent matches when the selector is ambiguous.
attributionNoSource credit and processing statement.
instrumentsNoMatching instruments in law-ID order.
next_offsetNoOffset of the next instrument, or null.
total_countNoTotal unique instruments after filtering.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and open-world, so the safety profile is covered. The description adds genuinely useful behavioral context that annotations cannot: results are candidate/heuristic matches because 'e-Gov has no official parent link', which tells the agent not to treat the output as authoritative parentage.

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?

Two compact sentences: capability and result content first, then the sibling routing rule. No restatement of the name or title and nothing that could be cut without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no elaboration, and the description still characterizes them as titles plus enactment statements. The heuristic/limitation note is the key completeness win; only minor gaps remain, such as how pagination behaves across the deduplicated list.

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?

Every parameter is documented in the schema at 100% coverage, including the status enum and the offset/next_offset continuation hint, so the baseline is 3. The description adds no parameter-level meaning of its own, such as what forms 'law' accepts or when to lower the limit.

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?

States a specific verb ('Find') and a specific resource class ('cabinet orders, ministerial ordinances and rules implementing a Japanese Act'), plus what results contain ('matching titles and enactment statements'). That is enough for an agent to distinguish it from jplaw_search_text and jplaw_get_law without opening any 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?

Gives an explicit routing rule away from the tool: 'For citations anywhere in a law, use jplaw_search_text.' That covers the main adjacent use case, but it never says when this tool should be preferred over jplaw_search_laws or jplaw_get_law, nor how to choose between status values.

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.