Skip to main content
Glama
narumiruna

Taiwan Legislative Yuan MCP Server

list_law_contents

Retrieve and filter Taiwan's legislative law contents by parameters like law number, article number, version status, and custom fields to access structured legal data.

Instructions

列出法條資料。

Args:
    law_number: 法律編號,例:90481
    version_id: 版本編號,例:90481:90481:1944-02-29-制定:1
    order: 順序,例:1
    article_number: 條號,例:第一條
    current_version_status: 現行版,可選值:現行、非現行
    version_tracking: 版本追蹤,例:new
    page: 頁數,預設1
    limit: 每頁筆數,預設20
    output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)

Returns:
    str: JSON 格式的法條列表。

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
law_numberNo法律編號,例:90481
version_idNo版本編號,例:90481:90481:1944-02-29-制定:1
orderNo順序,例:1
article_numberNo條號,例:第一條
current_version_statusNo現行版,可選值:現行、非現行
version_trackingNo版本追蹤,例:new
pageNo頁數,預設1
limitNo每頁筆數,預設20
output_fieldsNo自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/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 mentions the return format (JSON) and error handling (Chinese error messages), which is helpful. However, it doesn't describe pagination behavior beyond default values, rate limits, authentication requirements, or whether this is a read-only operation.

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

Conciseness3/5

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

The description is reasonably structured with sections for Args, Returns, and Raises, but it wastes space by duplicating parameter documentation already present in the schema. The initial purpose statement is too brief, and the parameter section could be more concise given the schema coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter list tool with no annotations but 100% schema coverage and an output schema, the description provides basic purpose and return format information. However, it lacks crucial context about filtering logic, pagination details, and differentiation from sibling tools, making it incomplete for optimal agent usage.

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 documents all parameters thoroughly. The description repeats the parameter information but adds no additional semantic context about how parameters interact, which combinations are meaningful, or filtering logic. This meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as '列出法條資料' (list law contents), which is a specific verb+resource combination. However, it doesn't distinguish this tool from its sibling 'get_law_content' or explain how listing differs from getting individual law content, which prevents a perfect score.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like 'get_law_content' or 'list_laws'. It doesn't mention prerequisites, use cases, or any contextual factors that would help an agent choose between this and its many sibling tools.

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