Skip to main content
Glama

Aturan.org — Indonesian Legal Retrieval

cari_pasal_terkait

Cari Pasal yang relevan secara semantik ketika alamat normanya belum diketahui.

Gunakan untuk mencari norma berdasarkan makna—misalnya syarat, kewajiban, larangan, tenggat, sanksi, hak, kewenangan, atau alat bukti—ketika nomor Pasal dan/atau regulasi yang memuat norma tersebut belum diketahui.

Jangan gunakan tool ini untuk menemukan kembali Pasal apabila regulasi dan nomor Pasalnya sudah diketahui. Untuk kasus seperti Pasal 34 UU Arbitrase, gunakan cari_judul_peraturan untuk memperoleh regulation_id lalu baca_isi_pasal secara langsung.

Hasil tool ini adalah semantic retrieval pada tingkat Pasal dan dapat langsung digunakan sebagai evidence untuk mengidentifikasi, membandingkan, mengutip, atau menganalisis norma yang relevan. Jangan membaca ulang hasil melalui baca_isi_pasal hanya karena Pasal tersebut akan dikutip, ditafsirkan, atau dijadikan dasar kesimpulan.

Gunakan baca_isi_pasal hanya apabila memang diperlukan pembacaan langsung berdasarkan regulation_id dan nomor Pasal yang sudah diketahui, misalnya karena pengguna secara eksplisit meminta Pasal tertentu atau terdapat alasan khusus untuk memeriksa kembali teks sumber.

Args: query: Pertanyaan atau topik hukum spesifik, WAJIB minimal 3 kata (1–2.000 karakter). top_k: Jumlah kandidat Pasal yang diminta, WAJIB antara 8 dan 20.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
top_kNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it does disclose the return semantics: semantic retrieval at Pasal level that can be used directly as evidence, with an explicit warning against reflexive re-reading via baca_isi_pasal. It omits finer behavioral traits such as error handling or behavior when candidates are weak, so it stops short of 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and usage are front-loaded well, but the definition is padded: the point about not re-reading results via baca_isi_pasal is made across two separate paragraphs, and the final paragraph largely repeats the routing already established in the second. Tightening the baca_isi_pasal caveat into one sentence would lose nothing.

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?

With an output schema present, the description need not explain return values, and it still covers the query semantics, the top_k bounds, the alternative tools, and the follow-up workflow. Nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate, and it does: query is a specific legal topic, mandatory, minimum 3 words, 1–2,000 characters; top_k is mandatory between 8 and 20. The query constraints are genuinely new (the schema declares no bounds for query), though top_k's 8–20 range merely restates the schema's min/max.

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: 'cari Pasal yang relevan secara semantik', and immediately scopes it to the case where the norm's address is unknown. It explicitly names the sibling it is not (cari_judul_peraturan, baca_isi_pasal), so an agent can distinguish it without opening any schema.

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?

Gives explicit when-to-use (unknown nomor Pasal/regulation, searching by meaning such as syarat, kewajiban, sanksi), when-NOT-to-use with a worked example ('Pasal 34 UU Arbitrase' → cari_judul_peraturan then baca_isi_pasal), and the routing back to baca_isi_pasal for direct reads. Nothing is left to inference.

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.

Resources