Skip to main content
Glama

Tw Law Article

tw_law_article
Read-onlyIdempotent

Full text of ONE article (條) of a Taiwan law, by pcode or title plus article number in any spelling, "2", "第 2 條", "Article 2", "第 6-1 條", "Article 6-1". Returns the Chinese text and, when the Ministry has published an official English translation of that law, the official English text of the SAME article, labelled official (never a machine translation), plus the chapter/section heading it falls under. A long law is never returned whole; use tw_law_toc to find article numbers, and call this once per article.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "民法",
      "article": "1"
    },
    "name": "tw_law_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoChinese or English law title, used when pcode is not known.
pcodeNoThe law's pcode (from tw_law_search or tw_law_info).
articleYesArticle number, any spelling: "2", "第 2 條", "Article 2", "6-1".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description goes further by disclosing what comes back: Chinese text, an official English translation of the same article only when the Ministry published one, explicitly never a machine translation, plus the chapter/section heading. It does not say what happens if the article number is not found or if both pcode and name are supplied, so not quite a 5.

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?

Three sentences, front-loaded with the core purpose, then return content, then the sibling routing hint. The article spelling examples are duplicated from the schema, which is minor redundancy but not harmful.

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?

There is no output schema, so the description carries the burden of explaining return values, and it does: Chinese text, conditional official English text, and the chapter/section heading. Combined with the explicit single-article scope and the toc pointer, an agent has everything needed to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so both the pcode provenance (from tw_law_search or tw_law_info) and the flexible article spellings are already documented in the schema. The description restates the same spelling variants and the pcode-or-title alternation without adding precedence rules or fallback behavior, so the baseline of 3 applies.

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?

"Full text of ONE article (條) of a Taiwan law" names a specific verb and resource, and the emphasis on ONE article plus the pcode/title+article addressing scheme makes the scope unmistakable. It is clearly separable from sibling lookup tools like tw_law_toc and tw_law_search.

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?

Explicitly states the alternative path: "A long law is never returned whole; use tw_law_toc to find article numbers, and call this once per article." That gives both the when-to-use and the when-not-to-use routing an agent needs.

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.