Skip to main content
Glama

Search products

ss_search
Read-onlyIdempotent

Search Snapp! Shop products by name and filter by price, brand, specs, color, stock, or delivery to locate matching items and verify titles.

Instructions

Search Snapp! Shop (اسنپ‌شاپ) products by name, with price, brand, spec, colour and delivery filters.

Items carry id (ss_reviews / ss_similar) and product_id (ss_product); page 1 adds brands. An unmatched phrase returns unrelated items, so check titles.

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": "ss_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo12 items per page.
sortNoList order; default is the site's relevance order.
queryYesPersian or English, e.g. 'هدفون بلوتوثی'.
specsNo'filter=option' (name or id, from ss_filters), e.g. ['حافظه داخلی=256 گیگابایت']. One option per filter.
brandsNoBrand ids from `brands` of an earlier answer.
colorsNoColour names or ids from ss_filters.
expressNoOnly products with fast delivery.
in_stockNoOnly products that can be bought now.
max_priceNoHighest price in Toman (not Rial).
min_priceNoLowest price in Toman (not Rial).
discountedNoOnly products with a discount.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.2.0
    • changedInput schema / properties / brands / description
      Previous value: -"Brand ids (6 characters) taken from `brands` in an earlier ss_search / ss_category answer."New value: +"Brand ids from `brands` of an earlier answer."
    • changedInput schema / properties / colors / description
      Previous value: -"Colour names or ids from ss_filters, e.g. ['مشکی']."New value: +"Colour names or ids from ss_filters."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, 12 items per page, starting at 1."New value: +"12 items per page."
    • changedInput schema / properties / query / description
      Previous value: -"What to look for, Persian or English, e.g. 'هدفون بلوتوثی'."New value: +"Persian or English, e.g. 'هدفون بلوتوثی'."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the list; the site default (no value) is its own relevance order."New value: +"List order; default is the site's relevance order."
    • changedInput schema / properties / specs / description
      Previous value: -"Spec filters as 'filter=option', by name or id, e.g. ['حافظه داخلی=256 گیگابایت']. One option per filter; names come from ss_filters."New value: +"'filter=option' (name or id, from ss_filters), e.g. ['حافظه داخلی=256 گیگابایت']. One option per filter."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, openWorld, non-destructive), and the description adds genuinely new behavior: the return shape of items (`id` for ss_reviews/ss_similar, `product_id` for ss_product, `brands` only on page 1) and the relevance-degradation caveat for unmatched queries. It does not discuss result counts or empty-result behavior, so it is not exhaustive.

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 short paragraphs, front-loaded with purpose, followed by the return-shape notes and a single actionable caveat. No redundant restatement of the name or annotations.

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 an 11-parameter read tool with no output schema, the description supplies the essential missing piece — what the response items contain and how their ids feed sibling tools — plus a relevance caveat. Only minor gaps remain (pagination/result totals, empty-result behavior), which the schema partially covers.

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 description coverage is 100%, so each parameter already documents format, units (Toman not Rial), enum values and defaults. The description reinforces the filter categories and cross-tool origins of `brands`/`specs`, but adds little beyond what the schema already says — the baseline of 3 applies.

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 and resource ('Search Snapp! Shop products by name') plus the full filter surface (price, brand, spec, colour, delivery), which separates it from ss_categories, ss_suggest and ss_product without opening a schema.

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?

Gives clear context for correct invocation by routing filter values to ss_filters and brand ids to an earlier answer's `brands`, and by warning that an unmatched phrase returns unrelated items so titles must be checked. It stops short of explicit when-to-use-this-instead-of-ss_suggest or ss_category guidance, so no full 5.

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