Skip to main content
Glama

Cancel a scheduled message

cancel_scheduled_message
DestructiveIdempotent

Propose withdrawing something waiting to send later (an id from list_scheduled_messages). On most workspaces this is queued for the user to approve — check staged. all_in_batch cancels every file of a folder or set scheduled together. A message already sent cannot be canceled here.

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": "cancel_scheduled_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe scheduled message id.
all_in_batchNoCancel everything scheduled with it.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known; the description still adds real value by disclosing that the call is typically staged for user approval and that the `staged` field should be checked. It also flags the batch-wide blast radius of all_in_batch. It doesn't cover auth requirements or failure modes, but it goes meaningfully 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?

Roughly three compact sentences, front-loaded with the action and the id source, then the staging caveat, then the batch scope, then the exclusion. No filler. Minor deduction for the ambiguous 'every file of a folder' phrase that could mislead an agent into thinking this operates on files.

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?

An output schema exists, so return values needn't be described, and annotations cover the destructive/idempotent profile. The description nonetheless supplies the crucial operational context (approval staging, `staged` check, batch scope, sent-message exclusion). Only permission requirements and error behavior remain unaddressed, which is acceptable for this complexity.

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?

Schema coverage is 100%, so baseline is 3. The description adds a little beyond the schema by characterizing all_in_batch as canceling everything in a folder or a set scheduled together, extending the schema's terse 'Cancel everything scheduled with it' with the notion of a grouping. The `id` parameter adds nothing beyond the schema, and 'file of a folder' is imprecise for a messaging tool.

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 the resource (a scheduled message awaiting send) and the action (withdraw/cancel), and explicitly scopes it with 'A message already sent cannot be canceled here,' which separates it from send_message. The wording 'Propose withdrawing something' is softer than the tool name and the stray phrase 'every file of a folder' reads like a template artifact that slightly muddies what object is being canceled.

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 tells the agent where the id comes from (list_scheduled_messages) and gives one clear exclusion (already-sent messages cannot be canceled here). It also notes most workspaces stage the request for user approval, which shapes expectations. It stops short of naming a sibling alternative for messages that already sent, but the when-to-use context 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