Skip to main content
Glama

PostReach

Cancel what hasn't gone out

cancel_post
DestructiveIdempotent

Cancels what hasn't been sent yet, on every account the post goes to, unless you pass account_id for one of them. What's already out stays out. Use it when the person says stop or cancel, including during the 15 seconds after posting now. If they name one network, such as "cancel the LinkedIn post", and the post also goes elsewhere, pass that account's account_id, or ask them first: the answer names every account that was cancelled. It can't take down a published post: that's for the person, in the browser. Example: post_id "post_1", account_id "con_1".

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

Input Schema

NameRequiredDescriptionDefault
post_idYes
account_idNoOnly this account, from get_post_status or list_posts: the post still goes out on the others. Left out, every account on the post
idempotency_keyNoA unique value for this one action, such as a UUID. Repeating the call with the same key returns the same result and does nothing twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / account_id
      Added value: +{
      +  "description": "Only this account, from get_post_status or list_posts: the post still goes out on the others. Left out, every account on the post",
      +  "pattern": "^[A-Za-z0-9_-]{1,64}$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the destructiveHint/idempotentHint annotations, it discloses the actual blast radius ("every account the post goes to"), the partial-failure semantics ("What's already out stays out"), the time window in which cancellation is still meaningful, and what the response reports ("the answer names every account that was cancelled"). Those are exactly the operational details an agent cannot infer from the structured fields.

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?

Sentences are front-loaded and each carries distinct information: scope, irreversibility of published content, trigger conditions, the multi-network decision rule, and the hard limit. It is slightly prose-heavy and the trailing example is marginally redundant with the schema patterns, but nothing is padding.

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, multi-account mutation with no output schema, the description covers scope, the published-content boundary, the response contents, and safe behavior when the user names a single network. It stops short of addressing permission requirements or what happens on per-account failures, which is the main remaining gap.

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?

The schema already describes account_id and idempotency_key (67% coverage), and the description reinforces the important default: omitting account_id cancels on all accounts, while supplying it leaves the post live on the others. It also provides a concrete value example, though idempotency_key semantics are left entirely to the schema.

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?

The description states a precise verb and scope: it cancels the not-yet-sent portion of a post across every target account, with an optional narrowing to one account. It also carves out the opposite operation explicitly ("It can't take down a published post: that's for the person, in the browser"), which separates it from deletion-style siblings such as delete_drafts.

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?

It names the triggering conditions directly ("when the person says stop or cancel, including during the 15 seconds after posting now") and supplies a decision rule for the ambiguous case: if a specific network is named but the post goes elsewhere, pass that account_id or ask the user first. That is an explicit when-to-use plus an escalation rule, not merely implied context.

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