Skip to main content
Glama
lawchat-oss

mcp-taiwan-legal-db

by lawchat-oss

search_other_regulations

Search Taiwan local ordinances, treaties, tax agreements, and exchange rules excluded from the national regulations database. Filter by source or query all to find applicable provisions.

Instructions

搜尋全國法規資料庫法律命令清單以外的規範(query_regulation 查不到的)。

  • 地方自治法規(自治條例、自治規則、委辦規則):臺北市、新北市、桃園市、臺中市、臺南市、高雄市、基隆市、 新竹縣市、苗栗縣、彰化縣、南投縣、嘉義縣市、屏東縣、宜蘭縣、花蓮縣、臺東縣、澎湖縣、金門縣、連江縣、雲林縣 (只收現行法規)

  • 條約及協定:全國法規資料庫的條約(只比對名稱)、外交部條約協定資料庫(可加國家,如「日本 所得稅」; 部分舊約是掃描檔只有 PDF 連結)、財政部租稅協定(避免雙重課稅協定,名稱多寫「所得稅」)

  • 交易所規章:臺灣證券交易所、證券櫃檯買賣中心、臺灣期貨交易所(櫃買、期交所規章取自證基會法規系統, 僅供查閱、不得轉載) 建議指定 source:不填會同時查全部 28 個來源。結果的 id 傳給 get_other_regulation 取得條文。

Args: keyword: 關鍵字(法規名稱或內容)。多數來源把整串當成一個詞,請一次給一個詞,例如「違章建築」; 條約可用「國家 主題」,例如「日本 所得稅」 source: 縣市名(如「臺北市」「高雄」「新竹」)、「地方法規」「條約」「租稅協定」「外交部」 「交易所規章」「證交所」「櫃買中心」「期交所」,可用逗號分隔;不填 = 全部 page: 頁數

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
sourceNo
keywordYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: local regulations are current-only, some treaties are scanned images with PDF links only, exchange regulations come from 證基會 and are view-only/non-redistributable, and the default fans out to all 28 sources. Return-format and pagination behavior are not described, keeping it from a 5.

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?

Front-loaded with the purpose and the sibling it does not replace, then organized into scannable bullets by source category with the args block last. It is longer than minimal but each section carries routing or coverage information, so little is wasted.

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 no annotations and no output schema, the description supplies the source taxonomy, the default fan-out, key caveats, and the id-handoff to get_other_regulation. An agent has enough to invoke it correctly; only pagination/result-shape details are absent.

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 coverage is 0%, so the description must compensate, and it does for two of three params: keyword gets syntax guidance and an example, and source gets a full list of accepted values plus delimiter rules and default behavior. page is only glossed as 頁數 with no detail, leaving a small gap against the otherwise strong coverage.

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?

States a specific verb (搜尋) and resource, and explicitly scopes itself against a named sibling: it finds regulations that query_regulation cannot. The three bulleted categories (地方自治法規, 條約及協定, 交易所規章) make the coverage boundary concrete and let an agent distinguish it from search_regulations/query_regulation without opening any schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent: it names query_regulation as the source it complements and tells the caller to pass the returned id to get_other_regulation. It also advises specifying source and warns that omitting it queries all 28 sources. It stops short of stating when-not to use it, so a 4 rather than 5.

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