Skip to main content
Glama

查詢裁判引用與審級關係

get_taiwan_judgment_relations

查詢台灣法院裁判之間的「被引用、引用、審級」關係(只含法院裁判,不含法條、釋字)。適用問題:這則判決被多少判決引用、下級法院還在不在用、上級審或下級審是哪一份、同一案件的歷審。

使用前先用 search_taiwan_judgments 取得 jid。若使用者給的是案號(如 110年度台上字第5660號),用 court、year_from、year_to、case_word、case_number 參數搜尋;有多筆時請使用者選擇或全部列出。不可自行組 jid。

一次最多 20 個 jid。include=summary 只回次數與最新被引用日;include=full 另回清單,最多 3 個 jid。

解讀規則:

  1. citedByCount 是本站收錄判決中,寫出「法院名稱+案號」引用此判決的不同判決數(countScope=named_court_only)。它不代表見解被採納或推翻,不是權威分數,也不分爭點,所以不能直接當成某主題最常被引用的判決。次數含少量程序沿革描述,扣除快照後刪除的判決時也只做部分修正,屬近似值。

  2. 最高法院引用自己的判決時多寫「本院」,不計入次數(約漏掉 85%)。本工具能看出下級法院是否仍在引用,不能看出最高法院本身是否仍在引用。

  3. citedBy 清單只列最新 20 份(order=date_desc),shown 可能小於 count。

  4. upperNote=final_court 表示終審法院沒有上級審;not_found_in_corpus_does_not_mean_no_appeal 表示本站沒收錄上級審,不代表未上訴。上級審的裁判結果請用 get_taiwan_judgment 查主文。

  5. status:ok;deleted=已撤回;missing=無可用內容;not_in_corpus=本站未收錄,請告知資料涵蓋期間 corpus.monthsFrom 至 monthsThrough;invalid=格式錯誤。

  6. coverage:in_snapshot=有資料;no_relations=已收錄,但快照時沒有任何具名關係,可說截至 snapshot.builtAt 為 0;newer_than_snapshot=判決比引用快照新,無法判斷,不可說成 0。

  7. versionSubstituted=true 表示指定版本不存在,已改用同案的現行版本。 回答時請附 url 讓使用者查證,並註明資料日期 snapshot.builtAt。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jids": "<jids>"
    },
    "name": "get_taiwan_judgment_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
jidsYessearch_taiwan_judgments 回傳的 jid,例如 TPSM,110,台上,5660,20220427,1
includeNosummary:只回次數。full:另回清單,最多 3 個 jid。只傳 1 個 jid 時預設為 full

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and meets it: it caps input at 20 jids, distinguishes include=summary vs include=full return payloads, discloses that counts are approximations (partial correction after snapshot deletions) and excludes Supreme Court self-citations (~85% undercount), and enumerates status (deleted/missing/not_in_corpus/invalid) and coverage (in_snapshot/no_relations/newer_than_snapshot) states with how to phrase each. It also warns what the count must not be interpreted as (not an authority score, not issue-specific).

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?

Purpose and prerequisites are front-loaded, and the seven numbered interpretation rules are scannable and each carries distinct information. It is long and repeats a few schema facts (20-jid cap, include modes), which keeps it just short of a 5 for a tool of this complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a relational tool with no output schema, the description effectively documents the response shape (citedByCount, citedBy list with order and shown vs count, upperNote, status, coverage, versionSubstituted) and instructs the agent to cite url and snapshot.builtAt. Nothing an agent needs to call it correctly or to report results honestly is missing.

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 100% and the schema already documents both jids and include, so the baseline is 3; the description still adds real meaning by specifying jid provenance (must come from search_taiwan_judgments, format restriction enforced in the schema) and by spelling out the single-jid default-to-full behavior and the 3-jid cap on the returned list. It adds usage semantics rather than parameter syntax, which is the right division given the schema.

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?

The first sentence names a specific verb and resource (查詢…裁判之間的「被引用、引用、審級」關係) and explicitly scopes out non-judgment material (只含法院裁判,不含法條、釋字), which separates it from the interpretation/law siblings. It then lists the concrete questions it answers (citation counts, whether lower courts still cite, appellate chain), so an agent can recognize the use case without opening the schema.

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

Usage Guidelines5/5

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

It gives an explicit prerequisite (先用 search_taiwan_judgments 取得 jid), a concrete alternative path for case-number input via court/year_from/year_to/case_word/case_number, a prohibition (不可自行組 jid), handling for multi-hit ambiguity, and routes the appellate outcome question to get_taiwan_judgment. That is when-to-use, when-not, and named alternatives all in one block.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources