Skip to main content
Glama

Publish Post

publish_post
Destructive

Publish a draft post now, to every network it is set to go to — any connected network: Facebook, Instagram, LinkedIn, X, TikTok, YouTube, Threads, Pinterest, Bluesky, Snapchat, Telegram, Discord. Pass platforms to choose (['all'], ['tiktok'], ['linkedin','instagram'] …), instagramPlacement 'story' for an Instagram story only, and instagramTrialReel only when the user asks for a trial reel. Only draft posts can be published. The result names what was published, what failed and what could not publish.

Input Schema

NameRequiredDescriptionDefault
postIdYesThe post ID to publish
platformsNoWhich networks this post goes to. Omit to use the account's own publishing settings. ['all'] = every network the account has connected. Or any subset the user names, e.g. ['tiktok'], ['linkedin'], ['linkedin','instagram']. Only connected networks publish; the result lists any that can't, and why (not connected, switched off, needs a video).
facebookPlacementNoFacebook only: 'feed', 'story' (Page story only, no feed post, no caption) or 'feed_and_story'. Omit to keep the account default.
instagramPlacementNoInstagram only: 'feed' = feed post, no story copy; 'story' = Instagram STORY ONLY — no feed post, no caption, first image or video only; 'feed_and_story' = feed post plus the same media as a story. Omit to keep the account default.
instagramTrialReelNoPublish to Instagram as a TRIAL REEL (shown to non-followers first, kept off the profile grid; Instagram may share it with everyone if it performs well). Set true ONLY when the user explicitly asks for a trial reel for this post — never on your own. Needs a single video and Instagram among the networks. false withdraws it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true, non-idempotent, open-world, so the safety profile is covered. The description adds that only drafts are eligible and that the result reports what published, failed, or could not publish — useful behavioral context beyond the annotations, though no auth or reversibility detail.

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

Conciseness3/5

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

Front-loads the action well, but then enumerates all thirteen networks twice-over in prose even though the enum is in the schema, and repeats the platforms/trialReel guidance already given in the schema descriptions. The redundancy costs it length without adding selection value.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation tool with no output schema, the description covers the action, the draft-only precondition, and the shape of the result. Nothing critical is missing, though it could say more about the consequences of a destructive publish.

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 description coverage is 100%, so every parameter is already documented with examples and enum meanings. The description largely restates the same platform list and placement semantics, adding only marginal value over the schema; 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 ('Publish a draft post now, to every network it is set to go to') and constrains it to drafts, which implicitly separates it from schedule_post. An agent can identify the action 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?

Gives real conditional guidance: 'Only draft posts can be published', pass platforms to choose targets, instagramPlacement 'story' for a story only, and instagramTrialReel 'only when the user asks for a trial reel — never on your own'. It never explicitly routes to a sibling like schedule_post, so it stops short of a 5.

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