Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_collections

Retrieve a paginated list of Shopify collections, filter by search query, and return title, handle, product count, and image details.

Instructions

List collections with optional filtering and pagination. Returns collection details including title, handle, product count, and image.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
firstNo
queryNoSearch query to filter collections

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden; it does disclose the return shape (title, handle, product count, image), which is genuinely useful since there is no output schema. It omits pagination mechanics (that `after` is a cursor and iteration ends when no cursor is returned), default/max page size, and any permission or rate-limit context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the return contract; nothing is redundant. It could be slightly tighter by folding the return fields into a single clause, but it is efficiently sized.

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 three-parameter, read-only list tool with no output schema, the description covers purpose and return fields adequately. It falls short on cursor-based pagination behavior and on disambiguating from the singular and count siblings, which an agent needs to call 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 only 33% — `after` and `first` have no schema descriptions — yet the description adds nothing beyond the generic words "filtering and pagination." It never explains that `after` is a forward cursor or that `first` caps at 250, so the gap in the schema is not compensated.

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 and resource ("List collections") plus scope ("optional filtering and pagination") and enumerates returned fields. It does not, however, distinguish itself from the singular get_collection or from get_collections_count, both of which appear in the sibling list.

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?

Usage is only implied: the phrase "optional filtering and pagination" hints at how to narrow results, but there is no statement of when to prefer this over get_collection (single lookup) or get_collections_count (totals only), and no prerequisites or exclusions are given.

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