Skip to main content
Glama

Cancel a scheduled post

cancel_scheduled_post
DestructiveIdempotent

Cancels a scheduled cloud post by post ID only when the user requests cancellation; supply the ID from list_scheduled_posts and a stable requestId.

Instructions

Cancel a cloud scheduled post only when the user requests cancellation. Specify the ID returned by list_scheduled_posts and a stable requestId.

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

Input Schema

NameRequiredDescriptionDefault
postIdYes
requestIdYesStable unique ID for this user-authorized action. Reuse it on retries; never change it to bypass an uncertain result.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered structurally. The description reinforces retry safety via 'stable requestId' but says nothing about whether a cancelled post is recoverable, what happens to its history, or how long cancellation takes to propagate.

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?

Two short sentences with zero waste: the action and guardrail come first, then the parameter requirements. Nothing is repeated from the title and nothing extraneous is included.

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 two-parameter destructive mutation with rich annotations and an output schema, the description covers the essential decision (when to call) and the essential inputs (which ID, stable requestId). Only the post-cancellation state, i.e. irreversibility or recoverability, is left to the annotations and output schema.

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 description coverage is 50%: requestId is fully documented in the schema, while postId is undocumented there. The description compensates partially by stating the postId comes from 'list_scheduled_posts', which gives the agent a source for the value, but adds no format, constraint, or failure semantics beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 cloud scheduled post'), which is unambiguous and clearly distinct from sibling operations like schedule_post, publish_post, and list_scheduled_posts. It stops short of explicitly contrasting itself with any alternative action (for example, deleting a draft), so a 4 rather than a 5.

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?

'only when the user requests cancellation' is an explicit when-to-use guardrail that prevents an agent from proactively cancelling. No alternatives are named and no when-not conditions beyond that one guardrail are given, so it is clear context without full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.