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

Yargı & UYAP Mevzuat MCP Sunucusu

Karar Atif Zinciri

karar_atif_zinciri
Read-onlyIdempotent

Traces a Turkish court decision's citation chain: extracts cited case-law numbers, resolves them via Bedesten, and returns document IDs for recursive follow-up; optionally finds incoming citations.

Instructions

Follows the precedent chain (atıf zinciri) of a Turkish court decision: fetches the decision's full text, extracts the case-law citations (esas/karar numbers), and resolves each cited decision against Bedesten, returning documentIds so the chain can be continued recursively. Optionally also finds incoming citations (decisions that cite the given decision). WARNING: each citation resolution costs one Bedesten search; a full run takes ~maks_atif+1 searches.

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": "karar_atif_zinciri"
  }
}

Input Schema

NameRequiredDescriptionDefault
maks_atifNoMaximum number of distinct citations to resolve (default 8; each costs one rate-limited Bedesten search).
documentIdYesDocument ID from ictihat_ara / ictihat_semantik_ara / search_bedesten_unified results (or a mevzuat.adalet.gov.tr/ictihat/... URL).
eslesme_limitiNoMaximum candidate matches to return per resolved citation.
atif_alanlari_araNoAlso search for decisions that may cite the given decision (matched by its karar no).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/openWorld annotations, the description discloses that the call fans out into multiple Bedesten searches, that each citation costs one search, and that a full run costs roughly maks_atif+1 searches. That cost/rate-limit warning is genuinely valuable and non-obvious. It could still say what happens when a citation fails to resolve or whether partial results are returned, which keeps it below 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?

Three sentences, front-loaded with the pipeline, then the optional behavior, then the cost warning last. Every sentence carries distinct information with no repetition of the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter, single-required-parameter tool with an output schema and full annotation coverage, the description covers the pipeline, the optional branch, and the cost model. Return values are handled by the output schema, and no essential calling information is missing.

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 the baseline is 3. The description adds only a little beyond the schema: it ties maks_atif to the total search count and frames documentId as the seed for recursive continuation, but the meaning of eslesme_limiti and atif_alanlari_ara is left to the schema.

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?

The description names a specific verb and resource ('Follows the precedent chain (atıf zinciri) of a Turkish court decision') and breaks the operation into concrete steps: fetch full text, extract esas/karar citations, resolve against Bedesten, return documentIds. This clearly separates it from the single-document get_* tools and from plain search siblings.

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?

It makes the use case explicit — tracing precedent forward recursively, with an opt-in for incoming citations — so an agent knows when this tool is the right shape of call. It stops short of naming an alternative (e.g. a plain search or single-document fetch) for the shallow case, so it is clear context rather than full when/when-not routing.

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