Ipsa Verba
v3.0.0Citation-safe Turkish legal research: court decisions and legislation from official sources.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_decisions
✅ PRIMARY, MANDATORY TOOL FOR ALL CASE-LAW / DECISION / MEVZUAT RESEARCH. For ANY question about court decisions, precedents, case law, or legislation you MUST call THIS tool first. It is the ONLY tool that retrieves real, current documents LIVE from the official source (online — e.g. Bedesten/Yargıtay, Mevzuat). HARD RULES — no exceptions, no interpretation: - Do NOT answer case-law questions from memory, training data, or web search. - Do NOT use search_local_corpus to FIND decisions — it searches ONLY the local cor…
| Parameter | Type | Description |
|---|---|---|
birimAdi | ||
court_types | ||
dil | ||
esas_no | ||
include_raw | boolean | |
include_snippets | boolean | |
karar_no | ||
karar_tarihi_end | ||
karar_tarihi_start | ||
limit | integer | |
page | integer | |
query | ||
sort_by | ||
source |
get_document
Fetch a single document by ID from the given source. Args: source: Source identifier. document_id: Document ID (must not be empty). include_raw: If True, include the raw upstream response in the output (debugging). Default: False (deduplicated output with single markdown text field). page_number: 1-indexed page number for long documents (>= 40 000 chars). Default 1 returns the first page. Long documents are split at paragraph boundaries…
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
source * | string | |
include_raw | boolean | |
page_number | integer |
search_legislation
Search legislation via the Mevzuat source. Use ``mevzuat_adi`` to search ONLY in titles (e.g. "kişisel veri" → KVKK surfaces). Use ``mevzuat_no`` for direct lookup by official number (e.g. "6698" → KVKK, "5237" → TCK) — never guess the number; if unsure use ``mevzuat_adi`` first. ``query`` does a body-text/concept search. Common abbreviations (TCK, HMK, KVKK, ...) in ``query`` are auto-routed to ``mevzuat_no``. Args: query: Search phrase (body-text). Auto-routes TCK/HMK/etc → number. sources: Source ID…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
document_id | ||
legislation_type | ||
limit | integer | |
mevzuat_adi | ||
mevzuat_no | ||
mevzuat_tur_list | ||
scope | string | |
sort_by | ||
sources |
mevzuat_korpus_ara
YEREL korpusta MADDE bazında arama (çevrimdışı, madde metinlerinde). mode: "hybrid" (varsayılan; BM25+anlam RRF), "lexical" (FTS5, kelime AND), "semantic" (ifade metinde geçmese de bulur). 0 sonuç "hüküm yok" DEMEK DEĞİL: korpus yalnız çekilmişi içerir, search_legislation çağır. mevzuat_no tek mevzuatla sınırlar (ör. "6098"). Sonuç: mevzuat_adi, madde_no, baslik, snippet, kaynak_url.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | |
mevzuat_no | string | |
mode | string |
mevzuat_madde_getir
Yerel korpustan tek maddenin TAM metni (çevrimdışı). madde_no "390", "12/A", "Geçici 1" kabul eder. Korpusta yoksa NOT_FOUND döner — uydurma, canlı get_legislation çağır. Aynı numara başka türde de varsa KANUN seçilir; tur="YONETMELIK" vb. ile diğeri. metin_eski=true ise metin günceli değil: uyari'yı oku.
| Parameter | Type | Description |
|---|---|---|
madde_no * | string | |
mevzuat_no * | string | |
tur | string |
mevzuat_degisiklik_haritasi
Bir değişiklik kanununun (ör. 7589, "12. yargı paketi") hangi mevzuatın hangi maddelerini değiştirdiği, yerel korpustan. Her madde için durum: islendi / yururlukte_islenmedi (korpus metni eski) / ileride_yururluge_girecek. Kanunun kendi geçici maddeleri ayrı döner; tam metin: mevzuat_madde_getir(kanun_no, "Geçici 1"). korpusta_izi_olmayan_maddeler "değişiklik yok" DEMEK DEĞİLDİR.
| Parameter | Type | Description |
|---|---|---|
kanun_no * | string |
research_topic
Search sources, fetch documents, and build a research bundle. Returns bundle metadata with query, sources, result_count, fetched_count, content_status_summary, citation_safe_count, generated_files, warnings, and recommended_next_steps.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
fetch_count | integer | |
filters | ||
output_dir | ||
sources |
search_local_corpus
Concept DISCOVERY over the local corpus. Searches the local corpus (decisions already fetched this session or via the corpus crawl) for a legal CONCEPT when the exact wording is unknown. Each result carries ``related_quotes`` — matched passages — so you can spot relevant precedent without fetching every full text. Roles are complementary: THIS tool = DISCOVERY over the local corpus; ``search_decisions`` = live CURRENT search + citation verification. The corpus may lag; always confirm any decision you cite with ``search_deci…
| Parameter | Type | Description |
|---|---|---|
query * | string | |
chamber | ||
content_status | ||
court | ||
date | ||
document_id | ||
draft_usable | ||
esas_no | ||
filters | ||
karar_no | ||
limit | integer | |
mode | string | |
provider | ||
quote_usable | ||
semantic_query | ||
sort | string | |
source |
get_legislation
Get legislation content from the Mevzuat source. Args: document_id: Mevzuat document ID. source: Source ID (default: "mevzuat"). part: 'document' (default, full text), 'article_tree' the part/section/article tree, 'gerekce' the rationale. page_number: page of part='document' (40 000 chars/page). Returns: Dict for the requested part; 'document' also carries current_page/total_pages/total_chars.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
page_number | integer | |
part | string | |
source |
export_document
Unified document export: DOCX, UDF, PDF, plain text, or bundle. Args: format: 'docx' (default), 'udf', 'pdf', 'plain', 'bundle', or 'capabilities' (returns supported formats). draft_path: Path to draft.md (for docx/plain). draft_json: Draft metadata dict (for docx). text: Text to write (for udf; plain text — petition formatting such as bold title/labels/headings is applied automatically). out_path: Output file path (for docx/udf/plain). out_dir: Output directory (for bundle)…
| Parameter | Type | Description |
|---|---|---|
body | ||
documents | ||
docx_path | ||
draft_dir | ||
draft_json | ||
draft_path | ||
format | string | |
out_dir | ||
out_path | ||
pack_dir | ||
text | ||
title | ||
title_centered | boolean | |
udf_path |
load_extended_tools
Load extra tool categories into the running MCP server (no restart). Core profile registers 12 tools. Everything else waits here; load a category when the task needs it. Categories: drafting — citation_check (atif dogrula/bicimlendir/guvenlik), prepare_petition (dilekce input_pack/outline/taslak) files — read_legal_file (UDF/PDF dosyasi oku) meta — list_sources (kaynaklar, birim kodlari, mevzuat turleri), legal_research_guide (arama/Solr/daire/atif rehberi) legislation…
| Parameter | Type | Description |
|---|---|---|
categories * | array |
health_check
Run a consolidated health check across sources, breakers, indexes and cron jobs. Returns overall status plus source smoke summary, circuit breaker states, search index status and ``scheduled_jobs`` — the last run of the daily crawl, weekly legislation update, monthly merge and the legislation semantic index (read from their log files). ``overall`` is "degraded" when a job is late or ended with rc != 0.