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

Yargı & UYAP Mevzuat MCP Sunucusu

Mevzuat Madde Agaci

mevzuat_madde_agaci
Read-onlyIdempotent

Fetch a Turkish legislation document's article tree by mevzuat_id to list chapters and articles with maddeId and maddeNo, so you can select and retrieve specific articles.

Instructions

Retrieve the article tree (table of contents / madde ağacı) of a Turkish legislation document (kanun, yönetmelik, tebliğ) using its mevzuat_id from mevzuat_ara. Returns chapters and articles with their maddeId and maddeNo so you can fetch specific articles via mevzuat_madde_getir.

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": {
      "mevzuat_id": "<mevzuat_id>"
    },
    "name": "mevzuat_madde_agaci"
  }
}

Input Schema

NameRequiredDescriptionDefault
mevzuat_idYesInternal document ID from mevzuat_ara results (e.g. '345492').

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered; the description adds that the result is a structural tree of chapters and articles keyed by maddeId and maddeNo. It does not discuss behavior for invalid or inaccessible ids, nor whether large legislation trees are truncated, but with annotations and an output schema present this is a solid addition.

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 tight sentences with no filler: the retrieval action and its scope come first, followed by the return shape and the hand-off to the sibling. Nothing could be removed without losing routing 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 one fully documented required parameter, annotations, and an output schema, the description supplies everything needed to call the tool and to know what to do with the result. The only omission is edge-case behavior (nonexistent id, documents without a chapter hierarchy), which is minor given the structured fields already present.

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's schema text already says 'Internal document ID from mevzuat_ara results', which the description largely restates. The mention that the id identifies kanun/yönetmelik/tebliğ documents adds marginal context but no new syntax or format guidance beyond 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?

States a specific verb (retrieve) and resource (article tree / table of contents of a Turkish legislation document) and enumerates the covered document types (kanun, yönetmelik, tebliğ). It is clearly separable from mevzuat_madde_getir (fetches a single article) and mevzuat_ara (search) because the description places it between them in the workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both the prerequisite (obtain mevzuat_id from mevzuat_ara) and the follow-up action (fetch specific articles via mevzuat_madde_getir), so the agent knows exactly where this tool sits relative to its siblings. That is explicit when-to-use and alternative routing rather than inferred guidance.

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