Skip to main content
Glama
mcp-taiwan-legal-db

mcp-taiwan-legal-db

by lawchat-oss

get_judgment

取得單一裁判書全文。

Instructions

取得單一裁判書全文。

支援兩種查詢方式:

  1. 以 JID 查詢(司法院裁判書系統 data.aspx)

  2. 以 URL 查詢(直接載入頁面)

Args: jid: 裁判書 JID(如「TPSV,104,台上,472,20150326,1」),從搜尋結果取得 url: 裁判書 URL(如 https://judgment.judicial.gov.tw/FJUD/printData.aspx?id=...)

Returns: 包含裁判書全文的字典:case_id, court, date, main_text, facts, reasoning, cited_statutes, cited_cases, full_text, source_url,以及 history(同一案件各審級裁判清單, 每筆含 desc、jid、url、pending_supreme_court)與 history_note。引用判決前應看 history: 後面還有上級審裁判時,要確認本判決是否已被廢棄或發回。

Input Schema

NameRequiredDescriptionDefault
jidNo
urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden and does substantial work: it enumerates the returned fields, explains the history/history_note structure, and warns about overturning risk. Gaps remain on error behavior (e.g., what happens if both jid and url are empty) and permissions.

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-loads the one-line purpose, then structures the two query modes and the return contract. Every section earns its place given the empty schema, though the Args/Returns blocks are somewhat verbose.

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?

For a retrieval tool with no output schema and no annotations, the description supplies both the output field list and behavioral caveats (history checking). The remaining gap is the required/precedence semantics of jid vs url.

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% (bare string fields with default ''), so the description must compensate and does: it gives a concrete JID example with format ('TPSV,104,台上,472,20150326,1') sourced from search results, and a URL example. It does not state whether one parameter is required or which wins when both are supplied.

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+resource: '取得單一裁判書全文' (retrieve full text of a single judgment). This is unambiguous and clearly distinguishes it from search-family siblings like search_judgments.

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 lays out the two query modes (JID vs URL) with the source system for each, and adds real usage advice: check history before citing because a later instance-level judgment may have overturned or remanded this one. It does not, however, say when to reach for this over get_precedent or after search_judgments.

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