Skip to main content
Glama
narumiruna

Taiwan Legislative Yuan MCP Server

by narumiruna

get_law_bills

Retrieve bills for a specific law using its law ID. Filter by term, session, status, proposer, and more to find relevant proposals.

Instructions

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

Args:
    law_id: 法律編號,必填,例:09200015
    term: 屆,例:11
    session: 會期,例:2
    bill_flow_status: 議案流程狀態,如:交付審查、三讀
    bill_type: 議案類別,如:法律案、預算案
    proposer: 提案人姓名
    cosigner: 連署人姓名
    law_number: 法律編號
    bill_status: 議案狀態,如:交付審查、三讀、排入院會
    meeting_code: 會議代碼
    proposal_source: 提案來源,如:委員提案、政府提案
    bill_number: 議案編號
    proposal_number: 提案編號
    reference_number: 字號
    article_number: 法條編號
    proposal_date: 提案日期,格式:YYYY-MM-DD
    proposal_unit_or_member: 提案單位或提案委員
    page: 頁數,預設1
    limit: 每頁筆數,預設20,建議不超過100
    output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)

Returns:
    str: JSON 格式,包含該法律相關的議案資訊。

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo頁數,預設1
termNo屆,例:11
limitNo每頁筆數,預設20,建議不超過100
law_idYes法律編號,必填,例:09200015
sessionNo會期,例:2
cosignerNo連署人姓名
proposerNo提案人姓名
bill_typeNo議案類別,如:法律案、預算案
law_numberNo法律編號
bill_numberNo議案編號
bill_statusNo議案狀態,如:交付審查、三讀、排入院會
meeting_codeNo會議代碼
output_fieldsNo自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
proposal_dateNo提案日期,格式:YYYY-MM-DD
article_numberNo法條編號
proposal_numberNo提案編號
proposal_sourceNo提案來源,如:委員提案、政府提案
bill_flow_statusNo議案流程狀態,如:交付審查、三讀
reference_numberNo字號
proposal_unit_or_memberNo提案單位或提案委員

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly documents the return type ('str: JSON 格式'), the general content ('包含該法律相關的議案資訊'), and error behavior ('例外時回傳中文錯誤訊息字串'). The read-only nature is also clear from the wording '取得...列表', even though permissions and rate limits are not discussed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description opens with a one-sentence purpose summary, then uses a clear structured list of Args followed by Returns and Raises. It is long due to 20 parameters, but each parameter line is direct and the structure is easy to scan without unnecessary prose.

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 tool with 20 parameters and no annotations, the description covers all parameters, marks the required one, documents defaults for pagination, specifies the return type, and notes error behavior. It does not explain parameter interactions or provide an example call, but this is a reasonably complete reference for a read-only query tool, especially with an output schema available.

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?

The schema description coverage is 100%, so the baseline is 3. The Args section largely duplicates the schema descriptions rather than adding new semantic meaning, such as filter combination logic, value constraints beyond examples, or output_fields formatting rules.

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 opening phrase '取得特定法律相關的議案列表' clearly states a specific verb (取得/list), resource (議案/bills), and scope (特定法律/related to a specific law). It is immediately distinguishable from sibling tools such as list_bills or get_bill because it emphasizes law-specific filtering via the required law_id parameter.

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?

The description implies the tool is for querying bills associated with a specific law, especially since law_id is required. However, it does not explicitly state when to prefer this tool over list_bills or get_bill, nor does it mention any exclusions or alternative tools for different query needs.

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