Skip to main content
Glama
JurisAtlas Türkiye

JurisAtlas Türkiye

Official
by jurisatlas

Get Kdk Document Markdown

get_kdk_document_markdown
Read-onlyIdempotent

Retrieve the full text of a Turkish Ombudsman (KDK) decision by document ID as paginated Markdown, with optional PDF fallback when OCR text is not ready.

Instructions

Use this when retrieving full text of a Turkish Ombudsman (KDK) decision. Returns paginated Markdown. Optionally pass the PDF info from search results (yayin_url, karar_tarihi) to enable PDF fallback when OCR is not ready.

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": {
      "evrak_id": "<evrak_id>"
    },
    "name": "get_kdk_document_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
evrak_idYesevrak_id (document id) from search_kdk_decisions results
yayin_urlNoOptional published PDF path (karaR_YAYIN_URL) from search results, used as fallback when OCR text is not ready.
page_numberNoPage number for paginated Markdown content (1-indexed). Default is 1 (first 5,000 characters).
karar_tarihiNoOptional decision date (karaR_TARIH) from search results, needed for the PDF download fallback.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world behavior, so the description's job is to add context. It does: pagination, Markdown output, and the non-obvious OCR-not-ready → PDF fallback behavior, which an agent could not infer from annotations. It says nothing about what happens when fallback also fails, keeping it at 4.

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?

Three tight sentences, front-loaded with the 'Use this when' trigger and the return format before the optional parameter advice. No filler, though the parenthetical parameter name list partially duplicates the schema.

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 an output schema, full parameter coverage, and rich annotations, the description only needs to supply purpose and edge-case guidance, which it does via the pagination and PDF-fallback notes. Missing only a note on failure/error behavior when neither OCR nor PDF is available.

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 coverage is 100%, so every parameter is already documented, and the schema descriptions independently explain yayin_url and karar_tarihi as fallback inputs. The description's note that these come 'from search results' and should be passed together adds only marginal meaning beyond that, so baseline 3 applies.

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 and resource ('retrieving full text of a Turkish Ombudsman (KDK) decision') and adds the return format ('paginated Markdown'). It never names the sibling search_kdk_decisions as the complement, though the schema hints at it, so differentiation is implicit rather than explicit.

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 retrieving full text' gives a clear usage trigger, and the second sentence explains the optional PDF-fallback path for when OCR is not ready. There is no explicit when-not or named alternative, which keeps it below a 5.

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