Skip to main content
Glama

updatePage

Modify an existing Shopify page by ID, including its title, handle, content, and published status, to keep store content accurate.

Instructions

Update an existing page

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "updatePage"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPage GID (e.g. gid://shopify/Page/123)
titleNo
handleNo
contentNo
publishedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden for a mutation tool. It does not disclose whether omitted fields are preserved or cleared (patch vs replace), what permissions are required, whether changes are reversible, or what a successful response contains. Only the weak inference that the page must already exist is conveyed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short and front-loaded with the verb, so there is no wasted wording. But brevity here reflects under-specification rather than disciplined editing, leaving nothing to structure.

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

Completeness1/5

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

For a 5-parameter mutation with no annotations, no output schema, and 20% schema coverage, the description provides essentially none of the missing information an agent needs. Field semantics, update semantics, and result behavior are all unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 20% — only the id parameter is documented as a Page GID. The description adds no meaning for title, handle, content, or published, and gives no indication that id is required while the rest are optional. It therefore fails to compensate for the coverage gap on a 5-parameter mutation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Update" + "page"), so the basic operation is unambiguous. However, it adds nothing beyond the tool name updatePage and gives no sense of scope (which fields, what kind of update), so it does not help discriminate meaningful behavior from siblings like createPage.

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?

There is no guidance on when to use this tool, no preconditions such as fetching the page first, and no mention of alternatives for creating versus editing pages. The single phrase "existing page" is the only usage constraint and it is implicit at best.

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