Skip to main content
Glama

mcp-easy-ai__wp_create_preview_link

Read-only

Creates a temporary preview link for an unpublished post, page or custom post type item (draft, pending, scheduled or private). Opening the link shows the item rendered by the theme exactly as a visitor will see it once published, with no login, so a browser or fetch tool can check layout, images and styling. Required: post_id. Optional: expires_in_minutes (5–1440, default 60). Anyone with the link can view the item until it expires; a link cannot be revoked early, and stops working if you lose edit access to the item. The page shows the item as saved when it is opened, so after editing ask for a new link, since a fetch tool may return its cached copy of an old URL. A published item is refused with its public URL. Requires edit access to the item. Returns { post_id, post_type, status, url, expires_at, expires_in_minutes, notice }. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
post_idYesID of the post, page or custom post type item to preview.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
expires_in_minutesNoHow long the link works, in minutes: 5 to 1440 (24 hours). Default 60.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the read-only/open-world annotations: it discloses that anyone with the link can view the item, that early revocation is impossible, that access dies with edit permission, and that stale fetches may be cached. It also explicitly reconciles the 'creates' verb with the server's read-only marking, so no ambiguity is left for the agent.

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 with purpose and state scope before the caveats; each sentence contributes a distinct operational fact (expiry, caching, refusal, return shape). It is dense — seven sentences — but not padded.

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?

No output schema exists, yet the description enumerates the returned fields and covers the permission prerequisite, the failure mode for published items, and the caching pitfall. An agent has everything needed to call this correctly and interpret the result.

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 coverage is 100%, so post_id and expires_in_minutes are already fully documented with range and default. The description restates the same range/default and only adds the consequence that the link stops working at expiry, so baseline 3 is appropriate.

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?

States a specific verb and resource ('Creates a temporary preview link') and scopes it to unpublished items, enumerating the exact statuses (draft, pending, scheduled, private) and the effect (theme-rendered, no login). An agent can tell this apart from post-read or page-render siblings without opening the schema.

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?

It clearly delineates the usable case (unpublished items) and the excluded case (a published item is refused with its public URL), which effectively tells the agent what to do instead. It does not name a sibling tool by name, so it falls short of the explicit 'use X instead' pattern.

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