Skip to main content
Glama
dragnoir

Shopify Theme Inspector MCP

by dragnoir

compare_pages

Compare two pages on the same Shopify store side-by-side to uncover performance differences: render time, template breakdown, and recommendations. Use it for A/B testing template changes or comparing product vs collection pages.

Instructions

Profile two pages on the same store and compare their performance side-by-side. Shows differences in render time, template breakdown, and recommendations. Great for A/B testing template changes or comparing product vs collection page performance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storeUrlYesThe Shopify store URL
pagePathAYesFirst page path (e.g., '/' or '/products/my-product')
pagePathBYesSecond page path to compare against
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It tells the user what the tool outputs (differences in render time, template breakdown, recommendations) which is useful behavioral context. However, it does not mention side effects, authentication requirements, or failure modes, leaving some ambiguity about the operation's safety and prerequisites.

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 purpose and followed by practical use cases. Every word earns its place, with no redundant or vague content. This is an example of concise, effective tool documentation.

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?

Since there is no output schema, the description appropriately summarizes the return values (differences in render time, template breakdown, recommendations). For a comparatively simple 3-parameter tool, this covers the essential output aspects. Minor gaps include lack of detail on output format or error conditions, but the description is adequate for typical use.

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?

The input schema provides full descriptions for all three parameters with 100% coverage, so the schema does the heavy lifting. The tool description adds minimal parameter-level semantics beyond reiterating that pagePathA and pagePathB are the two pages to compare. This meets the baseline for schema-heavy descriptions.

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 clearly states the tool's function: 'Profile two pages on the same store and compare their performance side-by-side.' This is a specific verb+resource combination that distinguishes it from single-page profilers like profile_page. The mention of 'render time, template breakdown, and recommendations' adds clarity about what the comparison includes.

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 provides clear context for when to use the tool: 'Great for A/B testing template changes or comparing product vs collection page performance.' This implies the tool is for comparative analysis rather than single-page profiling. However, it does not explicitly name alternatives (e.g., 'use profile_page for single pages') 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.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dragnoir/Shopify-Theme-Inspector-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server