Skip to main content
Glama
JurisAtlas Türkiye

JurisAtlas Türkiye

Official
by jurisatlas

Get Bedesten Document Markdown

get_bedesten_document_markdown
Read-onlyIdempotent

Retrieve the full Markdown text of a Bedesten search result by its documentId to access exact legal content from UYAP Bedesten records for citation.

Instructions

Use this when retrieving full text of a Bedesten search result by documentId. Counts against the same Bedesten upstream rate limit as search; after 429, wait retry_after seconds before retrying.

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": {
      "documentId": "<documentId>"
    },
    "name": "get_bedesten_document_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesDocument ID from Bedesten search results

Output Schema

NameRequiredDescriptionDefault
mime_typeNoOriginal content type (İçerik Türü) (text/html or application/pdf)
documentIdYesThe document ID (Belge Kimliği) from Bedesten
source_urlYesThe source URL (Kaynak URL) of the document
markdown_contentNoThe decision content (Karar İçeriği) converted to Markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely new operational context: this call consumes the same Bedesten upstream rate limit as search, and on a 429 the agent should wait retry_after seconds. That is exactly the kind of throttling behavior annotations cannot express. It does not discuss failure modes for missing/invalid documentIds, keeping it from a 5.

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 sentences, both load-bearing: the first covers purpose and trigger, the second covers rate-limit and retry behavior. The usage condition is front-loaded and there is no filler or repetition.

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 present, the description does not need to explain return values, and it correctly focuses on the two things structured fields miss: when to call it and how it interacts with rate limiting. What remains unstated, such as behavior when documentId is invalid or not found, is minor for a read-only single-parameter fetch.

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 single parameter is documented as 'Document ID from Bedesten search results'. The description's mention of documentId restates the same provenance without adding format, length, or validity information. Baseline 3 applies when the schema already does the heavy lifting.

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 gives a specific verb and resource: retrieve the full text of a Bedesten search result identified by documentId. This separates it from the search tools, and the 'Bedesten' qualifier distinguishes it from the many sibling get_*_document_markdown tools covering other sources. It stops short of explicitly naming a sibling to contrast with, so it lands at 4 rather than 5.

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 of a Bedesten search result by documentId' establishes the trigger condition clearly: the agent should reach for this after a Bedesten search, when it has a documentId and needs the body. No explicit when-not or alternative routing is given, but the source-scoped phrasing makes misuse unlikely.

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