Skip to main content
Glama

Search Within Mevzuat

search_within_mevzuat
Read-only

Searches articles within a specific Turkish law by keyword using AND, OR, and NOT operators. Use it for large laws instead of full-text retrieval.

Instructions

Bir mevzuat içinde madde bazında AND/OR/NOT araması. Büyük kanunlar için tam metin yerine bunu kullan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordYesÖrn. boşanma AND evlilik veya "boşanma davası"
mevzuat_idYessearch_mevzuat sonucu mevzuat_id
max_resultsNoEn fazla madde
case_sensitiveNoBüyük/küçük harf duyarlı

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds that queries support AND/OR/NOT and hints at a size-based use case, but says nothing about result shape or limits beyond what the schema carries.

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?

Two short sentences with zero waste, leading with the core purpose and following with the usage discriminator.

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?

With a full output schema, complete parameter descriptions, and annotations, the description only needs to frame purpose and usage, which it does. It could be slightly stronger by naming the cross-legislation sibling explicitly.

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 all four parameters are already documented in the schema. The description adds only the boolean-query capability, not syntax or field-level meaning beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (arama) and resource (mevzuat içinde madde) with scope (madde bazında, AND/OR/NOT). This distinguishes it from the coarser search_mevzuat and the full-text get_mevzuat_content siblings, though it never names them directly.

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?

'Büyük kanunlar için tam metin yerine bunu kullan' gives an explicit when-to-use condition (large laws) and steers away from a full-text alternative. No explicit when-not cases are stated, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.