Skip to main content
Glama

tr_search_legislation

Read-onlyIdempotent

Search Turkish legislation by title or full text. Filter by legislation number and type to find laws, decrees, and regulations.

Instructions

Search Turkish legislation by title and/or full text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch phrase, e.g. ``"vergi"``.
mevzuat_noNoOptional legislation number filter.
baslikta_araNoSearch in title only (default True). Set False to search full text too.
mevzuat_turuNoOptional legislation type filter, e.g. ``"KANUN"``, ``"KHK"``, ``"YONETMELIK"``. See ``tr_list_legislation_types`` for the full list.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNo
queryNo
returnedYes
dataset_noteNoThis server covers Turkish legislation (Kanun/laws, KHK/decree-laws, Tuzuk/statutes, yonetmelik/regulations, Cumhurbaskanligi kararnameleri/presidential decrees, teblig/communiques and more) via the Adalet Bakanligi (Ministry of Justice) Bedesten API (bedesten.adalet.gov.tr/mevzuat), the keyless JSON backend behind the mevzuat.adalet.gov.tr search portal and a mirror of the canonical mevzuat.gov.tr legislation database. Turkey does NOT publish native ELI (/eli/) URIs - eli_uri carries the canonical, resolvable mevzuat.gov.tr URL for the document instead. Case law (Yargitay, Anayasa Mahkemesi) is NOT covered by this server: Yargitay's karararama system was unreachable at build time and the Anayasa Mahkemesi norm-kararlar-bilgi-bankasi is a client-rendered SPA with no discovered server API. See DISCOVERY.md.
total_matchedYes
Behavior3/5

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

Annotations already declare the tool as read-only, idempotent, and non-destructive, so the safety profile is clear. The description adds the title/full-text search distinction, which is useful but duplicates the parameter baslikta_ara. It omits other behavioral details like pagination, result limits, or search semantics (e.g., exact vs. fuzzy matching), but with annotations present, the added context is sufficient for a 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

The description is a single, tightly written sentence that front-loads the core purpose. There is no fluff or redundant information. Every word contributes to clarity, making it an exemplary concise description.

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?

Given the presence of an output schema and comprehensive parameter documentation, the description need not explain return values or parameter semantics. It covers the essential purpose, and the annotations cover side effects. However, it could benefit from a brief note on result behavior (e.g., returns matching legislation list) and perhaps a pointer to sibling tools for related operations, so it isn't a 5.

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%, with all 4 parameters having detailed descriptions. The tool description itself does not add any additional parameter semantics beyond what the schema already provides. Thus the baseline score of 3 applies, as 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?

The description clearly states the tool's function: 'Search Turkish legislation by title and/or full text.' This is a specific verb (search) with a specific resource (Turkish legislation) and search scope. It inherently distinguishes from siblings like tr_get_legislation_content and tr_get_legislation_toc, which focus on retrieval rather than search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. The description only states what it does, without mentioning when not to use it or directing users to sibling tools for other use cases. The only cross-reference is in the schema for mevzuat_turu, which points to a type-listing tool but doesn't provide usage context.

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/matematicsolutions/tr-eli-mcp'

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