Skip to main content
Glama

japan-parliament-mcp-server

Search National Diet sittings

jpparl_search_meetings
Read-onlyIdempotent

Find National Diet sittings and their printed agendas, newest dated sittings first. Undated publications retain their source order. Keywords match only the sitting header (agenda and attendance), so use them for a Japanese bill title; for words said in debate, use jpparl_search_speeches. Omit every filter to list recent sittings. Pass a returned issue_id to jpparl_get_meeting to read the minutes.

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

Input Schema

NameRequiredDescriptionDefault
fromNoInclusive first date as YYYY-MM-DD, YYYY/M/D, YYYY年M月D日, or a Japanese era date such as 令和7年5月1日.
houseNoHouse or conference committee. Omit to search all houses.
limitNoNumber of results, default 25. Values above 100 are reduced to 100.
startNoOne-based result position. Start at 1, then pass the previous next_start with the same filters and limit.
untilNoInclusive last date as YYYY-MM-DD, YYYY/M/D, YYYY年M月D日, or a Japanese era date such as 令和7年5月1日.
issue_toNoLast issue number, or exact issue when used alone.
keywordsNoJapanese terms separated by spaces, all of which must match (AND). Write numerals as printed, such as 百兆円. Double quotes and standalone uppercase AND, OR, and NOT are rejected.
issue_fromNoFirst issue number, or exact issue when used alone.
session_toNoLast Diet session, or exact session when used alone.
closing_onlyNoOnly sittings held while the Diet was not in session (閉会中).
meeting_nameNoPart of a Japanese sitting or committee name, or its hiragana reading (予算委員会 or よさんいいんかい). Spaces separate alternatives (OR).
session_fromNoFirst Diet session, or exact session when used alone.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
totalNoNumber of source matches.
sourceNoAttribution for this result.
appliedNoEffective meeting filters and paging.
noticesNoGuidance about the returned records and search options.
recordsNoMatching sitting headers in source order.
returnedNoRecords on this page.
truncatedNoAdditional results are available after this page.
next_startNoNext one-based source position, or null at the end.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, but the description adds non-obvious traits the annotations do not: results are sorted newest dated sittings first, undated publications keep source order, and keyword matching is confined to the sitting header rather than full text. It stops short of covering result volume capping or paging failure modes, which keeps it off a 5.

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?

Four short sentences, front-loaded with the resource and sort order, then keyword scope, then the bare-call default, then the follow-up handoff. No sentence repeats the schema or the annotations, so nothing is wasted.

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 12-parameter, zero-required search tool with full schema descriptions, an output schema, and safety annotations, the description supplies exactly the missing layer: ordering semantics, keyword scope, the no-filter default, and the pagination/follow-up path. Nothing an agent needs to call it correctly is absent.

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 100%, so the baseline is 3; the description earns above that by clarifying the semantics of the most error-prone parameter — keywords match only the header (agenda/attendance) and never debate text, which the schema does not say — and by tying the returned issue_id to the follow-up call. Range parameters (session_from/issue_to/house) are left entirely to the schema.

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 definition opens with a specific verb+resource pair ("Find National Diet sittings and their printed agendas") and immediately distinguishes itself from jpparl_search_speeches (debate text) and jpparl_get_meeting (full minutes), so an agent can route correctly without opening a schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use rules: keywords are for Japanese bill titles in the sitting header, while words said in debate belong to jpparl_search_speeches; omitting every filter lists recent sittings; passing a returned issue_id to jpparl_get_meeting reads the minutes. Both the alternative and the trigger condition are stated.

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.