Skip to main content
Glama

Get PrestaShop CMS Page

ps_get_cms_page
Read-onlyIdempotent

Retrieve complete CMS page details by ID, including HTML content, SEO metadata, and configuration for the selected language.

Instructions

Get full details of a CMS page by ID, including content and SEO metadata.

Args:

  • id: CMS page ID (required)

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

Returns: Complete CMS page data with title, content (HTML), SEO metadata, and configuration.

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_get_cms_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCMS page ID
lang_idNoLanguage ID for multilang fields1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds useful behavior context about what is returned (HTML content, SEO metadata, configuration) and that lang_id drives multilang field resolution. It does not disclose error behavior for missing IDs or how large HTML payloads are handled.

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 statement of purpose followed by clearly separated Args and Returns sections, easy to scan. The Args block is mostly redundant with the schema, which is minor waste but not harmful.

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?

With no output schema, the description usefully enumerates the return payload (title, HTML content, SEO metadata, configuration), which is the main gap it needed to fill. For a simple two-parameter read tool with full annotations, this is close to complete; only failure-mode behavior is missing.

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 both parameters are already documented, and the Args section largely restates them. The one marginal addition is clarifying that lang_id controls which language variant is returned for multilang fields, but it adds no format or constraint detail beyond the schema.

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 ("Get full details of a CMS page by ID") plus the payload scope (content and SEO metadata). The "by ID" framing implicitly separates it from ps_list_cms_pages and the create/update siblings, though no sibling is named explicitly.

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?

Usage is implied by the required id parameter and the "get full details" phrasing, so an agent can infer this is the single-record lookup. There is no explicit when-to-use/when-not guidance, no mention of ps_list_cms_pages for discovery, and no note on what happens if the ID does not exist.

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