Skip to main content
Glama
stupidprogrammer4

digikala-mcp

Search Products

search_products
Read-only

Search for products across configured markets using query text, category, price range, and attribute filters. Returns one page of results per market.

Instructions

Search one native page per market; all configured markets are selected by default.

Budgets are IRR, not toman. Get category_id from list_categories or autocomplete to restrict the search. Provide query text, category_id, or both; category alone browses that category. Sorting is per market/page, not a global ranking. Page sizes and totals are upstream. Errors are isolated per market. Location is unused by the current Digikala adapter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
marketsNo
locationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: budgets are IRR not toman, sorting is per market/page rather than global, page sizes/totals are upstream, errors are isolated per market, and location is unused by the current adapter. These are exactly the non-obvious traits an agent needs.

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?

Eight short, front-loaded statements with no filler; the most decision-critical facts (market scoping, category_id sourcing, query/category behavior) come first. Slightly list-like but every sentence carries operational value.

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 an output schema present, return values need not be explained, and the description covers the market model, currency, sorting scope, error isolation, and the inert location parameter. Minor gaps remain around sort/filter semantics.

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 0%, so the description must compensate. It clarifies query/category_id interplay, currency for price bounds, markets defaulting to all configured, and that location is inert. However it does not explain sort enum values, page bounds, or the filters structure.

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 and resource ('Search products') and immediately scopes the unit of work ('one native page per market'), which an agent can act on. It also names siblings (list_categories, autocomplete) as the source of category_id, helping distinguish its role.

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?

Explicitly tells the agent what inputs to supply ('query text, category_id, or both; category alone browses that category') and where to get category_id. Lacks explicit when-to-use-this-vs-get_products_batch routing, but the input-selection guidance is clear and actionable.

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