Skip to main content
Glama

Delete a published post from a social account

delete_published_post
DestructiveIdempotent

DELETES a post that already went out from the social account it was published on — it disappears from the public profile with its likes and comments, and cannot be undone. One account per call: pass connection_id (get_post_performance lists each account a post went out on); it may be left out only when the post went out on one account. Not every platform allows it: Instagram posts have to be deleted in the Instagram app, and a YouTube channel connected for uploads only has to delete in YouTube Studio — the answer says so plainly. Only with the user's explicit go-ahead. The post stays on the calendar and can be published again. To stop a post that has not gone out yet, use cancel_queued_post instead.

Input Schema

NameRequiredDescriptionDefault
post_idYesThe post id from get_calendar
brand_idYesBrand workspace id from list_brands
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
connection_idNoThe account to delete it from (connection_id from get_post_performance or list_social_accounts).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "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 already flag destructiveHint=true and readOnlyHint=false, yet the description still adds irreversibility ('cannot be undone'), the exact data lost (likes and comments), the fact the post survives on the calendar and can be republished, and the platform-level refusal paths. It also explains what the answer looks like when deletion is not permitted, which no annotation conveys.

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 destructive action and its consequence, then scoping, then platform caveats, then consent, then the alternative — a sensible ordering. The single paragraph is dense and long, but each clause carries distinct routing or safety information, so little is wasted.

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 destructive, no-output-schema tool this covers everything an agent needs: consequences, consent requirement, account scoping, platform refusals, and post-deletion state. No return-value explanation is required since the response shape is described behaviorally ('the answer says so plainly').

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 the baseline is 3; the description earns above that by explaining the connection_id optionality rule ('may be left out only when the post went out on one account') and pointing to get_post_performance for multi-account posts. post_id and brand_id are only referenced as coming from siblings, which the schema already states.

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 that already went out from the social account it was published on), plus the visible consequence (gone from public profile with likes and comments). It separates itself from the queued-post sibling by name, so an agent can route between them without opening schemas.

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-not guidance ('To stop a post that has not gone out yet, use cancel_queued_post instead') and a hard precondition ('Only with the user's explicit go-ahead'). It also names platform exclusions (Instagram app, YouTube Studio for uploads-only channels) so the agent knows when the call will be refused.

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