Skip to main content
Glama

Preview immediate post publication

preview_publish_posts_now
Read-onlyIdempotent

Validates an exact batch of saved Posts and returns a snapshot of each destination, exact copy, media identity, revision and content-approval status. It does not approve, enqueue, schedule, or publish anything. The previewHash binds that exact content and destination. If content is not yet approved, the publish action will approve only this exact previewed content. Requires the separate publish permission.

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": {
      "idempotencyKey": "<idempotencyKey>",
      "timezone": "<timezone>",
      "items": "<items>"
    },
    "name": "preview_publish_posts_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
timezoneYes
idempotencyKeyYes
expectedPreviewHashNo

Output Schema

NameRequiredDescriptionDefault
previewYes
previewHashYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnly, non-destructive, idempotent and closed-world, so the safety profile is covered; the description still adds real context beyond that: the previewHash binds exact content and destination, approval is not performed here, and a separate publish permission is required. It does not describe failure behavior (what a failed validation returns), which keeps it short of a 5.

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?

Four sentences, each doing distinct work: what it validates, what it does not do, the hash-binding contract, and the permission prerequisite. Well front-loaded with no filler, though the approval/permission sentences could be tightened into one.

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 not be explained, and the description still summarizes the snapshot fields. For a read-only preview tool it covers call semantics, the hash contract, and the permission prerequisite; only parameter details and error shape are missing, and those are secondary.

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 0%, so the description must carry parameter meaning, and it only partially does. It explains the semantics of expectedPreviewHash ("binds that exact content and destination") and hints at the items array via "exact batch of saved Posts" and "each destination," but says nothing about timezone, idempotencyKey, or the postId/variantId/targetKey composition of each item.

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 ("Validates an exact batch of saved Posts and returns a snapshot of each destination, exact copy, media identity, revision and content-approval status") and then names the four things it does NOT do (approve, enqueue, schedule, publish). That negative clause is what separates it from publish_posts_now and preview_schedule_posts without the agent needing to open any 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 implied rather than spelled out: an agent can infer this is the pre-flight check before publish_posts_now, especially from "the publish action will approve only this exact previewed content." However, it never states the inverse condition ("if you intend to actually publish, call publish_posts_now after this") or when previewing is unnecessary, leaving the routing to inference.

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