Skip to main content
Glama

Tw Law Search

tw_law_search
Read-onlyIdempotent

Search Taiwan national statutes and the Constitution by TITLE keyword, Chinese or English — "個人資料保護法", "Personal Data Protection", "民法", "Civil Code". This is a title search, not full-text; it will not find a law by a phrase appearing only inside an article. Returns each match's pcode (for tw_law_info/tw_law_article), Chinese and English titles, law level, category, whether an official English translation exists, and the last amendment date. Source: Taiwan Ministry of Justice, Laws & Regulations Database.

Input Schema

NameRequiredDescriptionDefault
limitNoMax laws to return (1-50, default 10).
queryYesTitle keyword, Chinese or English, e.g. "個人資料保護法" or "Personal Data Protection Act".

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 declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds meaningful context beyond that: the data source (Taiwan Ministry of Justice), approximate result shape (pcode, titles, law level, category, English-translation flag, amendment date), and the key behavioral limitation that makes it fail on in-article phrases.

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?

Dense and front-loaded: the primary action and scope come first, then the limitation, then the return fields and source. Slightly long, and the return-field enumeration could be trimmed, but every sentence carries real information.

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?

No output schema exists, yet the description enumerates the returned fields and the source, and it discloses the title-only limitation that an agent must know to avoid misfiring. Nothing needed to invoke or interpret it correctly is missing.

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 coverage is 100% and both parameters already carry descriptions; the description's query examples largely duplicate the schema's e.g. values and add no syntax or disambiguation for 'limit'. Baseline 3 is appropriate when the schema does the heavy lifting.

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+resource (search Taiwan national statutes/Constitution) plus a scope qualifier (by TITLE keyword), and explicitly contrasts itself against full-text search. The mention of pcode being suitable for tw_law_info/tw_law_article further separates it from its closest siblings.

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?

Explicit when-to-use (title keyword, Chinese or English, with concrete examples) and when-not-to-use ('this is a title search, not full-text; it will not find a law by a phrase appearing only inside an article'). It also routes the agent forward by naming the sibling tools that consume the returned pcode.

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.