Skip to main content
Glama

update_live_shopify_theme_file

Overwrite one existing file (Liquid/CSS/JS/JSON) on the LIVE (MAIN) Shopify theme — buyers render the change immediately. Approval-tier with expected_updated_at lock from get_shopify_theme_asset: refuses if the file changed since review, refuses unpublished themes (those use upsert_shopify_theme_file), and refuses creating a new live file. Use when the operator approves a single-file live-theme fix. Swapping the entire storefront is publish_shopify_theme.

Routing: Shopify: overwrite one LIVE theme source file — approval-tier, lock-checked

[outbound-tier — EVERY call needs a manager's approval (per-send human rail): each request queues its own approval card and sends exactly once on approve. There is no standing grant for this tool.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesThe full replacement file content (≤200000 chars)
filenameYesTheme path, e.g. 'layout/theme.liquid' or 'assets/custom.css'
theme_idYesTheme gid — must currently be the LIVE (MAIN) theme
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
expected_updated_atYesThe file's updatedAt as read from get_shopify_theme_asset when the edit was reviewed (ISO)

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden, and it does an excellent job. It discloses that buyers see changes immediately, that calls are approval-gated on a per-send basis, that there is no standing grant, that calls send exactly once on approval, and that the file is refused if changed since review.

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?

The information is dense and front-loaded, with no filler. It only loses a point because the safety/approval message is partially repeated in both the main description and the trailing outbound-tier note; otherwise the structure is excellent.

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 this is a complex, destructive, live-environment mutation with no annotations and no output schema, the description is remarkably complete. It explains the action, the target, the restrictions, the concurrency guard, the approval flow, and the alternatives an agent should consider.

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 coverage is 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema: it explains that expected_updated_at acts as an optimistic lock, that the file must already exist, and that the target theme must be the live theme. This helps an agent understand why the parameters matter.

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 uses a specific verb ('Overwrite') with a clear resource: an existing file on the LIVE Shopify theme. It immediately distinguishes itself from related tools by saying exactly what it refuses to do and what it is not for, making sibling differentiation strong.

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

Usage Guidelines5/5

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

It explicitly states when to use the tool ('when the operator approves a single-file live-theme fix'), when not to use it, and names specific alternatives: upsert_shopify_theme_file for unpublished themes and publish_shopify_theme for swapping the entire storefront. The approval requirement is also clearly stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation4/5

The tool set is heavily disambiguated by detailed routing descriptions, domain prefixes, and lifecycle verbs, so most tools have a clear intended purpose. However, at 297 tools there are still close pairs and overlapping decision surfaces (e.g., approval workflows, 'what should I work on' readers, multiple finance/ads readers) that require careful description reading to avoid misselection.

Naming Consistency4/5

Naming is predominantly consistent snake_case verb_noun with strong domain prefixes like shopify_, x_, posthog_, and list_/create_/update_ patterns. Minor inconsistencies exist, such as several collection-returning tools using get_ (get_team_members, get_icps, get_okrs) instead of list_, and some generate_ vs create_ vs draft_ verbs, but the pattern is still predictable overall.

Tool Count1/5

297 tools is an extreme outlier and far beyond a usable MCP tool surface. Even a large suite has no justification for this count in one server; the agent would struggle to select among hundreds of similarly descriptive tools, and the natural 3-15 tool range is exceeded by nearly 20x.

Completeness4/5

The individual domains represented — OKRs, CRM/leads, Shopify, content pipelines, ads, PostHog, team hiring, knowledge, finance, and session management — are covered remarkably well with full lifecycle patterns. Minor gaps exist, such as no full deal CRUD, no delete for several Google/Shopify artifacts, and some analytical surfaces being read-heavy, but most workflows can be completed without dead ends.

Resources