Skip to main content
Glama
lawchat-oss

mcp-taiwan-legal-db

by lawchat-oss

get_agency_interpretation

Retrieve full text and metadata for a Taiwan administrative agency interpretation using an ID from search results, including related laws, notes, status, attachments, and source URL.

Instructions

取得單一行政函釋全文(主旨、說明;正本、副本受文者清單省略)。

Args: interpretation_id: search_agency_interpretations 回傳的 id(如「moj:FE393340」「mol:e:勞動條 3:1100130312」)

Returns: agency, doc_number, date, summary, full_text, related_laws(相關法條), notes(編註), status/status_note(官網的效力標示,見 search_agency_interpretations;沒有 status 表示官網沒標示), attachments, source_url

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
interpretation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does disclose notable traits: it states that recipient lists are omitted from the returned full text, and it explains the status/status_note semantics including what an absent status means. It does not cover error/not-found behavior, which is a minor gap for a read-only getter.

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 purpose in one sentence, then uses clear Args/Returns blocks. The Returns list is long but every field name is informative; nothing is redundant boilerplate.

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?

There is no output schema, and the description compensates by enumerating the return fields (agency, doc_number, date, summary, full_text, related_laws, notes, status, attachments, source_url). Combined with the parameter source and omission notes, an agent has enough to call and interpret the result, though error handling is unaddressed.

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?

Schema description coverage is 0%, so the description must compensate, and it does: it identifies the single parameter's origin (search_agency_interpretations output) and gives two concrete example id formats (moj:FE393340, mol:e:勞動條 3:1100130312). This is far more than the bare "string" schema provides.

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 (取得) and resource (單一行政函釋全文) and scopes it to a single document, which clearly distinguishes it from the sibling search_agency_interpretations. It also discloses what is deliberately omitted (正本、副本受文者清單), so an agent knows the exact nature of the returned text.

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 Args section explicitly ties the call to search_agency_interpretations by telling the agent the id comes from that tool's return value, which effectively documents the search-then-fetch workflow. It stops short of stating any when-not-to-use conditions or naming other alternatives such as get_interpretation.

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