Skip to main content
Glama

Collection products

ss_collection
Read-onlyIdempotent

Lists every product in a Snapp! Shop promotion collection, such as a flash sale, carousel, or see-all list, using the collection ID with paging and sorting options.

Instructions

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

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": {
      "id": "<id>"
    },
    "name": "ss_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes`collection_id` from ss_promotions.
pageNo12 items per page.
sortNoList order; default is the site's relevance order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"Collection id (6 characters) from ss_promotions: a flash sale or carousel."New value: +"`collection_id` from ss_promotions."
    • 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 / 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."
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile needs no restating. The description adds little beyond that, and 'List every product' mildly overpromises given the schema's fixed 12-items-per-page pagination, which the description never acknowledges.

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?

A single front-loaded sentence with the resource and scope stated first and the parent tool named last. No filler, no redundancy.

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?

A simple read-only listing tool with a fully documented three-parameter schema and annotated safety profile needs little more than this. The one gap is that 'every product' isn't qualified against the 12-per-page pagination, which an agent must infer from the schema.

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 id, page, and sort are already fully documented in the schema. The description only reinforces that the id comes from ss_promotions and says nothing about pagination or sorting semantics, leaving it at the baseline for high-coverage schemas.

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 (List) and resource (products of one promotion collection), and concretizes 'collection' with examples like flash sale, carousel, and 'see all' list. Naming ss_promotions as the source of the ids also hints at how this differs from catalog siblings, though it never explicitly contrasts with ss_category or ss_search.

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?

The phrase 'from ss_promotions' implies the intended workflow: get a collection id there, then call this tool. However, there is no explicit when-to-use/when-not-to-use guidance and no statement about alternatives for listing products outside a promotion context.

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