Skip to main content
Glama

Cancel scheduled post

cancel_post
DestructiveIdempotent

Cancel a scheduled post that has not started; the whole post is then not published to any platform. A post that has already started publishing cannot be cancelled (409). Repeated calls are safe. Monthly quota already used is not refunded; afterwards, reopen_post can turn it back into a draft. (Required scope: cd.posts.publish)

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": {
      "postId": "<postId>"
    },
    "name": "cancel_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructive, idempotent, non-read-only), it discloses the blast radius (whole post suppressed across all platforms), the failure mode with a concrete status code (409), the irreversibility of quota consumption (already-used quota is not refunded), and the recovery tool. It also states the required scope cd.posts.publish, which annotations cannot express.

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

Conciseness5/5

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

Four short clauses ordered by importance: what it does, what blocks it, idempotency, cost/recovery, then scope in parentheses. No filler and the highest-risk facts (partial cancellation impossibility, non-refunded quota) are front-loaded.

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 destructive mutation with no output schema, the description covers effects, error behavior, cost, recovery, and auth scope — nearly everything an agent needs before calling. The only omission is the shape of a successful response (e.g., resulting post state), which is a minor gap given no output schema is supplied.

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 sits at 50%: workspaceId is documented in the schema, while postId is not described anywhere. The description adds no parameter-level detail and only implies postId through the word "post", so it neither compensates for the gap nor introduces confusion. 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?

"Cancel a scheduled post that has not started" gives a specific verb, resource, and precondition, and the follow-on clause clarifies the effect (not published to any platform). That distinguishes it clearly from adjacent operations like delete_draft, reopen_post, and reschedule_post without naming a 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?

It states the boundary condition explicitly (a post already publishing cannot be cancelled, returns 409) and names the follow-up alternative reopen_post for reversing the state. It stops short of contrasting against a hard-delete sibling, but the precondition plus recovery path gives an agent enough to choose correctly.

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.