Skip to main content
Glama
narumiruna

Taiwan Legislative Yuan MCP Server

get_gazette_agendas

Retrieve a list of agenda items from a specific gazette by providing the gazette ID, with optional filters for volume, term, meeting date, and pagination.

Instructions

取得特定公報所含的公報目錄列表。

Args:
    gazette_id: 公報編號,必填,例:1137701
    volume: 卷,例:113
    term: 屆,例:11
    meeting_date: 會議日期,格式:YYYY-MM-DD,例:2024-10-04
    page: 頁數,預設1
    limit: 每頁筆數,預設20,建議不超過100
    output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)

Returns:
    str: JSON 格式,包含該公報的公報目錄資訊。

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gazette_idYes公報編號,必填,例:1137701
volumeNo卷,例:113
termNo屆,例:11
meeting_dateNo會議日期,格式:YYYY-MM-DD,例:2024-10-04
pageNo頁數,預設1
limitNo每頁筆數,預設20,建議不超過100
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 bears full responsibility. It states the tool returns a JSON string and raises exceptions with Chinese error messages, and mentions pagination and custom output fields. However, it does not disclose whether the operation is read-only (though likely safe) or any side effects. This is adequate but leaves some transparency gaps.

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 follows a structured docstring format with Args, Returns, Raises sections, which aids readability. However, it is somewhat verbose and repeats parameter information that is already in the schema. Some redundancy could be trimmed without loss of clarity.

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?

Given the tool has an output schema (reducing the need to describe return structure), the description adequately covers the tool's functionality: pagination, custom fields, error handling. It lacks usage guidance vs siblings, but for the tool's complexity (7 params), it is reasonably complete.

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

Parameters4/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 adds value by providing concrete examples for each parameter (e.g., gazette_id: '1137701', limit: '建議不超過100') and clarifying the purpose of output_fields. This goes beyond the schema's brief descriptions.

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 clearly states it retrieves a list of gazette agendas for a specific gazette, using the verb '取得' (get) and specific resource '公報目錄列表' (gazette agenda list). This distinguishes it from sibling tools like 'get_gazette' (which likely gets the gazette itself) and 'list_gazette_agendas' (which lists all).

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?

No explicit guidance is given on when to use this tool versus alternatives. It does not mention when not to use it or suggest alternatives. The description only implies usage through parameter descriptions (e.g., filtering by volume, term) but lacks clear when-to-use advice.

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