Skip to main content
Glama
sepehr071

digikala-mcp

by sepehr071

Product reviews

dk_reviews
Read-onlyIdempotent

Read customer reviews for a Digikala product, including star ratings, review text, pros/cons, verified-buyer flags, with pagination and sorting by helpfulness, newest, or buyers first.

Instructions

Read customer reviews of a product: stars 1-5 (null = no stars given), text, pros/cons, verified buyer flag.

20 per page. The overall rating (0-5) is in dk_product. Long texts are cut to 300 characters. An unknown id gives no reviews; check it with dk_product.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, from 1 (20 products per page).
sortNoOrder of the reviews.most_helpful
product_idYesDigikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely new behavior: page size of 20, long texts truncated at 300 characters, null meaning "no stars given", and empty results for unknown ids. These are exactly the traits that would otherwise surprise a caller.

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?

Three short sentences, front-loaded with what is returned, then pagination/truncation limits, then the error-handling hint. No filler and no repetition of the schema.

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

Completeness5/5

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

For a read-only paginated list tool with a full output schema and complete annotation coverage, the description supplies everything an agent still needs: what comes back, how much per page, truncation, and what an empty result implies.

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%, so the baseline is 3, and the description adds value by clarifying the page size ("20 per page"), which usefully corrects the schema's mislabeled "20 products per page" text on the page parameter. It says nothing extra about the sort enum values beyond the schema's own ordering description.

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 ("Read customer reviews of a product") and enumerates the returned fields (stars, text, pros/cons, verified buyer flag). It also distinguishes itself from the sibling dk_product by noting that the overall rating lives there rather than here.

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 concrete routing rule for the failure case: an unknown id returns no reviews, so validate it with dk_product first, and it redirects the agent to dk_product for the aggregate rating. It stops short of stating when to prefer this over other sibling tools (e.g., dk_questions for Q&A), but the context it does give is actionable.

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