Skip to main content
Glama

Collection products

ss_collection
Read-onlyIdempotent

List products from a Snapp Shop promotion collection, such as a flash sale or carousel, using its ID; paginate results and sort by price, popularity, or discount.

Instructions

List every product of one promotion collection (flash sale, carousel, 'see all' list) from ss_promotions.

Input Schema

NameRequiredDescriptionDefault
idYesCollection id (6 characters) from ss_promotions: a flash sale or carousel.
pageNoPage number, 12 items per page, starting at 1.
sortNoOrder of the list; the site default (no value) is its own relevance order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

The annotations already cover read-only, idempotent, non-destructive, and open-world behavior; the description adds the collection-source dependency and supported collection types. It does not clarify paginated retrieval, and "every product" could imply an exhaustive single response despite the schema specifying 12 items per page.

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 single sentence is compact, front-loaded with the operation, and uses parenthetical examples efficiently. There is no filler or redundant explanation of the three parameters.

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?

Together with the complete schema and safety annotations, the description supplies enough context for a straightforward collection-listing call. Its completeness is limited by the lack of explicit pagination or exhaustiveness guidance and any sibling-selection guidance, especially with no output schema to clarify result granularity.

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%, and id, page, and sort already document their formats, defaults, and constraints. The description largely repeats the id's origin and collection types, with "see all" list as only a small addition, so the high-coverage baseline 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?

"List every product" identifies the operation and resource, while "one promotion collection" and the examples establish precise scope. Naming ss_promotions as the source also distinguishes it from the general search, category, and product siblings.

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?

The description establishes a clear workflow: obtain a promotion collection from ss_promotions, then list its products. It does not explain when to prefer ss_search, ss_category, or ss_product, so the guidance is contextual rather than exhaustive.

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