Local stdio MCP server for finding Japanese e-Gov law revisions and diffing law text by law history ID.
Four tools with complete input schemas and clear descriptions. Naming follows verb_noun pattern (list_, find_, get_, diff_). Descriptions are substantive (100-200 chars), explaining WHAT and WHEN. All parameters have types and descriptions. However, output schemas are not documented, LLMs cannot predict response structure for chaining. Date validation is rigorous but error messages are generic. No tool annotations (readOnlyHint, idempotentHint). Missing parameter interdependency documentation (e.g., get_revision_text requires either revisionId OR lawUrl, but this is not explicitly stated as mutually exclusive).
Fetch two current law IDs or law revision IDs from e-Gov and return a line-level diff of comparable article/paragraph text.
Scan e-Gov updated-law lists across a date range and find revision IDs for one law ID or keyword. Use this before diff_revisions when you need candidate law history IDs.
Retrieve law text for a current law ID or e-Gov law revision ID. Returns metadata, source URLs, and a plain-text preview.
List laws updated in e-Gov Law Search on a specific date. Returns amendment metadata and law revision IDs when available.
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination) for downstream tool chaining or result extraction.
get_revision_text has mutually exclusive parameters (revisionId vs lawUrl) but does not explicitly document this constraint. LLMs may pass both or neither, causing ambiguous failures.
No tool annotations (readOnlyHint, idempotentHint). All four tools are read-only and idempotent, but LLMs cannot infer this from the schema. Explicit annotations would improve agent planning.
Error messages are generic ('Invalid input', 'does not match expected format'). Should include the invalid value and the constraint violated to enable LLM self-correction.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
No pagination guidance in descriptions. list_updates and find_revisions accept 'limit' but do not document whether results are paginated, whether a cursor/offset is returned, or how to fetch the next page.