Skip to main content
Glama
narumiruna

Taiwan Legislative Yuan MCP Server

by narumiruna

get_bill_related_bills

Find bills related to a specific bill by supplying its bill number. Get a JSON response containing association types and related bill numbers to trace legislative relationships.

Instructions

取得特定議案的相關議案列表。

Args:
    bill_no: 議案編號,必填,例:203110077970000

Returns:
    str: JSON 格式,包含該議案的相關議案資訊(關聯類型、相關議案編號等)。

Raises:
    例外時回傳中文錯誤訊息字串。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bill_noYes議案編號,必填,例: 203110077970000

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It adds useful behavior details: returns a JSON-formatted string with related type/number, and raises a Chinese error message string on exceptions. However, it does not explicitly state that the operation is read-only or describe any edge cases (e.g., empty results), which would be valuable for an agent.

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?

The description is extremely terse and well-structured: one-sentence purpose plus simple Args/Returns/Raises sections. Every line earns its place, no fluff, and the most important information is front-loaded.

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?

For a single-parameter read-only tool, the description covers purpose, argument, return format, and error handling. It adequately supports invocation. It lacks usage context beyond the obvious, but the output schema (if present) and the clear purpose compensate for this. Minor gap: no mention of what '相關議案' means in scope.

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% and the Args block repeats the schema's property description verbatim ('議案編號,必填,例: 203110077970000'), adding no new semantic information beyond what the input schema already provides.

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?

Description opens with '取得特定議案的相關議案列表' — a specific verb ('取得') and resource ('特定議案的相關議案'), clearly distinguishing it from siblings like get_bill (single bill) or list_bills (all bills). No ambiguity about what the tool does.

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?

No explicit when-to-use or alternative guidance is provided. The purpose implies usage (when you need related bills for a given bill), but it does not contrast with sibling tools like get_bill or list_bills, leaving the agent to infer context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/narumiruna/ly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server