Skip to main content
Glama

Update PrestaShop CMS Page

ps_update_cms_page
Idempotent

Update an existing CMS page to edit its title, HTML content, SEO metadata, URL slug, or active status in PrestaShop.

Instructions

Update an existing CMS page.

⚠️ Requires PS_READONLY=false and PUT enabled on the PrestaShop Webservice key.

Args:

  • id: CMS page ID (required)

  • meta_title: Page title

  • content: Page content (HTML)

  • active: Activate/deactivate

  • meta_description: SEO meta description

  • link_rewrite: URL slug

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Confirmation with updated fields.

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": "ps_update_cms_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCMS page ID
activeNoActivate or deactivate
contentNoPage content (HTML)
lang_idNoLanguage ID1
meta_titleNoPage title
link_rewriteNoURL slug
meta_descriptionNoSEO meta description
confirmation_tokenNoConfirmation token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With annotations already declaring readOnlyHint=false, idempotentHint=true and destructiveHint=false, the description still adds real value: an authentication/configuration precondition that is invisible in the schema, an enumeration of updatable fields, and a return shape. It does not clarify whether unspecified fields are preserved or cleared, which is the main behavioral question for an update tool.

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-loads the action, then the prerequisite warning, then structured Args and Returns sections — easy to scan. The Args block duplicates schema descriptions verbatim, which is low-value repetition, but the overall size is proportionate and there is no filler prose.

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?

For an 8-parameter mutation tool with no output schema, the definition covers the action, the auth prerequisite, the field list, defaults, and a return summary. Nothing essential to invoking it correctly appears to be missing, though partial-update semantics would be a welcome addition.

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 description coverage is 100%, so the schema already defines every parameter and the description's Args list largely restates it. The description omits confirmation_token entirely (8 schema params vs 7 listed) and adds no format details such as HTML expectations for content or slug casing rules beyond what the schema's pattern conveys.

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

Purpose4/5

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

States a specific verb and resource ("Update an existing CMS page") that an agent can distinguish from the create/get/list CMS siblings by name alone. It does not explicitly name an alternative or state what makes it different beyond the verb, so it falls short of a 5.

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

Usage Guidelines3/5

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

The warning gives a hard prerequisite (PS_READONLY=false, PUT enabled on the Webservice key), which is genuine usage context. However, there is no guidance on when to prefer this over ps_create_cms_page or ps_update_seo, nor any note on what happens to fields that are omitted.

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

Deploy Server

Other Tools