Skip to main content
Glama

Get Page Data

elementor_get_page_data
Read-only

Get the Elementor element tree (sections, columns, widgets) for a specific page/post. Returns the full JSON structure used by Elementor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
post_idYesPost/page ID to get Elementor data for
site_idNoSite ID to target (optional if you have only one connected site)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds that the return is the full JSON structure Elementor stores, which is useful context, but says nothing about size/pagination, permission requirements, or behavior when a page has no Elementor data.

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?

Two short sentences, front-loaded with the verb and resource, no filler or boilerplate. The second sentence partly restates the first (JSON structure = element tree), so it is efficient but not maximally tight.

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 simple read tool with 100% schema coverage and read-only annotations, the description supplies the essential missing piece – what the response actually contains (raw Elementor JSON tree). No output schema exists, yet the return shape is described adequately; only edge-case behavior remains unexplained.

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% and both parameters (post_id, site_id) are documented in the schema itself. The description's phrase 'a specific page/post' loosely mirrors post_id but adds no format, ID-source, or site-selection guidance, so it stays at the baseline for a fully documented 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?

Specific verb ('Get') plus resource ('Elementor element tree'), with concrete scope ('sections, columns, widgets') and target ('a specific page/post'). It is clearly distinct from generic siblings like wp_get_page, but it never names or contrasts with the closest alternatives (divi_get_page_data, elementor_list_pages, elementor_get_widget_schema).

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 only implied by 'for a specific page/post' – the agent can infer you call this when you need a page's Elementor structure. There is no explicit when-to-use, when-not-to-use, or named alternative (e.g., use wp_get_page_html for rendered markup or elementor_get_widget_schema for widget definitions).

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