Skip to main content
Glama
JurisAtlas Türkiye

JurisAtlas Türkiye

Official
by jurisatlas

Get Spk Document Markdown

get_spk_document_markdown
Read-onlyIdempotent

Retrieve the full text of an SPK document—such as an ilke kararı, rehber, tebliğ, yönetmelik, or weekly bulletin—as paginated Markdown using its document ID from search results.

Instructions

Use this when retrieving full text of an SPK document (ilke kararı / rehber / tebliğ / yönetmelik / haftalık bülten) as paginated Markdown. Accepts document_id from search_spk_decisions results (e.g. 'spk:ilke:369', 'spk:rehber:12', 'spk:bulten:2026/38').

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": {
      "document_id": "<document_id>"
    },
    "name": "get_spk_document_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_idYesSPK document id from search_spk_decisions results, format 'spk:<ilke|rehber|mevzuat|bulten>:<id>' (e.g. 'spk:ilke:369', 'spk:bulten:2026/38').
page_numberNoPage number for paginated Markdown content (1-indexed). Default is 1 (first 5,000 characters).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety and repeatability are covered without the text. The description adds that results are paginated Markdown full text, which is useful, but it says nothing about behavior on an invalid or unknown document_id, truncation limits, or error semantics beyond what the schema states.

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, no filler, with the trigger condition placed first and the ID-provenance detail second. The parenthetical document-type and ID-format lists are dense but each element carries selection-relevant information.

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 and full annotation and schema coverage, the description need only explain the retrieval contract, which it does accurately. The one remaining gap is the absence of any note on how large documents span multiple pages or what happens at the end of the document.

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%, so both parameters are already documented, and the default page size of 5,000 characters lives in the schema rather than the description. The description's contribution is confirming the provenance of document_id ('from search_spk_decisions results') and showing format samples, which largely duplicates the schema examples; page_number gets no mention at all.

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 ('retrieving full text of an SPK document') plus the output form ('paginated Markdown'), and enumerates the document classes it covers (ilke kararı / rehber / tebliğ / yönetmelik / haftalık bülten). It also implicitly separates itself from search_spk_decisions by casting that tool as the producer of the document_id it consumes.

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?

The opening 'Use this when retrieving full text' gives a clear trigger condition, and the second sentence routes the agent to search_spk_decisions as the source of valid IDs. It stops short of explicit exclusions (e.g. when to prefer a sibling get_*_document_markdown or list_spk_bultenleri), so routing is strong but not airtight.

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