Skip to main content
Glama
lawchat-oss

mcp-taiwan-legal-db

by lawchat-oss

get_judgment

Retrieve the full text of a Taiwan court judgment by providing its JID or URL. Returns case details, main text, facts, reasoning, cited statutes and cases.

Instructions

取得單一裁判書全文。

支援兩種查詢方式:

  1. 以 JID 查詢(優先使用 Open Data API)

  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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jidNo
urlNo
Behavior3/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. It mentions data sources (Open Data API vs direct page load) but does not disclose behavioral traits like idempotency, authentication needs, or rate limits. The read-only nature is implied but not explicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured with clear sections for Args and Returns. Every sentence adds value, and the overall length is appropriate.

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?

Given no output schema, the description adequately lists return fields. The tool's complexity is moderate, and the description covers input methods, return structure, and source. It is complete for the intended use.

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 description coverage is 0%, but the description adds meaningful semantics: explains the format of jid (e.g., 'TPSV,104,台上,472,20150326,1') and url (e.g., printData.aspx), filling the gap left by 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 description clearly states the tool retrieves the full text of a single judgment, with specific verbs and resources. It distinguishes from sibling tools like search_judgments (which returns multiple results) by stating '單一裁判書全文'.

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?

The description provides guidance on two query methods (JID vs URL) and when to prefer each. However, it does not explicitly state when not to use the tool or mention alternatives beyond the sibling tools list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lawchat-oss/mcp-taiwan-legal-db'

If you have feedback or need assistance with the MCP directory API, please join our Discord server