Skip to main content
Glama

AI Phone Calls & AI Receptionist (OsmO)

Cancel a Scheduled Call

cancel_scheduled_call
Destructive

Use this when the user wants a call OsmO has booked for later called off. callId comes from list_scheduled_calls. Calls booked together are cancelled together. An unknown callId returns code not_found; a call already placed or already cancelled returns already_placed or already_cancelled. For a call that can still be cancelled, without confirmed:true nothing is cancelled: it returns confirmation_required naming every call it would cancel. With confirmed:true it returns code ok with cancelledCount, or partial when some of the calls had already been placed. It also stops keep going: for any callId of a call keep going is on for, without confirmed:true it returns confirmation_required (action stop_keep_going), and with confirmed:true it returns ok with stopped:true; OsmO then places no more tries and a booked next try is cancelled.

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": {
      "callId": "<callId>"
    },
    "name": "cancel_scheduled_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
callIdYesA callId from list_scheduled_calls.
confirmedNotrue means the user has approved the confirmation_required preview returned by an earlier call with the same arguments, and carries it out. Without it nothing changes and that preview is returned.

Output Schema

NameRequiredDescriptionDefault
codeYesWhat happened, e.g. ok, confirmation_required, not_found.
messageNoOne sentence for the user, when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "code": {
      +      "description": "What happened, e.g. ok, confirmation_required, not_found.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "One sentence for the user, when there is one.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes well beyond that by disclosing the two-step confirmed flow, the confirmation_required preview that changes nothing, partial results when some calls were already placed, and the keep-going side effect that cancels a booked next try.

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?

Front-loaded with the triggering condition and densely informative, with no filler sentences. It loses a point for being one long unbroken block whose final keep-going clause is a convoluted run-on that takes effort to parse.

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?

An output schema exists, so return values need not be enumerated, yet the description still maps each outcome code to its meaning. For a destructive, confirmation-gated mutation tool with grouped side effects, nothing an agent needs in order to call it safely is missing.

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% and already documents both fields, but the description adds operational meaning: callId must come from list_scheduled_calls, and confirmed:true is only valid after an earlier confirmation_required preview with the same arguments. That is real value beyond the schema text.

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 ('cancel a call OsmO has booked for later') plus its scope of effect: calls booked together are cancelled as a unit. It also anchors the identifier to list_scheduled_calls, so an agent can distinguish this from place_call or get_call without opening either schema.

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?

Explicitly says when to invoke ('when the user wants a call ... called off'), where callId comes from, and what the confirmation gate means. It also covers the adjacent use case of stopping keep-going, and names the terminal states (already_placed, already_cancelled) that rule this tool out.

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.