Skip to main content
Glama
marvkr

Better Design

Get Shopify Theme Guide

get-shopify-guide
Read-onlyIdempotent

Load Shopify Liquid and Online Store 2.0 guidance before editing themes, templates, sections, or snippets. Search by topic or task to get implementation rules, schema details, and validation steps.

Instructions

Load Better Design's Shopify Liquid and Online Store 2.0 implementation guidance directly from the MCP. No separate agent skill is required.

Use this before creating or changing Liquid, JSON templates, sections, blocks, snippets, locale files, theme assets, product forms, cart behavior, or Shopify CLI workflows. The guides cover theme architecture, Liquid objects/tags/filters, merchant-editable schema, LiquidDoc, localization, accessibility, performance, validation with Shopify Theme Check, and building a sales page, advertorial, or product landing page on a store's own brand. They link to Shopify's primary documentation for version-sensitive API details.

You can either:

  1. Request a known topic: get-shopify-guide({ topic: "shopify-theme-architecture" })

  2. Use an alias: get-shopify-guide({ topic: "liquiddoc" })

  3. Search for the current task or error: get-shopify-guide({ query: "product form variant selector and money formatting" })

  4. Get the full topic index: get-shopify-guide({})

Prefer query search when you do not know the topic name. Run Shopify Theme Check after writing files. Use maxTokens to keep responses focused (recommended: 5000-10000).

Input Schema

NameRequiredDescriptionDefault
queryNoNatural language description of the Shopify theme task, API, or validation error.
topicNoSpecific Shopify topic or alias, e.g. shopify-theme-architecture, shopify-liquid-language, shopify-sales-page, section-schema, localization, or theme-check.
contextNoOptional. One sentence on WHY you are calling this and what the user asked for (e.g. 'adding nav icons for the fintech dashboard'). Used only for usage analytics; does not change the result.
maxTokensNoMaximum tokens to return. Truncates content to fit. Recommended: 5000-10000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive lookup. The description adds useful behavioral context beyond annotations: the guides link to Shopify's primary documentation for version-sensitive details, responses can be truncated to fit maxTokens, and no separate agent skill is required. It does not cover error behavior or rate limits, but with annotations present the bar is lower.

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 front-loaded with the tool's purpose, then gives usage context and a clear numbered set of invocation patterns. It is appropriately sized for a knowledge-retrieval tool with multiple parameters, and the numbered options make the guidance easy to scan without wasting sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that this is a read-only guide retrieval tool with no output schema, the description is complete enough to call correctly: it explains what content the guides cover, how to request known topics, aliases, search queries, or the full index, and how to limit response size. It also handles the common discovery case when the topic name is unknown.

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

Parameters4/5

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

Schema description coverage is 100%, so the schema already documents all four parameters and the baseline would be 3. The description adds meaningful routing semantics: known topic, topic alias, natural-language query when the topic is unknown, empty call for the full index, and a recommended maxTokens range, which helps an agent choose parameter values rather than merely restating the schema.

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: loading Better Design's Shopify Liquid and Online Store 2.0 implementation guidance from the MCP. It clearly scopes the domain as Shopify theme development, which distinguishes it from sibling guide tools such as get-widget-guide and get-react-native-guide without needing to name them.

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 when-to-use guidance: before creating or changing Liquid, JSON templates, sections, blocks, snippets, locale files, theme assets, product forms, cart behavior, or Shopify CLI workflows. It also explains within-tool routing, such as preferring query search when the topic name is unknown and using an empty call to get the topic index, though it does not explicitly contrast itself with sibling guide tools or state when not to use it.

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