taiwan-law
Server Details
Taiwan legal research MCP: 判決書、全國法規、釋字/憲判與立法歷程查詢,12 個工具,回應均附官方出處 URL。
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
14 toolsanalyze_legal_intent分析台灣法律研究意圖AInspect
將使用者輸入初步分為案例事實、法律問題或引註研究,並標示領域、隱私風險與建議檢索詞。不做法律結論。
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 使用者的案例事實或法律問題 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It clearly states the tool does not provide legal conclusions, which is a key behavioral trait, and describes the outputs it produces. It doesn't detail edge cases or error handling, but the core behavior is transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that packs the core function, output dimensions, and a critical limitation. Every clause earns its place with no filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple single-parameter classification tool, the description sufficiently conveys the role, outputs, and a caveat. Without an output schema or annotations, it does not specify the exact response format, but it provides enough for an agent to understand what the tool does and when to use it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already covers the single 'text' parameter at 100% with a description ('使用者的案例事實或法律問題') that matches the tool's purpose. The description adds no additional parameter-specific semantics beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb '將使用者輸入初步分為' and enumerates the three concrete output categories (案例事實、法律問題或引註研究) plus additional outputs (領域、隱私風險與建議檢索詞). This clearly differentiates it from the sibling tools, which are retrieval/search tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies a preliminary classification role before legal research and explicitly sets a boundary ('不做法律結論'), giving clear context on when it applies. However, it does not explicitly name alternative tools or contrast with them, so it lacks explicit exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_moj_draft_announcements法務部草案預告與最新法規訊息AInspect
取得法務部主管法規系統的法規草案預告清單(含官方網址);可一併回傳近期法規訊息(修正條文、行政規則發布等)。涵蓋範圍限法務部。
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| include_all_news | No | 一併回傳近期所有法規訊息 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that the return includes an official URL and that enabling include_all_news adds recent regulation messages such as amended provisions and administrative rules. However, it does not describe pagination, ordering, authentication requirements, or the response structure, leaving some behavioral ambiguity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loading the main action, then the optional behavior, then the scope restriction. Every phrase adds information without redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a low-complexity tool with two optional parameters and no output schema, the description provides the core purpose, scope limitation, and optional behavior. It lacks response format details and limit semantics, but is sufficient for an agent to select and invoke the tool in most straightforward scenarios.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 50%: only include_all_news has a schema description. The tool description adds useful meaning by enumerating examples of regulation news ('修正條文、行政規則發布等'), which clarifies include_all_news. However, it does not clarify how limit interacts with include_all_news or whether limit applies only to the draft list, so compensation for the coverage gap is only partial.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('取得' / get) and a specific resource ('法務部主管法規系統的法規草案預告清單' / MOJ regulatory draft announcement list), notes the inclusion of official URLs, and optionally describes returning recent regulation news. It also explicitly scopes itself to the Ministry of Justice ('涵蓋範圍限法務部'), which clearly distinguishes it from sibling tools covering broader Taiwan legal content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for MOJ-specific draft announcements and related regulation news through the scope statement '涵蓋範圍限法務部', giving clear context. However, it does not explicitly mention alternative tools or state when NOT to use this tool, so the guidance is more implied than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taiwan_interpretation取得大法官解釋/憲法法庭裁判AInspect
取得釋字(第 1-813 號)或憲判字(111 年起)內容,來自官方公告文書的本地快照,即時回應。預設回傳字號/日期/爭點/解釋文等精簡層;理由書與意見書需 opt-in:優先用 reasoning_keyword / opinions_keyword 取關鍵字片段(省 token),確有需要才用 include_* 取全文(超過 15000 字會截斷並警告)。
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | 字號,例如:釋字第748號、釋字748、111年憲判字第1號、111憲判1 | |
| include_opinions | No | 回傳意見書全文 | |
| opinions_keyword | No | 在意見書中搜尋關鍵字並回片段 | |
| include_reasoning | No | 回傳理由書全文 | |
| reasoning_keyword | No | 在理由書中搜尋關鍵字並回片段(優先於 include_reasoning) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses data source (local snapshot of official documents), response default, opt-in behaviors, token-saving rationale, and a 15000-character truncation warning, offering substantial behavioral context beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences that efficiently front-load purpose and then detail usage nuances. Every clause adds value—no filler or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite lacking an output schema, the description explains default response fields (字號/日期/爭點/解釋文), opt-in reasoning/opinions, and truncation warning. It covers the tool's full behavior adequately for an agent to use correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds critical semantics: the priority relationship between keyword and include parameters, why to prefer keywords (省 token), and full-text truncation behavior. This significantly enriches the bare schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 取得釋字 or 憲判字 content, with specific scope (第 1-813 號, 111 年起) and resource type. It also lists default return fields, distinguishing it from sibling search/citation tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: this is for direct retrieval of specific interpretations, with parameter-level usage guidance (prefer keyword snippets, use include_* only when necessary). However, it doesn't explicitly mention alternatives or exclusions relative to sibling tools like search_taiwan_interpretations or get_taiwan_interpretation_citations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taiwan_interpretation_citations大法官解釋引用關係AInspect
從釋字/憲判字理由書中抽取引用的其他釋字與憲判字字號(往前追溯),可附引用處前後 80 字片段。
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | 字號,格式同 get_taiwan_interpretation | |
| include_context | No | 每個引用附上原文片段 |
TDQS
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 reveals that the tool only extracts citations within the reasoning, traces backward to earlier citations, and optionally includes surrounding text. This goes beyond the schema by specifying the 80-character context length and temporal direction. It doesn't detail edge cases (e.g., no citations found, invalid case_id), but for a read-only extraction tool, the key behaviors are sufficiently disclosed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that leads with the action ('從...理由書中抽取') and front-loads the core functionality. Every element earns its place—describing the source, the extraction type, the backward-citation direction, and the optional context. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, no output schema), the description is complete enough to understand the return value: a list of cited interpretation numbers with optional context. It covers the input generation and output type without needing an explicit output schema. Minor gaps include unspecified response structure when no citations exist, but the core usage is fully specified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3. The description adds value by elaborating on include_context: it specifies that the excerpt is '前後 80 字片段' (80 characters before and after), which is more specific than the schema's '每個引用附上原文片段'. It also reinforces case_id's format by referencing get_taiwan_interpretation, aiding correct invocation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool extracts cited interpretation numbers from the reasoning of a specified 釋字/憲判字, with an optional 80-character context excerpt. This specific verb-resource pairing ('抽取引用的其他釋字與憲判字字號') distinguishes it from sibling tools like get_taiwan_interpretation (retrieving a single interpretation) and search_taiwan_interpretations (searching by keywords).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description conveys a clear context: given a case_id, retrieve the older interpretations it cites, going backward in time. It implies the tool is used for citation relationships rather than general retrieval, but it does not explicitly name alternatives or state when not to use it. The '往前追溯' phrasing provides directional context, making the use case clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taiwan_judgment取得司法院裁判書AInspect
依司法院 JID 取得裁判全文與官方網址。回應得經至多 6 小時邊緣快取(cached/retrieved_at 標示);需最新狀態或裁判疑似已下架時,設 fresh=true 強制向官方重抓。
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | 司法院裁判書 JID | |
| fresh | No | 略過邊緣快取,強制向司法院取得最新內容 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and discloses a key behavioral trait: up to 6 hours edge caching, indicated by cached/retrieved_at fields, and the option to force a fresh fetch. It also hints at removal handling. This is valuable transparency, though it doesn't mention error behavior or authentication.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences, front-loaded with the primary purpose, and every clause earns its place. It efficiently covers purpose, caching behavior, and fresh parameter usage without fluff or redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple retrieval tool with two parameters and no output schema, the description is complete. It explains the primary return (full text and URL), mentions cached/retrieved_at fields, and provides fresh usage context. It gives enough information for an agent to select and invoke the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, providing parameter descriptions for both jid and fresh. The description adds meaning by explaining when fresh should be true (latest status or suspected removal), going beyond the schema's 'skip edge cache, force fetch' wording. This extra usage context raises it above the baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves the full text and official URL of a judgment by JID, using a specific verb (取得) and resource (裁判全文與官方網址). It distinguishes from sibling tools like search_taiwan_judgments (search) and get_taiwan_interpretation (different document type).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: use this when you have a JID to retrieve the full text. It also gives specific guidance on when to set fresh=true (need latest status or suspected removal). However, it does not explicitly name alternatives or exclusions, though the JID-based purpose implicitly differentiates it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taiwan_law_progress取得法律之立法歷程AInspect
查立法院開放資料平台(data.ly.gov.tw 官方直連)取得法律的立法歷程:該法所有修法提案的提案人、連署人、議案狀態與官方關係文書(PDF/DOC)連結。補「修法沿革」上游的立法過程(誰提案、審到哪裡)。資料授權:政府資料開放授權條款第 1 版(與 CC-BY-4.0 相容)。
| Name | Required | Description | Default |
|---|---|---|---|
| law | Yes | 法律名稱(如:勞動基準法) | |
| max_bills | No | 回傳提案數上限(依最近會議日期排序) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description discloses the data source is official direct connection, lists returned data types, and provides data licensing (CC-BY-4.0 compatible). It clearly implies a read-only query, though it omits rate limits and error behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences in a single paragraph; each sentence adds value: core function, differentiation, license. Efficient and front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read tool with no output schema, the description covers data source, return items, use case, and license. It lacks response format details but that's acceptable given schema and low complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema descriptions cover 100% of parameters, so baseline 3 applies. The description adds context by saying '該法所有修法提案' which ties the law parameter to the all-proposals scope, but doesn't go beyond schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description uses specific verb '查' (query) with clear resource (立法院開放資料平台) and output scope (proposers, co-signers, status, document links). It also differentiates from sibling '修法沿革' by stating it supplements the upstream legislative process.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States the tool fills the gap '補「修法沿革」上游的立法過程' (supplementing the upstream of amendment history), implying it should be used when needing proposal-level details rather than final law versions. It doesn't explicitly name sibling tools but provides clear contextual trigger.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taiwan_law_versions取得法律歷次版本AInspect
查立法院開放資料平台(官方直連)取得法律的三讀通過紀錄與附帶決議:三讀屆會次、三讀通過條文 PDF、附帶決議內容。涵蓋近年(2023 起)三讀紀錄;完整修正沿革請併用 search_taiwan_laws 查全國法規資料庫。資料授權:政府資料開放授權條款第 1 版。
| Name | Required | Description | Default |
|---|---|---|---|
| law | Yes | 法律名稱(如:道路交通管理處罰條例) | |
| limit | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description discloses the data source (official Legislative Yuan platform), the time range (2023 onwards), the nature of output (third-reading PDFs and resolutions), and the data license. It does not discuss rate limits or authentication, but for a read-only query tool, this is adequate behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences, front-loaded with the primary action, and includes only relevant information (purpose, coverage/alternative, license). No redundant or tautological content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema or annotations, but the description explains the return content and the coverage limitation. It does not mention error handling or response structure, but given the simple two-parameter tool, it is reasonably complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description does not explain the parameters. The schema covers the law parameter but not limit, and the description adds no details about the limit parameter or how results are paginated. With 50% schema coverage, this is a gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool queries the Legislative Yuan Open Data Platform for third-reading passage records and attached resolutions, listing specific outputs (session number, PDF, resolutions). It also differentiates from the sibling search_taiwan_laws by noting that tool covers full amendment history.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly states that for complete amendment history, users should also use search_taiwan_laws, and clarifies the coverage begins in 2023. This tells the agent when to prefer this tool (recent third-reading data) and what alternative to use for full history.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_taiwan_pcode法規名稱轉 pcodeAInspect
將法規名稱(含常見簡稱如勞基法、個資法)轉換為全國法規資料庫 pcode 代碼,支援模糊比對與建議。
| Name | Required | Description | Default |
|---|---|---|---|
| law_name | Yes | 法規名稱,例如:民法、勞基法、消保法 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses fuzzy matching and suggestions, but does not explain output format, error behavior, or exactly how suggestions are returned. For a simple conversion tool, this is minimal but not severely lacking.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One sentence that is front-loaded and contains no redundant information. It immediately states the conversion purpose and includes useful examples without fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool, the description covers the core purpose and fuzzy matching, but without an output schema, the return format is not explained, and usage guidance is missing. It is adequate but leaves gaps for an agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema already describes the law_name parameter with examples. The description adds similar examples and mentions fuzzy matching, but does not add significant new parameter semantics beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb (轉換) and resource (法規名稱 to pcode), and distinguishes from siblings by focusing on pcode conversion rather than searching or retrieving laws. Examples of common abbreviations further clarify the scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when a pcode is needed from a law name, but does not explicitly state when to use this tool over alternatives like search_taiwan_laws or get_taiwan_law_versions. There is no mention of exclusions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_moj_interpretations搜尋法務部行政函釋AInspect
在法務部主管法規查詢系統(mojlaw.moj.gov.tw)以關鍵字搜尋行政函釋、法規諮詢意見、法律問題座談等文書,回傳發文字號、日期、要旨與官方網址。涵蓋範圍限法務部主管文書;即時查詢、不保存副本。
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| keyword | Yes | 關鍵字(例:消滅時效、借名登記) | |
| doc_types | No | 文書類型(可多選) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses real-time querying and that no copies are saved, and it identifies the source system. It also notes the coverage limit. However, it omits potential rate limits, error handling, or whether authentication is required. Still, the disclosed behaviors are meaningful and not redundant.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences: the first states the action and return fields, the second adds scope and behavioral attributes. Every sentence earns its place; no redundant information or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a search tool with three parameters and no output schema, the description adequately covers purpose, scope, behavior, and what is returned (document number, date, summary, URL). It lacks mention of result ordering, empty-result behavior, or pagination details, but these are not critical for basic use. The coverage is sufficient for an agent to invoke the tool appropriately.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 67% (keyword and doc_types have descriptions; limit does not). The description aligns with the schema by mentioning the document types and providing context, but it does not add new meaning to parameters. Limit remains undocumented in both schema and description, though its meaning is fairly obvious.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly specifies the action (search), the resource (法務部主管法規查詢系統), and the document types (行政函釋、法規諮詢意見、法律問題座談等), plus the return fields. The mention of '法務部' and the specific system URL distinguishes it from sibling tools like search_taiwan_interpretations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context: coverage is limited to MOJ-administered documents and it is a real-time query. This implies when to use the tool (MOJ administrative interpretations) but does not explicitly name alternatives or state when not to use it. The scope is clear enough for differentiation, yet exclusions are not spelled out.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_taiwan_bills搜尋立法院議案AInspect
搜尋立法院議案提案(官方直連 data.ly.gov.tw):以提案名稱關鍵字、提案人、屆期、議案狀態查詢。回傳議案編號、名稱、提案單位、提案人與連署人、議案狀態與官方關係文書 PDF/DOC 連結。資料授權:政府資料開放授權條款第 1 版。
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | 屆期(例:11) | |
| limit | No | ||
| keyword | No | 關鍵字(例:勞動基準法、最低工資) | |
| proposer | No | 提案人姓名 | |
| bill_status | No | 議案狀態(例:交付審查、三讀) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description is the sole source of behavioral transparency. It discloses the official data source and data license, and lists return fields, which is useful. However, it does not explicitly state read-only behavior, rate limits, or error handling, though '搜尋' (search) implies a safe read operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is compact, consisting of two sentences that are front-loaded with the core purpose and data source. It efficiently includes return fields and licensing without unnecessary verbosity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite no output schema, the description clearly lists the key return fields (bill number, name, unit, proposer, co-signers, status, PDF/DOC links), making the tool's output understandable. It lacks details about pagination or default behavior when no parameters are given, but these are partially covered by schema defaults.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 80%, so the baseline is 3. The description enumerates four of five parameters (keyword, proposer, term, bill status) as query criteria, but does not add significant new meaning beyond the schema's own descriptions. The 'limit' parameter is not mentioned in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states '搜尋立法院議案提案' (search Legislative Yuan bills) with a specific verb and resource. It also distinguishes itself from sibling tools by focusing on bills and mentioning the official data source (data.ly.gov.tw), unlike tools for laws, interpretations, or judgments.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description clearly implies when to use this tool (when searching for legislative bills) and the data source connection. It does not explicitly mention alternatives or exclusions, but the sibling list shows other tools for different legal documents, making the context clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_taiwan_interpretations搜尋大法官解釋/憲判字AInspect
列舉或全文搜尋釋字與憲判字(搜標題、爭點/案由與理由書全文)。每筆結果帶 case_id,可直接傳給 get_taiwan_interpretation。
| Name | Required | Description | Default |
|---|---|---|---|
| deep | No | 同時全文搜尋理由書(較慢);預設僅搜字號/標題/爭點索引 | |
| year | No | 篩選民國年度(僅憲判字),0=不篩選 | |
| keyword | No | 關鍵字(標題/字號/爭點/理由書全文匹配),例如:集會自由 | |
| number_to | No | 截止號次(含),0=不篩選 | |
| include_new | No | 包含新制憲判字 | |
| include_old | No | 包含舊制釋字 | |
| max_results | No | ||
| number_from | No | 起始號次(含),0=不篩選 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the search scope (including 理由書全文) and the fact that results carry case_id, but it fails to mention that full-text search of 理由書 is only performed when 'deep' is true, which could mislead an agent into thinking all searches cover the full text. It also does not disclose default limits or result ordering.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, dense sentence that is front-loaded with the key verb and resource, then specifies search scope and the case_id workflow. Every clause adds value, and there is no redundant or filler content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Without an output schema, the description should explain return values more thoroughly. It only states that each result includes case_id, leaving out other likely fields (e.g., title, date) and any pagination/ordering behavior. However, given the tool's search nature and the schema's parameter descriptions, it provides the critical link to retrieve full details, which is acceptable but not complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 88%, so the schema already documents most parameters. The description adds the useful linkage that each result has case_id for use with get_taiwan_interpretation, but provides no additional parameter-level semantics beyond what the schema states.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool '列舉或全文搜尋釋字與憲判字' (enumerate or full-text search interpretations and constitutional judgments), specifying the resource and action. It also details searchable fields (標題、爭點/案由與理由書全文) and notes that results include case_id for subsequent retrieval. While it does not explicitly distinguish from sibling tools, the resource type is specific enough to orient an agent.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description hints at a workflow: search using this tool, then pass the returned case_id to get_taiwan_interpretation. This clearly communicates when to use the tool (finding interpretations by keyword or listing) and how it connects to a sibling tool. However, it does not mention when not to use it or any alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_taiwan_judgments搜尋司法院公開裁判AInspect
即時使用司法院裁判書系統搜尋公開裁判,不保存裁判內容。結果按法院層級排序(最高→高等→地方),每筆含法院、案件類型、日期、案由。查特定案號請用 case_word + case_number(例:114年度上易字第503號 → case_word=上易, case_number=503, year_from=114),不要放進 query。main_text 以裁判主文措辭篩選輸贏方(例:「被告應給付」= 被告敗訴、「原告之訴駁回」= 原告敗訴、「上訴駁回」= 維持原審),可與 query 併用。若同時使用語意/概念式檢索工具,建議兩軌並行後以司法院 JID 合併去重,JID 皆命中者優先;沒有 JID 的候選結果僅供瀏覽,不得直接引為法院見解。
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | 法院名稱,例如:最高法院、臺灣臺北地方法院 | |
| limit | No | ||
| query | No | 全文檢索關鍵字,例如:預售屋 遲延交屋 | |
| year_to | No | 截止年度(民國年) | |
| case_type | No | ||
| case_word | No | 字別,例如:台上、上易、重訴 | |
| main_text | No | 裁判主文關鍵字(輸贏方篩選) | |
| year_from | No | 起始年度(民國年) | |
| case_number | No | 案號數字 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. It states that judgment content is not saved, results are sorted by court level, each entry contains specific fields, and explains JID deduplication behavior. This is rich contextual detail beyond the schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with purpose and every clause contributes value, but it runs as one dense paragraph. It could be more scannable with structured formatting (e.g., bullets), but it is not verbose or redundant.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite no output schema, the description specifies result fields, sorting order, and usage patterns for different search modes (case number, main_text, query, semantic merge). It sufficiently covers the complexity of a 9-parameter search tool with 0 required parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 78%, but the description adds substantial meaning beyond field descriptions: a concrete example for case_word/case_number/year_from, example mapping of main_text phrases to winners/losers, and the note that main_text can be combined with query. This goes well beyond the baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states it uses the Judicial Yuan judgment system to search public judgments, with a specific verb and resource. It distinguishes itself from siblings by describing result sorting by court level and the fields included, making it clear this is a search tool rather than a retrieval or interpretation tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit usage guidance: how to search a specific case number using case_word, case_number, and year_from, and to avoid putting the case number in query. It also explains main_text usage for filtering winners/losers and recommends merging with semantic search tools using JID, explicitly warning that results without JID should not be cited. This qualifies as explicit when/when-not guidance with alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_taiwan_laws查詢台灣現行法規AInspect
即時查詢法務部全國法規資料庫,回傳官方網址與相關條文。可附修法沿革。回答時必須附上 source_url,並提醒使用者核對最新版本。與其他法規檢索途徑併用時,請以 pcode/法律編號合併去重;無官方識別碼的候選結果不得作為引用依據。
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | 略過邊緣快取,強制向官方資料庫取得最新內容(例如剛公布的修正條文) | |
| limit | No | ||
| query | Yes | 法規名稱或法律爭點,例如:個人資料保護法 蒐集。支援常見簡稱(勞基法、個資法…) | |
| article_number | No | 可選條號,例如 19 或 247-1 | |
| include_history | No | 附上修法沿革(歷次公布/修正紀錄,來自本地官方資料快照) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the external data source, return content, and the requirement to include source_url and remind users to verify the latest version. It doesn't state whether it's read-only, authentication needs, or cache behavior (though the fresh parameter is in the schema).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four concise sentences, front-loaded with the purpose, then usage constraints. Every sentence adds value with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and 5 parameters, the description covers the main purpose, return values, and critical usage rules. It omits details like limit behavior or error cases, but is adequate for a search tool with a well-described schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 80%, so baseline is 3. The description mentions '可附修法沿革' which aligns with include_history, but adds no new parameter semantics beyond the schema. The limit parameter lacks description in both the schema and the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly specifies the verb '查詢' (query), resource '法務部全國法規資料庫' (MOJ national law database), and output ('回傳官方網址與相關條文'). It distinguishes from siblings by emphasizing real-time official data and requiring source_url/dedup rules.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides implicit usage context: '與其他法規檢索途徑併用時' indicates this is one of several legal search tools and instructs merging/dedup by pcode. However, it doesn't explicitly name alternative tools or state when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_taiwan_regulations搜尋法規名稱AInspect
在 11,700+ 部法規(法律+命令)名稱中做關鍵字搜尋,回傳法規名稱、pcode 與現行/已廢止狀態。離線資料快照,即時回應。
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | 分頁偏移,每頁 50 筆 | |
| keyword | Yes | 搜尋關鍵字,例如:勞動、消費、智慧財產 | |
| exclude_abolished | No | 排除已廢止法規 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full transparency burden. It discloses that the tool uses an offline data snapshot (implying data may not be real-time) and promises immediate response. It also clearly states it searches names only, not full text. These are useful behavioral traits beyond the basic 'search' verb.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loaded with the core action and scope. It efficiently packs return fields, data snapshot, and performance characteristics without any fluff. Every clause serves a purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple search tool, the description covers the essential aspects: search scope, return fields, data freshness, and performance. It does not explicitly describe pagination (but the schema does) or differentiate from siblings (covered in purpose/guidelines). Overall, it is sufficiently complete for an agent to understand what the tool does and what it returns.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema already provides complete descriptions for all three parameters (keyword, offset, exclude_abolished), with 100% schema description coverage. The description adds no extra parameter-level semantics, such as examples or edge cases, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific verb ('搜尋' / search) and resource ('法規名稱' / regulation names), with a scope of 11,700+ regulations (laws + commands) and defines the return fields (name, pcode, status). This distinguishes it from sibling search tools such as search_taiwan_laws or search_taiwan_interpretations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no explicit guidance on when to use this tool versus alternatives. It does not mention exclusions, prerequisites, or point to any sibling tool for different use cases. The agent must infer usage solely from the tool name and scope, which is not sufficient given the presence of closely related search tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Frequently Asked Questions
Claiming proves that you control a remote MCP connector. It does not move, proxy, or interrupt the server.
Open the connector listing, choose Claim ownership, and sign in to Glama.
Complete one verification method:
GitHub identity — fastest for official registry listings. For a namespace such as
io.github.alice/server, link the matching GitHub user or an account that owns the GitHub organization, then choose Claim with GitHub.HTTP challenge — works when you can deploy a public file. Generate a token, publish the exact JSON Glama shows at
/.well-known/glama.jsonon the same origin as the connector, then choose Check HTTP challenge.DNS challenge — works when you control DNS but cannot change the server. Generate a token, create the exact TXT record Glama shows, wait for it to propagate, then choose Check DNS challenge.
After verification, Glama sends a confirmation email and gives you access to listing details, thumbnails, health checks, and analytics. Keep the HTTP file or DNS record in place: Glama periodically checks it and ownership remains verified while the token is discoverable.
The HTTP ownership file has this structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"claim": "glama_claim_..."
}Claim tokens are opaque, stable, and bound to the signed-in Glama account. They contain no email address or other personal information. If Glama can no longer discover a verified HTTP or DNS token, it starts a seven-day grace period before removing claim-based access. Restore the same token during that period to keep ownership verified. Never publish an email address, Glama session token, GitHub token, or connector credential as ownership proof.
If verification fails, confirm that you copied the current token exactly. The HTTP file must be public, return valid JSON with a successful HTTP response, and stay on the connector's origin. DNS changes may need more time to propagate. A claim cannot transfer to a different origin or hostname: if the connector target changes, Glama starts the grace period and the new target must be claimed separately after the previous claim is released.
For a connector linked to the official MCP Registry, registry updates continue to replace its name, description, and URL by default. After claiming, open Manage connector and enable Use Glama listing details as the source of truth if edits made on Glama should be preserved. Categories and thumbnails are always managed on Glama; registry linkage and technical connection settings continue to sync.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
To improve your MCP server's ranking:
Claim ownership of the server listing
Complete the server profile with an accurate description and thumbnail
Provide a test profile so Glama can connect to and evaluate the server
Keep tool definitions clear and complete to earn a high Tool Definition Quality Score (TDQS)
Route real usage through the Glama Gateway; more recorded successful server uses also improve the ranking
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Connectors
Taiwan legal research: court judgments, statutes, and interpretations. 台灣判決、法條、函釋、釋字搜尋。
Thai legal search MCP — statutes, gazette, opinions, court cases, with checkable citations.
Task-oriented MCP for Indonesian law: search, resolve citations, read laws, and MK decisions.
Japan Law MCP — Japanese national laws & ordinances via the e-Gov Law API.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables searching and retrieving Taiwan judicial judgments, including full-text search, document details, PDF download, and legal term lookup via MCP tools.4MIT
- AlicenseAqualityDmaintenanceProvides AI assistants with access to Taiwan's public legal data, including court judgments, regulations, and constitutional court interpretations, via 8 MCP tools.8179MIT
- AlicenseNot gradedqualityDmaintenance一个优化过的台湾法规查询MCP服务器,提供高效的法规搜索、条文查询和关键字搜索功能,支持摘要模式减少token消耗。MIT
- FlicenseNot gradedqualityBmaintenanceEnables Chilean legal research via 15 MCP tools that search and cite official sources, retrieve full legal texts, perform hybrid semantic searches, and export results to Word or PDF.
Glama MCP Gateway
Add one secure layer between your agents and this server.
TDQS
Each tool targets a distinct legal source or action: laws, regulations, interpretations, judgments, MOJ documents, bills, legislative history, and intent analysis. Even similar tools like search_taiwan_laws vs search_taiwan_regulations are clearly separated by scope (full-text vs name-only) and descriptions provide sufficient boundary definitions.
All tool names follow a consistent verb_noun pattern with a domain prefix (taiwan or moj). The verbs are limited to get, search, and analyze, and the object nouns are unambiguous (e.g., interpretations, judgments, laws, regulations, bills). No mixed conventions or vague verbs.
14 tools is well-scoped for a comprehensive Taiwan legal research server, covering search, retrieval, citation extraction, intent routing, and legislative tracking. Each tool has a clear purpose and the count is within the ideal 3-15 range.
The tool surface covers the full lifecycle of legal research: finding and retrieving laws, regulations, interpretations, judgments, and bills; obtaining legislative history and versions; converting law names to PCODEs; analyzing user intent; and even extracting citations. No obvious gaps that would block an agent's legal research workflow.