Skip to main content
Glama
sepehr071

digikala-mcp

by sepehr071

Find location

dk_location
Read-onlyIdempotent

Convert a Persian address plus city into coordinates, or coordinates into an address, returning Digikala city_id and state_id for checkout delivery options.

Instructions

Turn an address into coordinates, or coordinates into an address with Digikala's city_id and state_id.

Pass address + city, or lat + long. Product prices are the same everywhere; location only matters for delivery options shown at checkout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude, to describe a point instead (Iran: ~25 to ~40).
cityNoPersian city name; without it most addresses find nothing, e.g. 'تهران' or 'مشهد'.
longNoLongitude, with lat.
addressNoAddress or landmark in Persian, e.g. 'میدان ونک'. Latin text matches poorly.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so safety is covered. The description adds genuinely useful behavioral context beyond them: that prices are location-independent and location only affects checkout delivery options, which tells the agent when calling this is worthwhile. It does not cover error behavior or matching fallbacks.

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 the core purpose, then the invocation rule, then the relevance caveat. No filler or restatement of the name.

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?

An output schema exists, so return values need not be explained, and all four parameters are fully documented in the schema. Combined with the usage rule and relevance caveat, nothing an agent needs to call this correctly is missing.

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. The description adds the mutual-exclusivity/pairing rule for the two modes (address+city vs lat+long), which the flat schema does not express, so it earns above baseline.

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 precise verb+resource pair ('turn an address into coordinates, or coordinates into an address') and names the concrete domain artifacts returned (city_id, state_id). It is clearly distinguishable from every sibling, which are all search/product/review tools.

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 which parameter combinations are valid ('Pass address + city, or lat + long') and when this tool is relevant ('location only matters for delivery options shown at checkout'). It does not name alternative tools or state exclusions, so it falls short of a 5.

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