Skip to main content
Glama
narumiruna

Taiwan Legislative Yuan MCP Server

get_law_version_contents

Retrieve the list of articles for a specific version of a law from Taiwan's Legislative Yuan, with optional filters for article number, status, and pagination.

Instructions

取得法律版本包含的法條列表。

Args:
    law_version_id: 版本編號,必填,例:90481:1944-02-29-制定
    law_number: 法律編號,例:90481
    version_id: 法條資料版本編號,例:90481:1944-02-29-制定
    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_version_idYes版本編號,必填,例:90481:1944-02-29-制定
law_numberNo法律編號,例:90481
version_idNo法條資料版本編號,例:90481:1944-02-29-制定
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?

No annotations are provided, so the description bears full responsibility. It mentions return type (JSON string) and error handling (Chinese error message), which adds some transparency. However, it does not state whether the operation is read-only, describe pagination behavior despite page/limit parameters, or disclose any side effects. The added value beyond schema is moderate.

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 follows a clear docstring format (Args, Returns, Raises) and front-loads the purpose. While it is lengthy due to many parameters, each section is concise and relevant. No redundant sentences.

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?

Given the complexity (10 parameters, 1 required) and presence of an output schema, the description is fairly complete. However, it omits discussion of parameter interactions (e.g., law_version_id vs law_number) and does not explain how pagination works beyond providing defaults. Annotations would have helped, but they are absent.

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 baseline is 3. The description's Args section essentially repeats the schema descriptions without adding new meaning. No examples, constraints, or relationships between parameters are clarified beyond what schema already provides.

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 it retrieves a list of articles for a specific law version (取得法律版本包含的法條列表). The verb 'get' and resource 'law version contents' are specific. However, it does not differentiate from sibling tools like get_law_content or list_law_contents, which may cause confusion.

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 lists parameters but provides no explicit guidance on when to use this tool versus alternatives, nor when to apply optional filters. Usage is implied by the parameter descriptions, but no when-not-to-use or alternative references are given.

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