Skip to main content
Glama

japan-parliament-mcp-server

Look up National Diet reference data

jpparl_list_reference
Read-onlyIdempotent

Look up Diet session dates, house names and aliases, current standing committees, Japanese era dates, or syntax for searching the minutes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "topic": "<topic>"
    },
    "name": "jpparl_list_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicYessessions: Diet session numbers and dates, read live from the House of Representatives. houses: house filter values and aliases. eras: Japanese era boundaries and date syntax. standing_committees: current statutory committee names. search_syntax: filter matching and paging rules.
session_toNoLast Diet session, or exact session when used alone.
session_fromNoFirst Diet session, or exact session when used alone.

Output Schema

NameRequiredDescriptionDefault
dataNoReference data in the schema for the selected topic.
errorNoPresent when the call failed. Absent on success.
topicNoRequested reference topic.
sourceNoPrimary source for the selected topic.
noticesNoGuidance when no session matches.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds little beyond that — the word 'current' hints at live data for committees, but it does not disclose that session data is fetched live from the House of Representatives (that detail lives only in the schema) or any latency/availability considerations.

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?

A single front-loaded sentence that enumerates the available topics without filler. Every clause earns its place by mapping to an enum value, and nothing is repeated from structured fields.

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 an output schema present, return-value explanation is unnecessary, and annotations plus full schema coverage carry the rest. The only gap is that the description does not note the session-range parameters or the cross-tool workflow (resolve aliases/eras first, then search), which would round out the picture for an agent.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already explains every parameter, including that session_from/session_to bound the sessions topic. The description adds no meaning beyond it — it never mentions the session range parameters or clarifies that they apply only to the 'sessions' topic, so the baseline 3 applies.

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 ('Look up') and enumerates the exact resource domains: Diet session dates, house names and aliases, standing committees, era dates, and search syntax. This maps one-to-one onto the five enum values in the schema and makes the reference-data nature of the tool unmistakable against siblings like jpparl_search_meetings or jpparl_get_meeting, which return minutes rather than metadata.

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?

Usage is only implied: an agent can infer it should call this to resolve house aliases, era dates, or filter syntax before searching, but the description never states that precondition or names an alternative tool. There is no explicit when-to-use or when-not-to-use guidance, and no mention of how this relates to the search siblings.

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.