Skip to main content
Glama
rezashahnazar

Digikala MCP Server

search_products

Find products on Digikala by searching within specific categories using keywords, with options to filter by price, discount, colors, and sort results.

Instructions

Search for products within a specific category with filtering and sorting. Returns 20 products per page. CRITICAL WORKFLOW: ALWAYS call get_optimized_keywords_and_categories FIRST to get the category_id for your search - this API requires it. Use the keyword-category pairs from that response. Search with BOTH Persian (Farsi) and English keywords separately - they produce different results, with Farsi often being more comprehensive. All prices in TOOMAN (1 Tooman = 10 Rials).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_idYesCategory ID to search within (REQUIRED - get this from get_optimized_keywords_and_categories)
keywordYesSearch keyword string for products, retrieved from the get_optimized_keywords_and_categories tool results
pageNoPage number (starts from 1)
sortNoSort order: 1=Relevance, 2=Price Low-High, 3=Price High-Low, 4=Newest, 5=Best Selling, 6=Most Viewed, 7=Highest Rated
price_min_toomanNoMinimum price in Toomans (e.g., 1000 Toomans = 10,000 Rials)
price_max_toomanNoMaximum price in Toomans (e.g., 5000 Toomans = 50,000 Rials)
discount_minNoMinimum discount percentage
discount_maxNoMaximum discount percentage
colorsNoList of color IDs to filter by

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/rezashahnazar/digikala-mcp-server'

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