Skip to main content
Glama
shopino-mcp

shopino-mcp

by sepehr071

Find cheapest product

sh_find_cheapest
Read-onlyIdempotent

Find low-price in-stock products for a keyword across all shops; get one flat list sorted by price to pay.

Instructions

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

Use for the lowest price of X. Drops loose matches and unpriced items. complete=false: raise scan.

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": {
      "query": "<query>"
    },
    "name": "sh_find_cheapest"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoSame-day courier city, e.g. 'تهران'.
scanNoMax results to scan, cheapest first.
limitNoMax offers to return.
queryYesKeyword, Persian best, e.g. 'مانتو کتان'.
category_idNoCategory id (sh_categories), includes sub-categories.
match_all_wordsNoTitle or shop name must have every query word.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changedv0.5.0
    • removedInput schema / properties / category_id / anyOf
      Removed value: -[
      -  {
      -    "maximum": 100000,
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / category_id / description
      Previous value: -"Category id from sh_categories, e.g. 385; includes sub-categories."New value: +"Category id (sh_categories), includes sub-categories."
    • addedInput schema / properties / category_id / maximum
      Added value: +100000
    • addedInput schema / properties / category_id / minimum
      Added value: +1
    • addedInput schema / properties / category_id / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / city / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 40,
      -    "minLength": 2,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / city / description
      Previous value: -"Same-day courier city, e.g. 'تهران' (sh_filters)."New value: +"Same-day courier city, e.g. 'تهران'."
    • addedInput schema / properties / city / maxLength
      Added value: +40
    • addedInput schema / properties / city / minLength
      Added value: +2
    • addedInput schema / properties / city / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / match_all_words / description
      Previous value: -"Keep only products whose title or shop name has every query word."New value: +"Title or shop name must have every query word."
    • changedInput schema / properties / query / description
      Previous value: -"Keyword, Persian works best, e.g. 'مانتو کتان'."New value: +"Keyword, Persian best, e.g. 'مانتو کتان'."
  2. Changed13 schema fields changedv0.3.0
    • changedInput schema / properties / category_id / description
      Previous value: -"Category id from sh_categories, e.g. 385 (women's manteaus); includes sub-categories."New value: +"Category id from sh_categories, e.g. 385; includes sub-categories."
    • removedInput schema / properties / category_id / title
      Removed value: -"Category Id"
    • changedInput schema / properties / city / description
      Previous value: -"Only shops with same-day courier delivery in this city, e.g. 'تهران' (list in sh_filters)."New value: +"Same-day courier city, e.g. 'تهران' (sh_filters)."
    • removedInput schema / properties / city / title
      Removed value: -"City"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • changedInput schema / properties / match_all_words / description
      Previous value: -"Keep only products whose title or shop name contains every word of the query."New value: +"Keep only products whose title or shop name has every query word."
    • removedInput schema / properties / match_all_words / title
      Removed value: -"Match All Words"
    • changedInput schema / properties / query / description
      Previous value: -"Product name or keyword, Persian works best, e.g. 'مانتو کتان' or 'کفش ورزشی'."New value: +"Keyword, Persian works best, e.g. 'مانتو کتان'."
    • removedInput schema / properties / query / title
      Removed value: -"Query"
    • changedInput schema / properties / scan / description
      Previous value: -"Max search results to scan, cheapest first, 200 per request."New value: +"Max results to scan, cheapest first."
    • removedInput schema / properties / scan / title
      Removed value: -"Scan"
    • removedInput schema / title
      Removed value: -"sh_find_cheapestArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "sh_find_cheapestDictOutput",
      -  "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?

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), but the description adds real behavior: results are in-stock only, loose matches and unpriced items are filtered out, ordering is by price to pay, and a 'complete=false' response signal means the scan should be raised. That linking of an output flag to a parameter action goes beyond the schema.

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?

Front-loaded with the core purpose in the first sentence, then usage, filtering behavior, and the scan hint in a deliberate progression. Very little waste, though the final 'complete=false: raise scan' fragment is telegraphic and could read ambiguously on its own.

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

Completeness3/5

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

For a 6-parameter search tool with no output schema, the description covers filtering, ordering, and the incompleteness remedy, which is the critical part. It leaves the same-day courier meaning of city and the match_all_words behavior entirely to the schema, so it is adequate but not fully self-contained.

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

Parameters3/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 parameters (city, scan, limit, query, category_id, match_all_words) are documented in-schema. The description only adds meaning for scan via 'complete=false: raise scan'; it says nothing about how city or match_all_words alter results beyond the schema text.

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?

States a specific verb and resource: finds the cheapest in-stock products for a keyword across all shops, returned as one flat price-sorted list. That scope (in-stock, cheapest, cross-shop) implicitly separates it from sh_search and sh_deals, but no sibling is named explicitly.

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?

'Use for the lowest price of X' gives a clear positive trigger, and 'Drops loose matches and unpriced items' clarifies what it won't return. There is no explicit when-not guidance or named alternative (e.g. use sh_search for broad discovery), so routing is inferred rather than stated.

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