Skip to main content
Glama

Category products

ss_category
Read-onlyIdempotent

List products in a Snapp! Shop category or category-brand page with sorting, price, spec, colour, stock, discount and express-delivery filters; use after browsing categories to narrow results.

Instructions

List the products of one Snapp! Shop category or category-brand page, with sort, price, spec and colour filters.

Use after ss_categories; ss_filters shows the spec names. A top-level path such as 'mobile' has no product list: pick a subcategory.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 12 items per page, starting at 1.
pathYesCategory path from ss_categories, one or two parts, e.g. 'mobile/samsung' or 'health-beauty/vitamins'.
sortNoOrder of the list; the site default (no value) is its own relevance order.
specsNoSpec filters as 'filter=option', by name or id, e.g. ['حافظه داخلی=256 گیگابایت']. One option per filter; names come from ss_filters.
colorsNoColour names or ids from ss_filters, e.g. ['مشکی'].
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. 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 declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior. The description adds a non-obvious behavioral constraint: top-level category paths return no product list, so subcategories are required. It does not discuss pagination, rate limits, or return shape, but the annotations cover the safety profile.

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?

The description is two sentences with no filler. The main purpose is front-loaded, followed by prerequisites and the important top-level path caveat.

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 10-parameter read-only listing tool with full schema coverage and no output schema, the description supplies purpose, dependencies, and the critical path constraint. It omits return shape and pagination details, though the schema documents page size and item count.

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%, with detailed per-parameter descriptions for page size, price currency, sort options, spec format, colour format, and boolean filters. The description restates the filter categories and points to ss_filters for spec names, but adds little beyond the already-rich schema. Baseline 3 is appropriate.

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?

The description states a specific verb and resource: 'List the products of one Snapp! Shop category or category-brand page,' with the filter scope explicitly named. It also distinguishes its role from ss_categories and ss_filters by referencing them as prerequisite/helper 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?

It gives clear usage context: use after ss_categories, and ss_filters shows spec names. It also provides a concrete exclusion: a top-level path such as 'mobile' has no product list, so the agent must pick a subcategory. It does not explicitly compare against siblings like ss_search for non-category product discovery, but the guidance is strong.

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