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

Yargı & UYAP Mevzuat MCP Sunucusu

Mevzuat Icinde Ara

mevzuat_icinde_ara
Read-onlyIdempotent

Search a keyword inside a selected legislation's full text and return surrounding context snippets plus the total match count.

Instructions

Search a keyword inside a specific legislation's full text (mevzuat icinde ara). Takes the mevzuat_id from mevzuat_ara and returns context snippets around each occurrence of the keyword with a total match count.

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>",
      "anahtar_kelime": "<anahtar_kelime>"
    },
    "name": "mevzuat_icinde_ara"
  }
}

Input Schema

NameRequiredDescriptionDefault
mevzuat_idYesInternal document ID from mevzuat_ara results (e.g. '104695').
anahtar_kelimeYesKeyword to search inside the legislation text.
maksimum_eslesmeNoMaximum number of context snippets to return.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds genuinely useful behavior beyond that: it returns context snippets around each occurrence plus a total match count, which tells the agent what shape of result to expect from a keyword search.

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, no filler, with the core action stated first and the prerequisite and return shape following. Every clause carries information an agent needs.

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 a full output schema and complete parameter coverage, the description only needs to supply the workflow prerequisite and result shape, and it does both. It could add what happens when no match is found, but nothing critical for correct invocation 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 all three parameters are already documented, including that mevzuat_id is an internal document ID from mevzuat_ara results. The description restates that provenance but adds no new constraints such as how the keyword is matched or how maksimum_eslesme affects context length.

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 ('search a keyword inside a specific legislation's full text') and scopes it to a single document, which contrasts with the broader sibling mevzuat_ara. It stops short of explicitly naming the sibling it is not, leaving the contrast implicit rather than stated.

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?

Gives clear workflow context by stating the mevzuat_id must come from mevzuat_ara, so an agent knows the prerequisite step. It offers no exclusions or alternatives (e.g. fetching full article text via mevzuat_madde_getir instead), so guidance is contextual but not complete.

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