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

Yargı & UYAP Mevzuat MCP Sunucusu

Search Yargitay Official

search_yargitay_official
Read-onlyIdempotent

Search Yargıtay (Turkish Court of Cassation) decisions via the official REST API by keywords, chamber, case/decision numbers, or dates; get outcomes, snippets, and official decision URLs.

Instructions

Use this when searching Yargıtay (Turkish Court of Cassation) decisions directly on the renewed official Yargıtay REST API (karararama-services.yargitay.gov.tr, 9.96M+ decisions). Supports keyword search, chamber filtering, Esas/Karar year and number ranges, date range, and returns BOZMA/ONAMA outcome types, case subjects, snippets, and official karararama.yargitay.gov.tr URLs.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_yargitay_official"
  }
}

Input Schema

NameRequiredDescriptionDefault
esasYilNoCase year (YYYY), e.g. '2026'.
kararYilNoDecision year (YYYY), e.g. '2026'.
pageSizeNoNumber of results per page (1-50).
sortOrderNoSort order: 'tarih_desc' (newest first) or 'relevance'.tarih_desc
pageNumberNoPage number (1-indexed).
bitisTarihiNoEnd decision date (YYYY-MM-DD or DD.MM.YYYY).
arananKelimeNoTurkish search keywords (min 3 chars unless filtering by esas/karar/chamber).
esasIlkSiraNoNoStart case sequence number.
esasSonSiraNoNoEnd case sequence number.
kararIlkSiraNoNoStart decision sequence number.
kararSonSiraNoNoEnd decision sequence number.
baslangicTarihiNoStart decision date (YYYY-MM-DD or DD.MM.YYYY).
birimYrgKurulDaireNoChamber filter (ALL or specific chamber like '3. Hukuk Dairesi', 'Hukuk Genel Kurulu').ALL

Output Schema

NameRequiredDescriptionDefault
decisionsYes
page_sizeYes
total_recordsYes
requested_pageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent, so the safety profile is covered. The description adds genuinely useful non-schema context: the corpus size (9.96M+ decisions), the backing host, and the kinds of records returned (BOZMA/ONAMA outcomes, subjects, snippets, official URLs). It stops short of discussing pagination limits (pageSize max 50) or rate/availability behavior.

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?

Two sentences, front-loaded with the usage trigger, then capabilities. Dense but tight; the parenthetical corpus count and host earn their space by distinguishing the source. Slightly list-heavy but no filler.

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 13 optional parameters, full schema coverage, annotations, and an output schema, the description covers what the tool is, where data comes from, and roughly what comes back. An agent can call it confidently; only source-alternative routing is left implicit.

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 every parameter is already documented, including the min-3-char keyword rule and date formats. The description's enumeration of keyword/chamber/Esas-Karar/date filters restates the schema rather than adding syntax or precedence guidance, so baseline 3 applies.

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 ('searching Yargıtay (Turkish Court of Cassation) decisions') and names the exact source API and host, which cleanly separates it from the other court-database siblings (Anayasa, BDDK, Danıştay-style unified tools) and from the document-retrieval sibling.

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?

'Use this when searching Yargıtay decisions directly on the renewed official Yargıtay REST API' gives a clear when-to-use trigger and pins the source to the official renewed API. It does not explicitly state when-not to use it or name an alternative for the same corpus, so it falls short of full routing guidance.

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