Skip to main content
Glama

Send CMS Preview

send_cms_preview

Saves a blog, FAQ or competitor post that is not yet approved (draft, changes requested, or in review) to its website CMS as a draft, so a reviewer can open it on the customer's own site before approving. Sends the post's current saved content. Always a draft, even when the connection publishes live, and nothing goes live. Sending again updates the same CMS document; approving later updates it too. Refused, with the reason, for an approved, scheduled or published post, a channel with no CMS mapping, or a collection without drafts. Refused as a conflict when the CMS page changed since Mark last sent it; choose overwrite or keep with resolve_cms_conflict. Refused when another page in the CMS uses the post's slug: the error names each page (CMS id, title, its latest draft when it differs, live or draft, edit link, and the Mark post that owns it, if any) and says which ids useCmsPageId accepts. Then either change the slug with save_post, or call again with useCmsPageId to send into that page. Does not approve or change the post's status. Related: get_post (website.previewUrl, previewSentAt), save_post, approve_posts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
postIdYesThe website post to preview.
useCmsPageIdNoSend into this existing CMS page instead: a page id a refusal listed as one useCmsPageId accepts (not live, and no other Mark post owns it). Replaces that page's content with this post. It stays a draft, and from then on it is this post's page.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes
sentAtYes
previewUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / useCmsPageId
      Added value: +{
      +  "description": "Send into this existing CMS page instead: a page id a refusal listed as one useCmsPageId accepts (not live, and no other Mark post owns it). Replaces that page's content with this post. It stays a draft, and from then on it is this post's page.",
      +  "pattern": "^[\\w-]{1,128}$",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations mark this non-read-only and open-world, but the description supplies the behavioral detail they cannot: it is always a draft, nothing goes live even on a publishing connection, repeats update the same CMS document, refusals carry reasons, and the slug-collision error enumerates CMS ids, titles, draft states and owning posts. useCmsPageId replaces another page's content, which is worth knowing given destructiveHint=false, though the replacement stays scoped to a draft and does not rise to a contradiction.

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?

Three dense paragraphs with the core action front-loaded in the first sentence and 'Related:' cross-references last. It is longer than most definitions, but nearly every clause carries distinct operational information (state guards, idempotent-update behavior, conflict routing, slug collision payload).

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?

An output schema exists, so return values need no explanation, and the description covers the remaining agent-relevant surface: entry conditions, refusal taxonomy, recovery paths, and cross-references to get_post, save_post, approve_posts and resolve_cms_conflict. Nothing needed to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so both parameters are already documented and the baseline is 3. The description goes further by explaining how useCmsPageId is actually obtained (the ids a refusal lists as acceptable), its side effect of replacing the target page's content, and that the page then becomes this post's page permanently.

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 with scope: saves an unapproved post (draft, changes requested, in review) to its website CMS as a draft for on-site review. It is immediately separable from siblings like approve_posts, save_post and resolve_cms_conflict, and it explicitly notes what it does NOT do ('Does not approve or change the post's status').

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?

Explicit preconditions (post must be in draft/changes-requested/in-review), explicit refusal conditions (approved, scheduled or published post; channel with no CMS mapping; collection without drafts), and explicit alternatives for each refusal case (save_post to change the slug, useCmsPageId to target an existing page, resolve_cms_conflict for overwrite/keep).

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