Skip to main content
Glama

japan-legislation-mcp-server

List Japanese Legislation Reference

jplaw_list_reference
Read-onlyIdempotent

Look up e-Gov law types, category codes, Japanese law numbers, revision IDs, provision addresses, full-text query syntax, coverage, and upstream errors. Omit topic to see the available topics.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jplaw_list_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNoReference topic to expand.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
topicNoSelected topic.
entriesNoReference entries for the selected topic, or the topic list.
specification_urlNoHTTPS URL of the official e-Gov Law API specification.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds that upstream errors are surfaced as a topic, hinting that error reporting is part of the contract, but it says nothing about whether the reference content is static/cached or how large the payloads are.

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 sentences, front-loaded with the verb and the resource inventory, with no filler. The enumeration is long but every item corresponds to a real enum value the agent must choose among, so each word earns its place.

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?

With a single optional enum parameter, full schema coverage, an output schema, and read-only/idempotent annotations, the description carries everything needed to invoke it correctly. The only gap is that it does not characterize the shape or size of the returned reference content, which the output schema presumably handles.

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

Parameters4/5

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

Schema description coverage is 100% and the enum enumerates every valid topic, so the baseline is 3. The description goes beyond the schema by documenting the omitted-parameter behavior (no topic returns the list of topics), which is genuinely new semantic information about the optional argument's default.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ("Look up") over a concrete, enumerated resource set (law types, category codes, law numbers, revision IDs, provision addresses, query syntax, coverage, upstream errors), which makes clear this is a metadata/reference tool rather than a fetch or search tool like the siblings. It never names a sibling to contrast against, so the differentiation is inferable rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The line "Omit topic to see the available topics" gives a concrete discovery pattern for the first call, which is useful guidance. However, there is no statement of when to prefer this over jplaw_get_law, jplaw_lookup_citation, or the search tools, and no exclusions or prerequisites.

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.