Skip to main content
Glama
sepehr071

digikala-mcp

by sepehr071

Search suggestions

dk_suggest
Read-onlyIdempotent

Turn vague or misspelled product queries into better search keywords, categories, or brands, then use the suggestions to run accurate catalogue searches.

Instructions

Autocomplete a vague or partial query into better search words, categories and brands.

Use when the user's words are unclear or misspelled, then call dk_search with a suggested keyword, or dk_category_products with a suggested category code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesPartial text, e.g. 'samsung' or 'هدفون'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered without the description. The description adds only that the tool normalizes partial/misspelled input into keywords, categories and brands, which is mildly useful but not rich behavioral context.

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?

Two short sentences, front-loaded with the core action and followed by the usage condition and next steps. There is minor blank-line padding but no wasted clauses.

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?

For a single-parameter read tool with an output schema, the description supplies everything needed to decide to call it and what to do with the result. Return-value details are correctly left to the output schema.

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% and the single 'query' parameter is documented in the schema with examples and length bounds. The description adds the notion of a 'vague or partial' query, but no syntax or format detail beyond what the schema already provides, so the baseline 3 applies.

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 ('Autocomplete') and the transformation applied to the resource (a vague/partial query into search words, categories and brands). It also names the sibling tools it feeds into (dk_search, dk_category_products), so an agent can distinguish its role from those search tools without opening a schema.

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 a clear triggering condition ('when the user's words are unclear or misspelled') and routes the agent to the correct follow-up call with the suggested output type. No explicit when-not-to-use case is given, so it falls short of full 5-level guidance, but the context is unambiguous.

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