Skip to main content
Glama

Cancel a scheduled call

cancel_scheduled
DestructiveIdempotent

Cancels one of the user's scheduled calls, by the schedule_id from schedule_call or list_scheduled. For when the user asks to cancel, stop or call off a call they scheduled ("cancel my scheduled call", "don't call them after all"). A single action whatever the schedule's state: it stops a call before it fires, aborts one mid-dispatch, or hangs up the call if it is already live. A schedule that already finished or was already cancelled succeeds with no change. Returns outcome: cancelled, cancelling, ended_live_call, already_completed, already_cancelled, already_failed or not_found. Repeating it has no further effect: a repeat reports the state the first one left. Results carry user_status (a sentence written for the end user, with no tool names or ids) and usually agent_next (the next step in the call flow, for the assistant; it names tools and ids and is not written for the end user).

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": {
      "schedule_id": "<schedule_id>"
    },
    "name": "cancel_scheduled"
  }
}

Input Schema

NameRequiredDescriptionDefault
schedule_idYesThe schedule_id returned by schedule_call or list_scheduled.

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 already declare destructiveHint and idempotentHint, but the description goes well beyond them: it explains behavior across all schedule states (pre-fire, mid-dispatch, live, finished, already cancelled) and spells out the idempotency semantics ('a repeat reports the state the first one left'). It also discloses the content of the response fields user_status and agent_next, which matters since no output schema exists.

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?

The purpose and identifier provenance are front-loaded, then state coverage, then return semantics — a sensible order. It is dense and slightly long for a one-parameter tool, but nearly every sentence (state matrix, idempotency, outcome enum, response fields) contributes information the agent cannot get elsewhere.

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?

For a destructive, idempotent, single-parameter mutation with no output schema, the description supplies everything an agent needs: scope, identifier source, all state permutations, the outcome values, and the distinction between user-facing and agent-facing response fields.

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 schedule_id parameter is already documented as coming from schedule_call or list_scheduled, so the description's identical provenance note adds essentially nothing new. Baseline 3 applies when the schema carries the parameter burden.

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?

States a specific verb and resource ('Cancels one of the user's scheduled calls') and immediately anchors the identifier to its source tools (schedule_call or list_scheduled), so the agent can separate it from the scheduling/listing siblings without opening 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?

Gives concrete trigger conditions with quoted user phrasings ('cancel my scheduled call', 'don't call them after all'), which is stronger than most usage sections. It does not explicitly exclude or compare with the end_call sibling for live calls, though it does claim coverage of the live-call case.

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