Skip to main content
Glama

Create PrestaShop CMS Page

ps_create_cms_page

Create a new CMS page in PrestaShop with a title, HTML content, and optional SEO meta fields and URL slug. Use it to add static store pages such as About or Terms.

Instructions

Create a new CMS (static content) page.

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

Args:

  • meta_title: Page title (required)

  • content: Page content (HTML allowed, required)

  • active: Activate the page (default: true)

  • id_cms_category: CMS category ID (default: 1)

  • meta_description: SEO meta description

  • link_rewrite: URL slug (auto-generated from title if not provided)

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

Returns: Created CMS page ID and summary.

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": {
      "meta_title": "<meta_title>",
      "content": "<content>"
    },
    "name": "ps_create_cms_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNoActivate the page
contentYesPage content (HTML)
lang_idNoLanguage ID1
meta_titleYesPage title
link_rewriteNoURL slug
id_cms_categoryNoCMS category ID
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
Behavior3/5

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

Annotations already establish this is a non-readonly, non-idempotent, non-destructive write, and the description adds a genuinely useful auth prerequisite plus what is returned. It stops short of disclosing failure modes an agent would want, such as duplicate link_rewrite handling or whether creation is atomic.

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 critical prerequisite is front-loaded as a warning, and the Returns line is compact. The Args block largely restates schema descriptions verbatim, which is low-value duplication, though the link_rewrite note justifies part of it.

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?

For a write tool with no output schema, the description supplies the auth gate, defaults, and return value, which is close to what an agent needs. The undocumented confirmation_token is the one remaining hole.

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, but the description earns extra by explaining that link_rewrite is auto-generated from the title when omitted and that content accepts HTML. It omits confirmation_token, which appears in the schema, leaving one parameter unaddressed.

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: "Create a new CMS (static content) page," which is enough to separate it from ps_get_cms_page, ps_update_cms_page, and ps_list_cms_pages by verb alone. It does not explicitly name a sibling, so it falls just 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 Guidelines4/5

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

Provides a concrete precondition the agent must check before calling: PS_READONLY=false and POST enabled on the Webservice key. It does not state when to prefer this over an update or how to handle an already-existing page/slug, so the when-not guidance is incomplete.

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