Skip to main content
Glama
digikala-mcp

digikala-mcp

by sepehr071

Seller profile and products

dk_seller
Read-onlyIdempotent

Retrieve a Digikala seller's reputation metrics—rating, on-time shipping, cancellations, returns—and their product listings to evaluate seller reliability before buying.

Instructions

Get a seller's reputation (rating 0-5, on-time shipping, cancellations, returns) and products.

Percentages are the share of good orders (100 = never late).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "seller_code": "<seller_code>"
    },
    "name": "dk_seller"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNobest_selling
seller_codeYesdk_product offer seller_code, e.g. 'CGDG9'.
in_stock_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.6.0
    • removedInput schema / properties / in_stock_only / description
      Removed value: -"Only products that can be bought now."
    • removedInput schema / properties / page / description
      Removed value: -"Page number, from 1 (20 products per page)."
    • changedInput schema / properties / seller_code / description
      Previous value: -"Seller code from dk_product offers or a product card, e.g. 'CGDG9'."New value: +"dk_product offer seller_code, e.g. 'CGDG9'."
    • removedInput schema / properties / sort / description
      Removed value: -"Order of the results."
  2. Changed6 schema fields changedv0.4.0
    • removedInput schema / properties / in_stock_only / title
      Removed value: -"In Stock Only"
    • removedInput schema / properties / page / title
      Removed value: -"Page"
    • removedInput schema / properties / seller_code / title
      Removed value: -"Seller Code"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / title
      Removed value: -"dk_sellerArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "dk_sellerDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is handled. The description adds genuine value by explaining that reputation percentages are the share of good orders and that 100 means never late, which no structured field conveys. It says nothing about pagination of the product list, defaults, or error behavior for an unknown seller_code.

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, with the primary capability front-loaded and the format clarification placed after it; nothing is padded or redundant. It is efficient, though the terseness leaves the gaps noted in parameter semantics.

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

Completeness2/5

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

For a tool with four parameters, no output schema and only 25% schema coverage, the description should explain pagination, sorting and the default in-stock filter for the product half of the response. It fully explains the reputation metrics but leaves the product-list behavior and return shape largely undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%: page, sort and in_stock_only have no descriptions at all, and the description does not mention paging, sort options, or that in_stock_only defaults to true. Only seller_code is documented, and that is in the schema itself. An agent gets no help with three of four parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Get') and two concrete resources: a seller's reputation, enumerated as rating 0-5, on-time shipping, cancellations and returns, plus their products. That is far more concrete than the title alone. It does not name a sibling it excludes, so an agent must still infer that dk_brand_products and dk_best_sellers cover different lookups.

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?

There is no statement of when to prefer this over dk_brand_products, dk_best_sellers, dk_product or dk_search, and no prerequisites or exclusions. The only usage signal is implicit: the required seller_code suggests it is for looking up a known seller.

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