Skip to main content
Glama

Cancel scheduled post

cancel_post
DestructiveIdempotent

Cancel a scheduled post on one account so it does not go out (postId from get_draft). The draft stays, so it can be scheduled again. A post already handed to its platform cannot be cancelled. Cancelling again answers the same.

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
postIdYesThe post’s id, from posts in get_draft.

Output Schema

NameRequiredDescriptionDefault
idNoId of the created or changed record, when there is one.
urlYesWhere the user can see the result in Distinctful.
doneYes

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?

Annotations declare destructiveHint=true and idempotentHint=true, but the description adds material nuance the annotations cannot: the underlying draft survives so the post can be rescheduled, cancellation is blocked after platform handoff, and repeat calls return the same answer. That reframes a 'destructive' tool as a recoverable state change.

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?

Four short sentences, front-loaded with the action and outcome, then the retention guarantee and failure mode. The final sentence ("Cancelling again answers the same") is slightly awkward phrasing for idempotency but still earns its place.

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?

With one required parameter, full schema coverage, rich annotations, and an output schema, the description covers everything the agent needs: what it does, what survives, when it fails, and repeat-call behavior. No gap remains for a tool of this complexity.

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 single postId parameter is already documented as coming from get_draft, so the description's "(postId from get_draft)" merely restates the schema. Baseline 3 applies since the schema carries the parameter semantics.

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 names a specific verb and resource ("Cancel a scheduled post on one account") plus the outcome ("so it does not go out"). It also distinguishes the operation from deletion by stating "The draft stays," which separates it from sibling operations like delete_draft.

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 gives the positive condition (scheduled, not yet handed to platform) and the negative one ("A post already handed to its platform cannot be cancelled"), plus the repeat-call case. It stops short of naming an explicit alternative tool for unscheduling/deleting, but the eligibility boundary is clear.

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