Skip to main content
Glama
saidsurucu

İhale MCP

by saidsurucu

search_direct_procurements

Search direct procurement notices from EKAP to find opportunities by criteria like type, location, status, and dates for bidding participation.

Instructions

Search Direct Procurements (Doğrudan Temin) via EKAP (YeniIhaleAramaData.ashx, metot=dtAra). Returns: dt_no, title, authority, type, due_datetime, announcement_date, province_plate, has_announcement, has_document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
authority_idNoAuthority token (İdare ID token) from idareAra
cookiesNoCookie header (Çerez) for EKAP session (optional)
date_endNoOffer due end (Teklif tarihi bitişi) YYYY-MM-DD
date_startNoOffer due start (Teklif tarihi başlangıcı) YYYY-MM-DD
dt_noNoDT reference (DT No) combined, e.g., 25DT1493794
dt_numberNoDT number (DT Sayı), e.g., 1493794
dt_typeNoDT type (Doğrudan Temin Türü): 1=Goods (Mal), 2=Construction (Yapım), 3=Service (Hizmet), 4=Consultancy (Danışmanlık)
e_price_offerNoE-Price Offer (E-Fiyat Teklifi) eihale
order_byNoSort key (Sıralama): e.g., 10=DT No desc
page_indexNoPage index (Sayfa indeksi) 1-n
parent_authority_codeNoParent Authority (Bağlı Olduğu Üst İdare) ustIdareKod
province_nameNoAuthority province name (İl adı), e.g., 'Antalya'
province_plateNoAuthority province plate (İl plaka kodu) 1-81. Accepts integer or string.
scope_idNoScope ID (Doğrudan Temin Kapsamı): 101/102/103
scope_textNoScope text (Kapsam), e.g., 'Within Law 4734 (4734 Kapsamında)'
search_textNoSearch term for Direct Procurement (Doğrudan Temin)
status_idNoStatus ID (Doğrudan Temin Durumu): 202,3,4,5,15
status_textNoStatus text (Durum), e.g., 'Bids Under Evaluation (Teklifler Değerlendiriliyor)'
top_authority_codeNoTop Authority (Bağlı Olduğu En Üst İdare) enUstIdareKod
yearNoDT year (Yıl), e.g., 2025 (API uses two digits)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full burden but lacks critical behavioral details. It mentions the API endpoint but doesn't disclose whether this is a read-only operation, potential rate limits, authentication requirements beyond optional cookies, error handling, or pagination behavior (despite having page_index parameter). The description adds minimal context beyond the basic function.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured in two sentences: one stating the search function and endpoint, another listing return fields. There's no wasted text, though it could be slightly more front-loaded with key usage context. Every sentence provides concrete information about the tool's operation.

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

Completeness3/5

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

Given the complex 20-parameter search tool with no annotations but with complete schema coverage and an output schema (implied by 'Returns' statement), the description is minimally adequate. It covers what the tool does and what it returns, but lacks important context about when to use it, behavioral constraints, and how it differs from sibling tools, making it incomplete for optimal agent understanding.

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?

With 100% schema description coverage, the input schema already documents all 20 parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema - it doesn't explain parameter relationships, default behaviors, or search logic. The baseline of 3 is appropriate since the schema does the heavy lifting.

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 specific action ('Search Direct Procurements'), target resource ('via EKAP'), and technical endpoint ('YeniIhaleAramaData.ashx, metot=dtAra'), which distinguishes it from sibling tools like get_direct_procurement_details or search_tenders that perform different operations. It also lists the exact return fields, making the purpose highly specific.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like search_tenders or get_direct_procurement_details, nor does it mention prerequisites such as needing an EKAP session (only implied by the optional cookies parameter). There is no explicit context for when this search is appropriate versus other procurement-related tools.

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/ihale-mcp'

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