Skip to main content
Glama

mcp-elementor__elementor-create-preview-link

PURPOSE

Creates a signed, time-limited URL that renders a snapshot of the current Elementor content of a post without publishing it. The URL is anonymous (no WordPress login required).

WHEN TO USE

Agent self-validation only. Call this right after a mutation (e.g. elementor/build-composition, elementor/manage-elements, elementor/update-page-settings) so you can fetch the returned url with your browser/screenshot tool and verify the change rendered as intended.

DO NOT SHARE url WITH THE USER

The url field is throwaway — time-limited, frozen to a snapshot, and stops working once it expires. It is meant for your own verification loop.

If the user needs a link, share the edit_url field returned by this same call. The editor link:

  • Stays valid across sessions.

  • Reflects live changes, not a frozen snapshot.

  • Requires the user to be logged into WordPress with edit permissions — which is the correct access model for anyone who should be looking at draft content. Through Royally: waits for a person to approve it in Royally; nothing on the site changes until then. This connection has no undo; Royally recorded the change but cannot reverse it.

Input Schema

NameRequiredDescriptionDefault
post_idYesPost ID to snapshot and share.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the annotations: the URL is anonymous (no WP login), time-limited, frozen to a snapshot, and expires; edit_url persists across sessions and requires edit-capable login. That is exactly the context annotations (readOnlyHint=false, openWorldHint=true) cannot convey. The trailing 'Through Royally: waits for a person to approve it... no undo' sentences describe a mutation-approval flow that doesn't obviously apply to a preview-link creation, muddying an otherwise strong disclosure.

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 PURPOSE and WHEN TO USE sections are tight, front-loaded and skimmable. However, the final Royally paragraph about human approval and 'this connection has no undo' is boilerplate unrelated to generating a preview link and consumes attention without earning 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?

With no output schema, the description usefully names the returned fields (`url` and `edit_url`) and their differing lifetimes, which is the information an agent most needs. The only gap is the ambiguous Royally/undo passage, which leaves unclear whether this call has side effects requiring approval.

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 post_id and site_id are already documented, and the enum on site_id is in the schema. The description only implies the target via 'current Elementor content of a post' — baseline 3 applies when the schema does the heavy lifting.

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

Purpose5/5

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

The first line states a specific verb and resource ('Creates a signed, time-limited URL that renders a snapshot of the current Elementor content of a post') with the crucial qualifier 'without publishing it'. It also distinguishes the two return values (url vs edit_url) so an agent knows this is not the same thing as a public share link.

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

Usage Guidelines5/5

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

Explicitly scopes use to 'Agent self-validation only', names the exact trigger (right after `elementor/build-composition`, `elementor/manage-elements`, `elementor/update-page-settings`), and states the follow-up action (fetch url with browser/screenshot tool). It also gives a clear when-not: do not hand `url` to the user, use `edit_url` instead.

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