Skip to main content
Glama
oldbear-meme

mcp-taiwan-legal-db-integrated

by oldbear-meme

get_legal_interpretation

Retrieve full text of a specific legal interpretation from Taiwan's Judicial Yuan database using its type and ID. Ideal for accessing complete court judgments, constitutional interpretations, and more.

Instructions

取得司法院法令判解系統單筆全文。

從 search_legal_interpretations 結果的 ty 和 id 欄位帶入。

ty 代碼對應: JCC=憲法法庭裁判、CD=大法官解釋、T=大法官不受理決議、C=司法解釋、 J2=大法庭專區、J1=停止適用之判例、J=精選裁判、D=決議、Q=法律問題、E=行政函釋

Args: ty: 資料類型代碼(從 search_legal_interpretations 結果取得) doc_id: 文件 ID(從 search_legal_interpretations 結果取得)

Returns: {success, ty, id, doc_type, title, full_text, url, cached, timestamp}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tyYes
doc_idYes
Behavior4/5

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

Despite no annotations, the description discloses the return structure (success, ty, id, doc_type, title, full_text, url, cached, timestamp) and explains ty codes. It indicates a read operation and does not hide any behavioral traits.

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 well-structured with a clear first sentence, a usage instruction, a formatted code mapping, and explicit Args/Returns sections. No extra words.

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 simple retrieval tool with two parameters and no output schema, the description covers purpose, usage context, parameter meaning, and return fields. It is fully sufficient for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description fully compensates by explaining that ty and doc_id come from search results and providing a complete translation table for ty codes.

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 explicitly states '取得司法院法令判解系統單筆全文' (Get a single full text from the Judicial Yuan law interpretation system), clearly indicating the tool's function as a retrieval tool for a single item. It also specifies the prerequisite of using search_legal_interpretations, distinguishing its purpose from sibling tools.

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 clearly instructs to use parameters from search_legal_interpretations results, providing explicit when-to-use context. It also includes a mapping of ty codes, but does not explicitly contrast with sibling tools or say when not to use it.

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/oldbear-meme/mcp-taiwan-legal-db-integrated'

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