Cross-source access to Japanese law, corporations, and statistics as an MCP server, normalized to English metadata (Stage 0).
Four tools with complete input schemas and descriptions, but quality varies significantly. All tools have verb-noun naming (search_*, get_*) and non-empty descriptions (100-200 chars). However, parameter descriptions lack detail on constraints, ranges, and error recovery. Output schemas are partially documented in code comments but not formally exposed. Error handling returns structured errors with recovery hints (e.g., 'Check that law_id or revision_id is exactly as returned by search_japanese_law'), which is good. Missing: enum constraints on parameters, explicit output schema documentation, and per-parameter type clarity in some cases. The server demonstrates solid fundamentals but lacks the polish of production-grade tools.
Retrieve the full text of a Japanese law by law_id or revision_id (from search_japanese_law). Optionally extract a specific article. Returns Japanese original text with English-normalized metadata. No API key required.
Search Japanese corporations by name or corporate number using the Corporate Number Web-API. Requires free registration (appId) from the National Tax Agency. Returns English-normalized metadata.
Search Japanese laws by keyword. Returns results with English-normalized metadata. Accepts keywords in Japanese or English (English keywords have lower match rates). No API key required.
Search Japanese statistics from e-Stat (Statistics Bureau of Japan) by keyword. Requires free registration (appId). Returns English-normalized metadata for datasets.
Parameter constraints not formally declared. 'limit' parameters accept 1-20 or 1-100 but lack enum/min/max in schema; 'max_chars' accepts 200-20000 but constraint is only in description text, not schema. LLMs cannot parse description-only constraints reliably.
Output schemas not formally documented. Code comments describe return structure (e.g., 'returns {query, title_match_count, full_text_match_count, returned, order, results, attribution}') but no JSON Schema is exposed to the MCP client. Agents cannot plan downstream calls without seeing the actual response shape.
Parameter descriptions lack actionable detail. 'keyword' is described as 'Search keyword (Japanese or English)' but does not specify minimum length, character restrictions, or what happens with empty strings. 'corporate_number' accepts '13-digit' but format is not formally constrained (no regex pattern in schema).
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Error recovery guidance incomplete for some paths. search_corporation and search_statistics mention 'Requires free registration (appId)' but do not explain what error the agent will see if appId is missing, or how to recover. get_law_text provides good recovery hints; others should match that standard.
No tool annotations (readOnlyHint, idempotentHint). All four tools are read-only and idempotent, but this is not declared in the tool definition. Agents cannot infer safety properties and may unnecessarily request confirmation or avoid retries.