Skip to main content
Glama
sepehr071

shopino-mcp

by sepehr071

Find cheapest product

sh_find_cheapest
Read-onlyIdempotent

Find in-stock products for a keyword across all shops and return a flat list sorted by total price in Toman so users can compare costs and pick a low-price offer.

Instructions

Find the cheapest in-stock products for a keyword across all shops, one flat list sorted by price to pay (Toman).

Use when the user wants the lowest price for X. The site sorts in-stock matches by price to pay; this drops loose matches whose title lacks a query word (match_all_words) and items without a price. Narrow with category_id (sh_categories) or city. A product's price is its cheapest variant: check the wanted size / color with sh_product. complete=false: matches go on past scanned, raise scan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoOnly shops with same-day courier delivery in this city, e.g. 'تهران' (list in sh_filters).
scanNoMax search results to scan, cheapest first, 200 per request.
limitNoMax offers to return.
queryYesProduct name or keyword, Persian works best, e.g. 'مانتو کتان' or 'کفش ورزشی'.
category_idNoCategory id from sh_categories, e.g. 385 (women's manteaus); includes sub-categories.
match_all_wordsNoKeep only products whose title or shop name contains every word of the query.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds real behavioral context: results are sorted by price to pay, loose matches lacking a query word and price-less items are dropped, and complete=false indicates matches continue past `scanned` requiring a higher scan. This is substantive disclosure beyond the structured data.

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?

Purpose and sorting behavior are front-loaded, then usage, then edge cases, with every sentence carrying information. Formatting is a bit run-on/inline rather than cleanly bulleted, which slightly hurts scannability, but there is no filler.

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 an open-world 6-parameter tool with an output schema, the description covers what the list contains, how it is ordered, how to narrow, how variants relate to price, and the pagination/scan caveat. An agent has everything needed to call it correctly without guessing.

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 description coverage is 100%, so the 3 baseline applies, but the description adds genuine meaning: it explains that match_all_words drops loose title matches, ties category_id to sh_categories and city to sh_filters, and explains scan/complete interplay. That goes beyond the schema's per-parameter text.

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, resource and scope: find the cheapest in-stock products for a keyword across all shops, returned as one flat list sorted by price to pay. An agent can distinguish it from sh_search, sh_deals and sh_similar without opening schemas, since the cheapest-price intent is explicit in both name and description.

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?

'Use when the user wants the lowest price for X' gives a clear trigger condition, and it routes refinement to siblings (category_id via sh_categories, city via sh_filters, variant checks via sh_product). It doesn't explicitly state when NOT to use it versus sh_search/sh_deals, so it falls short of full exclusion guidance, but the positive routing is strong.

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