Skip to main content
Glama
UVU-Store

shopify-graphql-mcp

by UVU-Store

get_theme_file

Retrieve a specific file from a Shopify theme by supplying its theme ID and filename. Works for Liquid templates, CSS, and other theme assets.

Instructions

Fetch a specific file from a theme

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
themeIdYesTheme ID (e.g., 'gid://shopify/OnlineStoreTheme/123456789')
filenameYesFilename of the theme file (e.g., 'sections/header.liquid')
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only says 'Fetch a specific file from a theme' without explaining what the response includes, whether it returns the file content or metadata, any authentication requirements, or error behavior. This is a significant gap for a read operation.

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 a single, front-loaded sentence with no wasted words. It efficiently conveys the core purpose without redundancy.

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

Completeness2/5

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

Despite the tool's simplicity, the description lacks essential behavioral details such as return format (file contents vs. metadata), and there is no output schema or annotations to fill in missing context. For a complete tool, more information about what the caller receives or any constraints would be needed.

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 has 100% description coverage for both parameters (themeId and filename) with clear examples. The description adds no additional parameter information, but since the schema fully documents parameters, a baseline score of 3 is appropriate.

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 fetches a specific file from a theme. The word 'specific' distinguishes it from sibling get_theme_files which retrieves all files, and from get_theme which retrieves theme metadata. This is a specific verb+resource with clear scope.

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?

No guidance is provided about when to use this tool versus alternatives. It does not mention when to prefer get_theme_files or other theme-related operations. The only implied usage is through the word 'specific', but there is no explicit context or exclusions.

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/UVU-Store/shopify-graphql-mcp'

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