Skip to main content
Glama

Update Shopify page draft

update_shopify_page_draft
Destructive

Update an UNPUBLISHED Shopify page's title or body. Refuses published pages — changing what buyers see needs the approval-gated publish flow. Use when a person or agent is revising draft site content.

Routing: Shopify: edit an UNPUBLISHED page — refuses published pages

[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
titleNo
page_idYesPage gid (gid://shopify/Page/...)
body_htmlNo
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the refusal behavior for published pages, the approval-gated publishing path, and the sensitive-tier approval semantics including one-time vs. from-now-on approvals. This gives the agent actionable behavioral context that annotations alone do not convey.

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 core purpose is front-loaded in the first sentence and the guidance is well sectioned. The 'Routing' line partly repeats the earlier refusal statement, and the approval bracket is verbose, but each section still earns its place for agent decision-making.

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?

Covers purpose, scope, refusal behavior, use case, and approval workflow. The main gaps are the lack of detail on parameter combinations and return/error behavior, though the annotations already carry the safety profile and this is a focused update tool.

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 only 50%, and the description adds the useful 'title or body' relationship for the two undocumented parameters. However, it does not clarify whether at least one is required, whether both can be updated together, or any format constraints, so it only partially compensates for the schema gap.

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'), a specific resource ('UNPUBLISHED Shopify page'), and the scoped fields ('title or body'). It explicitly distinguishes itself from published-page mutation and from sibling draft tools by refusing published pages.

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?

Gives a clear use case: 'Use when a person or agent is revising draft site content.' It also states the when-not case ('Refuses published pages') and points to the approval-gated publish flow, though it does not name the exact sibling tool such as publish_shopify_page.

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