Skip to main content
Glama

Preview a cross post

preview_cross_post
Read-onlyIdempotent

What cross_post would do with the same inputs, without sending anything: the adapted text for each account, the media it takes, the actions it would count, and every warning and skip. Show it to the owner before posting. Instagram needs a photo or video, takes a caption up to 2,200 characters and at most 30 hashtags. LinkedIn takes up to 3,000 characters. Facebook Pages take text with one photo, one video (a Page video, or a Reel with overrides.facebook.format reel) or a link. TikTok needs a video or photos, a caption up to 2,200 characters for a video or 4,000 for photos, and the owner's privacy choice. Text over a limit is shortened with a warning, never dropped silently, and a target that cannot take the post is skipped with the reason. Read-only.

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": {
      "targets": "<targets>"
    },
    "name": "preview_cross_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoA web page to share (https).
textNoThe post text. Each platform gets it adapted to its limits.
mediaNoPublic https links to photos, or to one video. Give type when a link has no file extension.
send_atNoPost later instead of now: local time like 2026-11-20T09:00 in timezone, or next_slot for each account's next free posting slot (set_post_slots).
targetsYesThe accounts to post on. A Facebook Page target is the Facebook connection id (list_integrations) plus page_id (list_facebook_pages).
timezoneNo
overridesNoText for one platform instead of text. TikTok needs privacy, the owner's choice of who can see the post.
subtitles_urlNoA public https link to an .srt or .vtt subtitle file for the video. Facebook Page videos and Reels take it; Instagram, LinkedIn and TikTok do not, so there the video goes without and a warning says so.
owner_approvedNotrue once the owner has approved this exact post. TikTok and Facebook Pages need it.
subtitles_localeNoThe subtitles' language, like en_US (default) or fr_FR.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and idempotentHint, but the description adds substantive behavior on top: no content is sent, over-limit text is shortened with a warning rather than dropped silently, and incompatible targets are skipped with a stated reason. It also surfaces platform-specific acceptance rules (character caps, hashtag limits, media requirements) that would otherwise only be discovered at run time.

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?

The core claim and the owner-approval directive are front-loaded, and the platform paragraphs are information-dense. The platform-limit sentences are long and somewhat list-like, so a reader must parse carefully, but no sentence is filler.

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?

For a 10-parameter tool with nested override objects and no output schema, the definition states what a preview returns, how conflicts are resolved (warning vs. skip), and what each platform accepts. An agent can decide to call it and interpret the result without further documentation.

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 90%, so the baseline is 3; the description still adds meaning by tying overrides.facebook.format "reel" to Facebook Page video handling, explaining that TikTok requires the owner's privacy choice, and noting that subtitles_url only applies to Facebook Page video and Reels. It stops short of covering timezone, send_at, or target/page_id semantics in prose.

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?

Opens with a specific definition: it reports what cross_post would do with the same inputs without sending anything, and enumerates the return contents (adapted text per account, media, counted actions, warnings and skips). This makes it unmistakably a dry-run counterpart to the posting tool rather than another read helper.

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?

"Show it to the owner before posting" gives an explicit use context and sequencing relative to actually posting. It does not, however, name or exclude sibling read tools (e.g. estimate_post_audience) that an agent might pair with it.

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