{"serverId":"mcp-registry/io.github.hirosichen/taiwan-law-mcp","tools":[{"name":"analyze_legal_intent","fixed":{"name":"analyze_legal_intent","description":"將使用者輸入初步分為案例事實、法律問題或引註研究，並標示領域、隱私風險與建議檢索詞。不做法律結論。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["text"],"properties":{"text":{"type":"string","maxLength":12000,"minLength":3,"description":"使用者的案例事實或法律問題"}}},"annotations":{"readOnlyHint":true},"title":"分析台灣法律研究意圖"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":85,"tokensAfter":85},{"name":"get_moj_draft_announcements","fixed":{"name":"get_moj_draft_announcements","description":"取得法務部主管法規系統的法規草案預告清單（含官方網址）；可一併回傳近期法規訊息（修正條文、行政規則發布等）。涵蓋範圍限法務部。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"type":"integer","default":15,"maximum":50,"minimum":1},"include_all_news":{"type":"boolean","default":false,"description":"一併回傳近期所有法規訊息"}}},"annotations":{"readOnlyHint":true},"title":"法務部草案預告與最新法規訊息"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":102,"tokensAfter":102},{"name":"get_taiwan_interpretation","fixed":{"name":"get_taiwan_interpretation","description":"取得釋字（第 1-813 號）或憲判字（111 年起）內容，來自官方公告文書的本地快照，即時回應。預設回傳字號/日期/爭點/解釋文等精簡層；理由書與意見書需 opt-in：優先用 reasoning_keyword / opinions_keyword 取關鍵字片段（省 token），確有需要才用 include_* 取全文（超過 15000 字會截斷並警告）。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id"],"properties":{"case_id":{"type":"string","maxLength":40,"minLength":1,"description":"字號，例如：釋字第748號、釋字748、111年憲判字第1號、111憲判1"},"include_opinions":{"type":"boolean","default":false,"description":"回傳意見書全文"},"opinions_keyword":{"type":"string","default":"","maxLength":40,"description":"在意見書中搜尋關鍵字並回片段"},"include_reasoning":{"type":"boolean","default":false,"description":"回傳理由書全文"},"reasoning_keyword":{"type":"string","default":"","maxLength":40,"description":"在理由書中搜尋關鍵字並回片段（優先於 include_reasoning）"}}},"annotations":{"readOnlyHint":true},"title":"取得大法官解釋／憲法法庭裁判"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":234,"tokensAfter":234},{"name":"get_taiwan_interpretation_citations","fixed":{"name":"get_taiwan_interpretation_citations","description":"從釋字/憲判字理由書中抽取引用的其他釋字與憲判字字號（往前追溯），可附引用處前後 80 字片段。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["case_id"],"properties":{"case_id":{"type":"string","maxLength":40,"minLength":1,"description":"字號，格式同 get_taiwan_interpretation"},"include_context":{"type":"boolean","default":false,"description":"每個引用附上原文片段"}}},"annotations":{"readOnlyHint":true},"title":"大法官解釋引用關係"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":117,"tokensAfter":117},{"name":"get_taiwan_judgment","fixed":{"name":"get_taiwan_judgment","description":"依司法院 JID 取得裁判全文與官方網址。回應得經至多 6 小時邊緣快取（cached/retrieved_at 標示）；需最新狀態或裁判疑似已下架時，設 fresh=true 強制向官方重抓。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["jid"],"properties":{"jid":{"type":"string","maxLength":180,"minLength":8,"description":"司法院裁判書 JID"},"fresh":{"type":"boolean","default":false,"description":"略過邊緣快取，強制向司法院取得最新內容"}}},"annotations":{"readOnlyHint":true},"title":"取得司法院裁判書"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":118,"tokensAfter":118},{"name":"get_taiwan_law_progress","fixed":{"name":"get_taiwan_law_progress","description":"查立法院開放資料平台（data.ly.gov.tw 官方直連）取得法律的立法歷程：該法所有修法提案的提案人、連署人、議案狀態與官方關係文書（PDF/DOC）連結。補「修法沿革」上游的立法過程（誰提案、審到哪裡）。資料授權：政府資料開放授權條款第 1 版（與 CC-BY-4.0 相容）。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["law"],"properties":{"law":{"type":"string","maxLength":60,"minLength":2,"description":"法律名稱（如：勞動基準法）"},"max_bills":{"type":"integer","default":10,"maximum":30,"minimum":1,"description":"回傳提案數上限（依最近會議日期排序）"}}},"annotations":{"readOnlyHint":true},"title":"取得法律之立法歷程"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":139,"tokensAfter":139},{"name":"get_taiwan_law_versions","fixed":{"name":"get_taiwan_law_versions","description":"查立法院開放資料平台（官方直連）取得法律的三讀通過紀錄與附帶決議：三讀屆會次、三讀通過條文 PDF、附帶決議內容。涵蓋近年（2023 起）三讀紀錄；完整修正沿革請併用 search_taiwan_laws 查全國法規資料庫。資料授權：政府資料開放授權條款第 1 版。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["law"],"properties":{"law":{"type":"string","maxLength":60,"minLength":2,"description":"法律名稱（如：道路交通管理處罰條例）"},"limit":{"type":"integer","default":30,"maximum":100,"minimum":1}}},"annotations":{"readOnlyHint":true},"title":"取得法律歷次版本"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":127,"tokensAfter":127},{"name":"get_taiwan_pcode","fixed":{"name":"get_taiwan_pcode","description":"將法規名稱（含常見簡稱如勞基法、個資法）轉換為全國法規資料庫 pcode 代碼，支援模糊比對與建議。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["law_name"],"properties":{"law_name":{"type":"string","maxLength":60,"minLength":1,"description":"法規名稱，例如：民法、勞基法、消保法"}}},"annotations":{"readOnlyHint":true},"title":"法規名稱轉 pcode"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":87,"tokensAfter":87},{"name":"search_moj_interpretations","fixed":{"name":"search_moj_interpretations","description":"在法務部主管法規查詢系統（mojlaw.moj.gov.tw）以關鍵字搜尋行政函釋、法規諮詢意見、法律問題座談等文書，回傳發文字號、日期、要旨與官方網址。涵蓋範圍限法務部主管文書；即時查詢、不保存副本。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["keyword"],"properties":{"limit":{"type":"integer","default":10,"maximum":30,"minimum":1},"keyword":{"type":"string","maxLength":60,"minLength":2,"description":"關鍵字（例：消滅時效、借名登記）"},"doc_types":{"type":"array","items":{"enum":["行政函釋","法規","法規諮詢意見","法律問題座談","聲明異議決定書"],"type":"string"},"default":["行政函釋"],"description":"文書類型（可多選）"}}},"annotations":{"readOnlyHint":true},"title":"搜尋法務部行政函釋"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":162,"tokensAfter":162},{"name":"search_taiwan_bills","fixed":{"name":"search_taiwan_bills","description":"搜尋立法院議案提案（官方直連 data.ly.gov.tw）：以提案名稱關鍵字、提案人、屆期、議案狀態查詢。回傳議案編號、名稱、提案單位、提案人與連署人、議案狀態與官方關係文書 PDF/DOC 連結。資料授權：政府資料開放授權條款第 1 版。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"term":{"type":"integer","maximum":20,"minimum":1,"description":"屆期（例：11）"},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1},"keyword":{"type":"string","default":"","maxLength":60,"description":"關鍵字（例：勞動基準法、最低工資）"},"proposer":{"type":"string","default":"","maxLength":20,"description":"提案人姓名"},"bill_status":{"type":"string","default":"","maxLength":20,"description":"議案狀態（例：交付審查、三讀）"}}},"annotations":{"readOnlyHint":true},"title":"搜尋立法院議案"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":186,"tokensAfter":186},{"name":"search_taiwan_interpretations","fixed":{"name":"search_taiwan_interpretations","description":"列舉或全文搜尋釋字與憲判字（搜標題、爭點/案由與理由書全文）。每筆結果帶 case_id，可直接傳給 get_taiwan_interpretation。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"deep":{"type":"boolean","default":false,"description":"同時全文搜尋理由書(較慢);預設僅搜字號/標題/爭點索引"},"year":{"type":"integer","default":0,"maximum":9007199254740991,"minimum":0,"description":"篩選民國年度（僅憲判字），0=不篩選"},"keyword":{"type":"string","default":"","maxLength":40,"description":"關鍵字（標題/字號/爭點/理由書全文匹配），例如：集會自由"},"number_to":{"type":"integer","default":0,"maximum":9007199254740991,"minimum":0,"description":"截止號次（含），0=不篩選"},"include_new":{"type":"boolean","default":true,"description":"包含新制憲判字"},"include_old":{"type":"boolean","default":true,"description":"包含舊制釋字"},"max_results":{"type":"integer","default":30,"maximum":100,"minimum":1},"number_from":{"type":"integer","default":0,"maximum":9007199254740991,"minimum":0,"description":"起始號次（含），0=不篩選"}}},"annotations":{"readOnlyHint":true},"title":"搜尋大法官解釋／憲判字"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":271,"tokensAfter":271},{"name":"search_taiwan_judgments","fixed":{"name":"search_taiwan_judgments","description":"即時使用司法院裁判書系統搜尋公開裁判，不保存裁判內容。結果按法院層級排序（最高→高等→地方），每筆含法院、案件類型、日期、案由。查特定案號請用 case_word + case_number（例：114年度上易字第503號 → case_word=上易, case_number=503, year_from=114），不要放進 query。main_text 以裁判主文措辭篩選輸贏方（例：「被告應給付」= 被告敗訴、「原告之訴駁回」= 原告敗訴、「上訴駁回」= 維持原審），可與 query 併用。若同時使用語意／概念式檢索工具，建議兩軌並行後以司法院 JID 合併去重，JID 皆命中者優先；沒有 JID 的候選結果僅供瀏覽，不得直接引為法院見解。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"court":{"type":"string","maxLength":30,"description":"法院名稱，例如：最高法院、臺灣臺北地方法院"},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1},"query":{"type":"string","default":"","maxLength":128,"description":"全文檢索關鍵字，例如：預售屋 遲延交屋"},"year_to":{"type":"integer","maximum":200,"minimum":1,"description":"截止年度（民國年）"},"case_type":{"enum":["民事","刑事","行政","懲戒"],"type":"string"},"case_word":{"type":"string","maxLength":10,"description":"字別，例如：台上、上易、重訴"},"main_text":{"type":"string","maxLength":60,"description":"裁判主文關鍵字（輸贏方篩選）"},"year_from":{"type":"integer","maximum":200,"minimum":1,"description":"起始年度（民國年）"},"case_number":{"type":"string","maxLength":15,"description":"案號數字"}}},"annotations":{"readOnlyHint":true},"title":"搜尋司法院公開裁判"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":321,"tokensAfter":321},{"name":"search_taiwan_laws","fixed":{"name":"search_taiwan_laws","description":"即時查詢法務部全國法規資料庫，回傳官方網址與相關條文。可附修法沿革。回答時必須附上 source_url，並提醒使用者核對最新版本。與其他法規檢索途徑併用時，請以 pcode／法律編號合併去重；無官方識別碼的候選結果不得作為引用依據。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["query"],"properties":{"fresh":{"type":"boolean","default":false,"description":"略過邊緣快取，強制向官方資料庫取得最新內容（例如剛公布的修正條文）"},"limit":{"type":"integer","default":3,"maximum":5,"minimum":1},"query":{"type":"string","maxLength":120,"minLength":2,"description":"法規名稱或法律爭點，例如：個人資料保護法 蒐集。支援常見簡稱（勞基法、個資法…）"},"article_number":{"type":"string","maxLength":20,"description":"可選條號，例如 19 或 247-1"},"include_history":{"type":"boolean","default":false,"description":"附上修法沿革（歷次公布/修正紀錄，來自本地官方資料快照）"}}},"annotations":{"readOnlyHint":true},"title":"查詢台灣現行法規"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":205,"tokensAfter":205},{"name":"search_taiwan_regulations","fixed":{"name":"search_taiwan_regulations","description":"在 11,700+ 部法規（法律＋命令）名稱中做關鍵字搜尋，回傳法規名稱、pcode 與現行/已廢止狀態。離線資料快照，即時回應。","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["keyword"],"properties":{"offset":{"type":"integer","default":0,"maximum":9007199254740991,"minimum":0,"description":"分頁偏移，每頁 50 筆"},"keyword":{"type":"string","maxLength":40,"minLength":1,"description":"搜尋關鍵字，例如：勞動、消費、智慧財產"},"exclude_abolished":{"type":"boolean","default":false,"description":"排除已廢止法規"}}},"annotations":{"readOnlyHint":true},"title":"搜尋法規名稱"},"changes":[{"kind":"annotations","detail":"Added readOnlyHint: true (inferred from the name).","verify":true}],"tokensBefore":145,"tokensAfter":145}],"toolsChanged":14,"tokensSaved":0,"todo":[{"tool":"get_moj_draft_announcements","params":["limit"]},{"tool":"get_taiwan_law_versions","params":["limit"]},{"tool":"search_moj_interpretations","params":["limit"]},{"tool":"search_taiwan_bills","params":["limit"]},{"tool":"search_taiwan_interpretations","params":["max_results"]},{"tool":"search_taiwan_judgments","params":["limit","case_type"]},{"tool":"search_taiwan_laws","params":["limit"]}],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}