Skip to main content
Glama

Check published appearance

preview_version
Read-onlyIdempotent

Returns interactive_url. Screenshots are disabled on this server: no images are returned and screenshot_status is disabled. Show interactive_url to the author only: it is the live link when this version is current; otherwise a single-use link for the author (open within 2 minutes) that opens this version on the live link, where likes, forms and cards work as on the real page and the author's actions are not counted as reader stats. Never forward it to readers; they get the live link after publishing. Does not publish or edit access. Device emulation does not verify real phones, WeChat or cross-device remote control. Pass embed_origin to also get embed.url: an embed link only that parent origin (a platform first-party origin such as https://claudefleet.24haowan.com, or one on the workspace embed allowlist) may frame, read-only, no login, no visit tracking, no feedback or form submissions, valid at most 60 minutes; call again to refresh. Author links are for the author only; never forward them to readers. Keywords: publish · web page · webpage · link · share · share to WeChat · WeChat link · html · pdf · markdown · upload · LivePage · proposal.

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": {
      "version_id": "<version_id>"
    },
    "name": "preview_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
panelNodocument
themeNodefault
wait_msNo
audienceNovisitor
viewportsNo
version_idYes
embed_originNoTo embed this version in another page, the parent origin (such as https://claudefleet.24haowan.com); platform first-party origins are allowed by default, any other origin must already be on the workspace embed allowlist. Returns embed.url (read-only, no login, at most 60 minutes, only that origin may frame it).
embed_renewableNoFor an authenticated internal studio: also return embed.renewal (read-only, exact version/origin, max 7 days or token expiry). Keep renewal.key on the trusted server; never expose it in a page URL. No publishing or editing rights.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / embed_renewable
      Added value: +{
      +  "description": "For an authenticated internal studio: also return embed.renewal (read-only, exact version/origin, max 7 days or token expiry). Keep renewal.key on the trusted server; never expose it in a page URL. No publishing or editing rights.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / embed_origin / description
      Previous value: -"To embed this version in another page, the parent origin (such as https://ccquota.24haowan.com); it must already be on the workspace embed allowlist. Returns embed.url (read-only, no login, at most 60 minutes, only that origin may frame it)."New value: +"To embed this version in another page, the parent origin (such as https://claudefleet.24haowan.com); platform first-party origins are allowed by default, any other origin must already be on the workspace embed allowlist. Returns embed.url (read-only, no login, at most 60 minutes, only that origin may frame it)."
  3. Changed1 schema field changed
    • addedInput schema / properties / embed_origin
      Added value: +{
      +  "description": "To embed this version in another page, the parent origin (such as https://ccquota.24haowan.com); it must already be on the workspace embed allowlist. Returns embed.url (read-only, no login, at most 60 minutes, only that origin may frame it).",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.4/5.0
Behavior5/5

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

Goes well past the readOnlyHint/idempotentHint annotations: it discloses that screenshots are disabled server-wide, that a non-current version yields a single-use link expiring in 2 minutes, that author actions aren't counted as reader stats, and that embed links are origin-locked, read-only, untracked and expire in 60 minutes. It also warns that device emulation isn't a real-device verification and how to handle embed renewal keys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is a run-on chain of clauses with duplicated content — the author-only/never-forward rule appears twice (mid-description and again as the final sentence). Purpose and return value are buried behind expiry and embedding caveats, and the trailing keyword list adds bulk without meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 explains the return shapes (interactive_url, embed.url, embed.renewal) and link lifetimes. But for a 9-parameter tool at low schema coverage it leaves most inputs undefined, so an agent can call it correctly only in the minimal version_id case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 22% across 9 parameters, so the description must compensate and largely does not: page, panel, theme, wait_ms, audience and viewports are never explained. Only embed_origin and embed behavior receive narrative treatment, and viewports is only obliquely gestured at via the device-emulation caveat.

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?

Opens with a concrete statement of what is returned ("Returns interactive_url") and clarifies this is a live/preview link rather than a publishing action ("Does not publish or edit access"). It distinguishes author links from reader links, so an agent can tell what it produces, though it never differentiates this preview tool from siblings like get_reader_view or preview_downloads.

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?

Gives conditional guidance for parameters ("Pass embed_origin to also get embed.url", "call again to refresh") and a strong audience rule ("Show interactive_url to the author only... Never forward it to readers"). However, it offers no guidance on when to choose this tool over the other preview/read tools in the catalog; usage is implied rather than routed.

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