Skip to main content
Glama

Cancel a scheduled post

publish_post_cancel
DestructiveIdempotent

[PUBLISHES to social accounts · publish scope] Takes a SCHEDULED post off the platform schedule and marks it cancelled (the draft stays, so it can be published again). Safe to repeat. Refused within 5 minutes of the slot, and when the platform will not remove it (some YouTube uploads). For a post that is already live use publish_post_delete. A post still held for review is discarded instead (discarded: true, nobody emailed); the brand owner's account-wide key may discard it. Needs the publish scope (or admin) and the Pro plan or higher; each publish counts against the plan's direct posts for the month. Confirm with the user first. Was cancel_scheduled_post (still callable for one release). (Wraps DELETE /api/v2/posts/{id}.)

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": {
      "id": "<id>"
    },
    "name": "publish_post_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123". The post: `convexPostId` from POST /api/v2/publish, or `posts[].id` from GET /api/v2/content/{id}.

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 only say destructive/idempotent/openWorld; the description adds what is actually destroyed (schedule only, draft stays), the 5-minute cutoff, platform-level refusals, the review-held case that is discarded with `discarded: true` and no email, the account-wide key exception, scope and plan requirements, and quota consumption. That is substantial behavior beyond the annotations.

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 action and scope, then the alternatives and edge cases. Dense and mostly earns its space, though the parentheticals and the legacy alias note add some visual weight.

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?

No output schema, but the description still discloses the meaningful return signal (`discarded: true`) and every failure mode an agent needs to anticipate. For a single-parameter mutation this is complete.

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% and the `id` parameter's accepted sources (convexPostId from POST /api/v2/publish, posts[].id from GET /api/v2/content/{id}) are documented in the schema itself. The description adds no additional meaning about the id, 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?

Names a specific verb and resource — takes a SCHEDULED post off the platform schedule and marks it cancelled — and explicitly contrasts with publish_post_delete for already-live posts. The parenthetical that the draft survives makes the effect unambiguous.

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?

Explicit when-to-use (scheduled, not live) and when-not (live → publish_post_delete), plus hard preconditions: refused within 5 minutes of the slot, refused where the platform won't remove it (some YouTube uploads), and 'Confirm with the user first.' Nothing is left 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