Skip to main content
Glama
Upload-Post

Upload-Post

Official

Delete a published post

unpublish_post
Destructive

Delete a published post from supported social platforms after previewing the exact action and confirming approval; use native apps for unsupported networks.

Instructions

Delete a post already published to a platform. Supported: facebook, youtube, x, linkedin, pinterest, bluesky, google_business. Instagram, TikTok, Threads and Reddit posts cannot be deleted through Upload-Post; they have to be removed in the platform's own app. Telegram posts can be deleted too: pass the post id returned by the upload. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.

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": {
      "user": "<user>",
      "platform": "<platform>",
      "postId": "<postId>"
    },
    "name": "unpublish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesUpload-Post profile name.
postIdYesPlatform post ID to delete (Bluesky: the post AT-URI; Google Business: the full accounts/.../locations/.../localPosts/... name returned on upload).
platformYesSocial platform the post lives on.
confirmedNoSet to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent.
delete_all_messagesNoTelegram only: also delete every message the post was split into (album, rest of a long caption, first comment).

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.25.0
    • addedInput schema / properties / delete_all_messages
      Added value: +{
      +  "description": "Telegram only: also delete every message the post was split into (album, rest of a long caption, first comment).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "facebook",
      -  "youtube",
      -  "x",
      -  "linkedin",
      -  "pinterest",
      -  "bluesky",
      -  "google_business"
      -]New value: +[
      +  "facebook",
      +  "youtube",
      +  "x",
      +  "linkedin",
      +  "pinterest",
      +  "bluesky",
      +  "google_business",
      +  "telegram"
      +]
  2. Changed4 schema fields changedv0.17.2
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / platform / description
      Previous value: -"Social platform. One of facebook, youtube, x, linkedin, threads. Instagram and TikTok are unsupported."New value: +"Social platform the post lives on."
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "facebook",
      -  "youtube",
      -  "x",
      -  "linkedin",
      -  "threads"
      -]New value: +[
      +  "facebook",
      +  "youtube",
      +  "x",
      +  "linkedin",
      +  "pinterest",
      +  "bluesky",
      +  "google_business"
      +]
    • changedInput schema / properties / postId / description
      Previous value: -"Platform post ID to delete."New value: +"Platform post ID to delete (Bluesky: the post AT-URI; Google Business: the full accounts/.../locations/.../localPosts/... name returned on upload)."
  3. Changed2 schema fields changedv0.11.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  4. Addedv0.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description adds material context beyond them: the no-side-effect preview mode, the platform allowlist/blocklist, and the Telegram detail that the post id comes from the upload response. It makes the destructive semantics and the approval gate unambiguous.

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?

Front-loaded with the core action, then platform coverage, exclusions, and the confirmation protocol in a logical order with no filler. The final sentence is long and could be split, but every clause carries operational information.

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 5-parameter destructive tool with full schema coverage and an output schema, the description covers everything an agent needs: supported platforms, hard exclusions with a fallback, the approval round-trip, and the Telegram-specific id caveat. Return values need not be explained because an output schema exists.

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 coverage is 100%, so the schema already documents every parameter including the `confirmed` approval gate and `delete_all_messages` Telegram option. The description largely restates those points (Telegram postId from upload, preview-then-confirm) rather than adding new syntax or edge-case meaning, so the baseline 3 applies.

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 ('Delete a post already published to a platform') and enumerates the exact platform set it operates on. It is clearly distinguishable from siblings like delete_comment, delete_autodm, or cancel_scheduled, which target different objects.

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?

Gives explicit when-to-use (six supported platforms plus telegram) and when-not-to-use (Instagram, TikTok, Threads, Reddit must be removed in the platform's own app). It also prescribes the two-step call sequence: call without `confirmed` for a preview, then repeat with `confirmed: true` after approval.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools