Skip to main content
Glama
saidsurucu

Mevzuat MCP

by saidsurucu

search_within_cbyonetmelik

Search articles of a Turkish Presidential Regulation by keyword or natural language query. Supports Boolean operators and semantic search.

Instructions

Search within a specific Presidential Regulation's articles using keyword or semantic search.

Modes:

  • semantic=False (default): Keyword search with Boolean operators (AND/OR/NOT, uppercase required)

  • semantic=True: Natural language semantic search using AI embeddings (requires OPENROUTER_API_KEY)

Keyword examples: "taşınır AND mal", '"ihale kanunu"', "kamu OR devlet" Semantic examples: "taşınır mal yönetimi ve zimmet işlemleri", "kamu ihale süreçleri"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mevzuat_noYesThe Presidential Regulation number to search within (e.g., '10453', '9014')
keywordYesSearch query. For keyword mode: supports AND/OR/NOT operators (uppercase). For semantic mode: use natural language.
mevzuat_tertipNoRegulation series from search results (typically '5')5
case_sensitiveNoWhether to match case (false = case-insensitive, default). Only used in keyword mode.
max_resultsNoMaximum number of matching articles to return (1-50)
semanticNoTrue: semantic search (natural language query, requires OPENROUTER_API_KEY). False: keyword search (Boolean operators AND/OR/NOT).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses behavioral traits such as the two search modes, requirement for OPENROUTER_API_KEY in semantic mode, uppercase Boolean operators, case sensitivity only in keyword mode, and result limits (1-50). Minor omission: no mention of error behavior if API key is missing.

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?

The description is concise: two opening sentences define purpose, followed by a clear bullet-style listing of modes with examples. Every sentence adds value, and the structure is front-loaded with essential 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?

Given the tool's moderate complexity (6 params, output schema), the description covers the core functionality well. It explains modes and parameter usage, but does not address error scenarios (e.g., invalid mevzuat_no, missing API key) or specify that output schema details exist. Minor gaps prevent a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds value by clarifying that Boolean operators must be uppercase, providing concrete examples for both modes, and specifying that case_sensitive only applies in keyword mode. This enhances the schema descriptions.

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 clearly states the tool's purpose: search within a specific Presidential Regulation's articles using keyword or semantic search. It specifies the resource (Presidential Regulation articles) and distinguishes from siblings like search_within_cbgenelge or search_within_kanun by naming the regulation type.

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

Usage Guidelines3/5

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

The description explains when to use keyword vs semantic modes, but does not explicitly guide when to choose this tool over sibling tools for different regulation types. It assumes the agent knows that this tool is for 'cbyonetmelik'.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saidsurucu/mevzuat-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server