Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

get-collection-products

Fetches all products in a specified Shopify collection with pagination, returning pricing and inventory details for each item.

Instructions

Get all products in a specific collection with pagination. Returns product details including pricing and inventory.

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": {
      "collectionId": "<collectionId>"
    },
    "name": "get-collection-products"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
collectionIdYesCollection ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses that results are paginated and include product details such as pricing and inventory, but it omits permission requirements, default page size behavior, and any rate-limit or error semantics.

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, front-loaded with the core action and scope, and contains no redundant or filler wording.

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 simple read tool with no output schema and no annotations, the description gives the essential scope and return content. However, it leaves notable gaps around pagination parameters and behavioral details that would help an agent invoke it correctly.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is low at 33%, so the description should compensate for the undocumented parameters. It mentions pagination, which hints at cursor and limit, but it does not explain limit defaults, maximums, or cursor usage, leaving most parameter semantics to the schema.

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?

The description uses a specific verb and resource: get all products in a specific collection, with pagination. It clearly distinguishes collection-scoped product listing from broader product listing, though it does not explicitly name sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the phrase 'in a specific collection'; there is no explicit guidance on when to use this tool versus get-products or get-product-by-id, and no exclusions or prerequisites are stated.

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