Skip to main content
Glama

tra_luat

Search Vietnamese legal articles by keyword with full-text support, including diacriticless input. Filter by subject and get relevance-scored results.

Instructions

Tìm ĐIỀU LUẬT (luật thành văn) theo từ khóa (full-text, tìm cả khi gõ không dấu). Xếp hạng ƯU TIÊN khớp ở TIÊU ĐỀ; mỗi kết quả kèm 'diem' (độ liên quan). chu_de (tùy chọn): tên chủ đề để thu hẹp & tăng chính xác, vd 'Dân sự'. Phân trang: gioi_han tối đa 50; offset để lấy trang kế. LƯU Ý: câu càng NGẮN & đúng thuật ngữ càng chuẩn. Câu dài/mô tả sẽ cho điểm thấp và CÓ THỂ TRẢ RỖNG — khi đó rút gọn còn từ khóa cốt lõi (vd 'hợp đồng', 'thừa kế') hoặc thêm chu_de. Trả về {tong_so, offset, so_tra, con_nua, ket_qua[...]}; hoặc rỗng kèm goi_y nếu khớp quá yếu.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chu_deNo
offsetNo
tu_khoaYes
gioi_hanNo
Behavior4/5

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

With no annotations, the description discloses key behaviors: ranking priority (title matches get higher 'diem'), possibility of empty results with suggestions (goi_y) for weak matches, and that long queries may yield low scores. This provides good transparency for a search tool.

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?

Description is fairly concise and well-structured with bullet points and emphasis. Some Vietnamese phrasing is slightly verbose, but overall effective. Could be tightened slightly but not overly long.

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?

Lacking an output schema, the description includes the return structure (tong_so, offset, so_tra, con_nua, ket_qua) and mentions empty results with goi_y. It covers pagination and error behavior, making it comprehensive for a 4-parameter search tool.

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 description compensates fully. It explains all parameters: tu_khoa (keyword), chu_de (optional topic, example 'Dân sự'), gioi_han (max 50), offset for pagination. Also describes return structure, adding value beyond 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 searches for legal articles (ĐIỀU LUẬT) by keyword, specifying full-text search with diacritic-insensitive support. It differentiates from sibling tools like tra_an_le by emphasizing 'luật thành văn' (written law).

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?

Provides explicit guidance: use short, precise keywords; avoid long descriptions; if empty, reduce to core terms or add chu_de. Also explains pagination limits. However, it does not explicitly state when not to use this tool versus alternatives.

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/phuocnguyen1308-creator/vn-luat-mcp'

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