取得司法院裁判書
get_taiwan_judgment依司法院 JID 取得裁判全文與官方網址。回應得經至多 6 小時邊緣快取(cached/retrieved_at 標示);需最新狀態或裁判疑似已下架時,設 fresh=true 強制向官方重抓。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | 司法院裁判書 JID | |
| fresh | No | 略過邊緣快取,強制向司法院取得最新內容 |
get_taiwan_judgment依司法院 JID 取得裁判全文與官方網址。回應得經至多 6 小時邊緣快取(cached/retrieved_at 標示);需最新狀態或裁判疑似已下架時,設 fresh=true 強制向官方重抓。
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | 司法院裁判書 JID | |
| fresh | No | 略過邊緣快取,強制向司法院取得最新內容 |
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.
Add one secure layer between your agents and this server.
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.