Skip to main content
Glama
Yargı & UYAP Mevzuat MCP Sunucusu

Yargı & UYAP Mevzuat MCP Sunucusu

Search Bedesten Unified

search_bedesten_unified
Read-onlyIdempotent

Search Turkish court decisions from Yargıtay, Danıştay, local, appeals, and KYB via Bedesten, filtering by court type, chamber, and date to find relevant case records.

Instructions

Use this for Turkish court decision records from Yargıtay, Danıştay, Local Courts, Appeals Courts, and KYB via Bedesten. Prefer narrow court_types over all courts. pageSize is intentionally fixed to 10 results per page. Bedesten is upstream rate-limited; avoid parallel repeated calls and wait retry_after seconds after 429 responses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "phrase": "<phrase>"
    },
    "name": "search_bedesten_unified"
  }
}

Input Schema

NameRequiredDescriptionDefault
phraseYesSearch query in Turkish. SUPPORTED OPERATORS: • Simple: "mülkiyet hakkı" (finds both words) • Exact phrase: ""mülkiyet hakkı"" (finds exact phrase) • Required term: "+mülkiyet hakkı" (must contain mülkiyet) • Exclude term: "mülkiyet -kira" (contains mülkiyet but not kira) • Boolean AND: "mülkiyet AND hak" (both terms required) • Boolean OR: "mülkiyet OR tapu" (either term acceptable) • Boolean NOT: "mülkiyet NOT satış" (contains mülkiyet but not satış) NOTE: Wildcards (*,?), regex patterns (/regex/), fuzzy search (~), and proximity search are NOT supported. For best results, use exact phrases with quotes for legal terms.
birimAdiNo Chamber filter (optional). Abbreviated values with Turkish names: • Yargıtay: H1-H23 (1-23. Hukuk Dairesi), C1-C23 (1-23. Ceza Dairesi), HGK (Hukuk Genel Kurulu), CGK (Ceza Genel Kurulu), BGK (Büyük Genel Kurulu), HBK (Hukuk Daireleri Başkanlar Kurulu), CBK (Ceza Daireleri Başkanlar Kurulu) • Danıştay: D1-D17 (1-17. Daire), DBGK (Büyük Gen.Kur.), IDDK (İdare Dava Daireleri Kurulu), VDDK (Vergi Dava Daireleri Kurulu), IBK (İçtihatları Birleştirme Kurulu), IIK (İdari İşler Kurulu), DBK (Başkanlar Kurulu), AYIM (Askeri Yüksek İdare Mahkemesi), AYIM1-3 (Askeri Yüksek İdare Mahkemesi 1-3. Daire) ALL
pageNumberNoPage number. Each page returns 10 results; pageSize is fixed by the server.
court_typesNoCourt types: YARGITAYKARARI, DANISTAYKARAR, YERELHUKUK, ISTINAFHUKUK, KYB
kararTarihiEndNoEnd date (ISO 8601 format)
kararTarihiStartNoStart date (ISO 8601 format)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world behavior, yet the description still adds real operational context: a hard 10-result page-size cap, upstream rate limiting at Bedesten, a directive to avoid parallel repeated calls, and a 429/retry_after recovery instruction. This is genuinely useful behavior beyond the annotations, though it says nothing about result caps, totals, or truncation limits.

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?

Four short sentences, front-loaded with the scope statement, with zero filler and each sentence carrying a distinct point (scope, filtering preference, pagination cap, rate-limit handling). The page-size sentence is partially redundant with the schema, keeping it just below top marks.

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 annotations covering the safety profile, an output schema handling return values, and full schema coverage for all six parameters, the description needs mainly to establish scope and operational constraints, which it does. The only gaps are the absence of an explicit boundary against sibling search tools and no mention of expected result volume.

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% and the phrase/birimAdi/date parameters are already richly documented. The description's pageSize note duplicates what the pageNumber schema field already says ('Each page returns 10 results; pageSize is fixed by the server'); only 'Prefer narrow court_types over all courts' adds meaning beyond the schema, which is marginal.

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?

The description states a concrete resource scope: Turkish court decision records from Yargıtay, Danıştay, Local Courts, Appeals Courts, and KYB via Bedesten. Naming the covered court systems implicitly separates it from the Anayasa/Sayıştay search siblings, but no sibling is named explicitly as an alternative, so the differentiation is inferred rather than stated.

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

Usage Guidelines3/5

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

It gives a clear when-to-use context ('Use this for Turkish court decision records from...') and a usage preference ('Prefer narrow court_types over all courts'), plus operational guidance about avoiding parallel calls. However, it never states when NOT to use this tool or which sibling handles Anayasa/Sayıştay queries, so routing between the family of search tools is only implied.

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