Skip to main content
Glama

Update Shopify product draft

update_shopify_product_draft
Destructive

Update a DRAFT (or archived) Shopify product's title, description, or tags. Refuses live (ACTIVE) products — changing what buyers see needs the approval-gated live tool. Use when a person or agent is building out or revising unpublished catalog.

Routing: Shopify: edit a DRAFT product — refuses live products

[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
titleNo
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
product_idYesProduct gid (gid://shopify/Product/...)
description_htmlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, which the description's mutation framing aligns with (no contradiction). Beyond the annotations, the description discloses the live-product refusal guardrail and the approval-tier semantics (from-now-on vs just-once approval, and the instruction not to re-ask in chat) — substantive behavioral context not available in the structured fields.

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?

Front-loaded with the core scope and guardrail, followed by routing and approval guidance. Each sentence earns its place; only the approval paragraph is slightly verbose but it conveys actionable behavioral instructions.

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?

Complete for a mutation tool given the annotations carry the safety profile: it covers purpose, guardrails, approval behavior, and routing. No output schema exists, but the description does not need to explain return values. Minor gaps on field semantics are the only shortfall.

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?

Schema coverage is 40%, and the description names the updatable fields (title, description, tags), partially compensating. However, it adds little beyond naming them — no format details (e.g., description_html being HTML) or guidance on whether fields are overwrite vs merge. The schema documents product_id and companyId, so the description's marginal value over schema is modest.

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?

States a specific verb (update), resource (Shopify DRAFT product), and scope (title, description, or tags), and distinguishes itself from live-product editing by explicitly refusing ACTIVE products. This differentiates it from the sibling update_live_shopify_product without needing to open either schema.

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?

Gives explicit when-to-use context ('building out or revising unpublished catalog'), an explicit exclusion ('Refuses live (ACTIVE) products'), and names the alternative ('the approval-gated live tool'). The routing line reinforces the draft-only scope, leaving nothing to inference.

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.

Resources