Skip to main content
Glama

Jp Court Search

jp_court_search
Read-onlyIdempotent

Search the Courts of Japan (裁判所) judgments database: Supreme Court, high court, lower court, administrative, labour and Intellectual Property High Court decisions. Japanese full-text query; each hit gives the case number (e.g. 平成30(受)1961), case name, decision date, court, the court's detail lines and the link to the full text. Words separated by spaces match decisions containing ANY of them; use must_include to require further words; a search matching over 2,000 decisions is refused by the court (empty_reason too_many_results) so use specific terms. court narrows to one part of the database (supreme, high, lower, administrative, labor, ip; default all). Dates are YYYY-MM-DD, Showa era onward. Only some decisions are published, so no hit does not mean no such case. Example: query="ストックオプション", court="supreme".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "court": "supreme",
      "query": "ストックオプション"
    },
    "name": "jp_court_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
courtNoPart of the database: all (default), supreme, high, lower, administrative, labor, ip.
limitNoRecords returned from the page (1-30, default 10).
queryYesJapanese words, separated by spaces (any word matches).
offsetNoResult offset for the next page: use next_offset from the previous response (pages of 30).
date_toNoLatest decision date, YYYY-MM-DD.
date_fromNoEarliest decision date, YYYY-MM-DD (1926-12-25 or later).
must_includeNoOptional extra words the decision must also contain.

Output Schema

NameRequiredDescriptionDefault
noteNo
sortNo
foundNo
queryNo
totalNo
caveatNo
offsetNo
sourceNo
recordsNo
returnedNo
next_offsetNo
empty_reasonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/idempotent annotations, it discloses a real behavioral constraint: a hard 2,000-result ceiling surfaced as empty_reason too_many_results. It also flags partial publication coverage of the corpus, which materially affects how an agent should interpret empty results, and describes the shape of each hit.

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

Conciseness4/5

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

The definition is one dense but well-ordered block: purpose, return fields, query semantics, result cap, court filter, date format, caveat, then a concrete example. Every sentence carries information, though the single unbroken paragraph makes it slightly harder to scan than a structured layout would.

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?

For a seven-parameter open-world search with a 2,000-result cap, the description covers query semantics, filtering, date format, pagination expectations via the schema, and the interpretation caveat for empty results. With an output schema present, it need not enumerate return values in detail, and the brief hit description is sufficient.

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 coverage is already 100%, yet the description adds genuine meaning: space-separated words match ANY term while must_include requires additional terms, and court maps to a specific slice of the database. It says nothing extra about limit/offset/date_to beyond what the schema states, so it does not fully earn a 5.

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 names a specific verb and resource (search the Courts of Japan judgments database) and enumerates the covered court tiers, including the IP High Court. It is clearly a search tool with a Japanese full-text query, which distinguishes it from a fetch/retrieval sibling like jp_court_get.

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 explains how to construct a query (space-separated terms are OR; must_include adds AND), how to narrow with court, and warns that broad searches exceeding 2,000 hits are rejected, directing the agent toward specific terms. It also cautions that absence of a hit does not prove a case does not exist. No alternative tool is named, so routing between siblings is left implicit.

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.