Skip to main content
Glama
digikala-mcp

digikala-mcp

by sepehr071

Price history

dk_price_history
Read-onlyIdempotent

Retrieve roughly 30 days of daily buy-box prices by color/variant in Toman, with lowest, highest, and a two-day stable low to track trends and spot price dips.

Instructions

Get ~30 days of daily buy-box prices (Toman) per color/variant, with lowest and highest.

lowest_2_days is the lowest price held two days in a row (lowest can be a one-day dip). Days are Jalali.

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": {
      "product_id": "<product_id>"
    },
    "name": "dk_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
product_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.6.0
    • removedInput schema / properties / product_id / description
      Removed value: -"Digikala product id, the number in 'dkp-<id>' (from dk_search etc.), e.g. 20109389."
  2. Changed3 schema fields changedv0.4.0
    • removedInput schema / properties / product_id / title
      Removed value: -"Product Id"
    • removedInput schema / title
      Removed value: -"dk_price_historyArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "dk_price_historyDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The schema already declares read-only, idempotent, non-destructive, open-world behavior, so the safety profile needs no restating. The description still adds real value beyond annotations: the ~30-day window (explicitly approximate), Toman currency, per-color/variant granularity, Jalali day indexing, and the key caveat that lowest can be a one-day dip whereas lowest_2_days is held for two consecutive days. Return shape and any rate limits remain unstated.

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?

Two tight sentences with the core scope front-loaded, followed by the one non-obvious definition an agent would otherwise misread. Every clause earns its place and nothing is padded.

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 rich annotations and no output schema, the description covers time window, currency, granularity, calendar convention, and the lowest vs lowest_2_days distinction. The only real gap is what product_id expects and roughly what the response rows look like.

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?

There is a single required parameter with 0% schema description coverage, so the description carries the full burden and does not meet it. product_id is never mentioned or explained; the bounds and integer type are all the schema offers, and the description explains only response fields, not the input.

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 states a concrete verb and resource: it returns ~30 days of daily buy-box prices per color/variant, with lowest and highest. That is specific enough that an agent can distinguish it from catalog and comparison siblings like dk_product or dk_compare, but no sibling is named explicitly, so it stops short of full differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the mention of a 30-day window and lowest/highest values suggests price-trend analysis, but there is no explicit when-to-use instruction, no exclusion, and no pointer to alternatives such as dk_find_cheapest for a current-price lookup.

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