Skip to main content
Glama

teams_cancel_scheduled_message

Destructive

Cancel a scheduled Teams message before it sends using its draft ID. Works only with work or school accounts; get the draft ID from the scheduled messages list.

Instructions

Cancel a scheduled message (draftId from teams_list_scheduled_messages). Work/school accounts only.

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": {
      "draft_id": "<draft_id>"
    },
    "name": "teams_cancel_scheduled_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount alias (see teams_accounts). Defaults to the default account.
draft_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the mutation risk is known. The description adds the account-type restriction, which is genuine extra context, but does not say whether cancellation is reversible, what happens to the underlying draft, or what the response contains.

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?

Two short sentences with the action front-loaded and the precondition second; there is no filler. A slightly clearer separation between the identifier source and the account constraint would improve it marginally.

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 tool with an output-free response, the description covers the action, the identifier's origin, and an account-type restriction. The main residual gap is the outcome of the call and confirmation behavior, which is minor given no output schema exists.

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 50%: the 'account' parameter is documented in the schema while 'draft_id' is not. The description partially compensates by explaining that draft_id is the draftId obtained from teams_list_scheduled_messages, which is useful provenance, but adds nothing about format or identifier mismatch with the schema's snake_case naming.

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 states a specific verb and resource ('Cancel a scheduled message'), clearly scoping it to scheduled/draft messages rather than sent ones, and points to the draftId source. It does not explicitly contrast with siblings like teams_delete_message or teams_cancel_meeting, but the scheduled-message scope is unambiguous.

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 required identifier comes from (teams_list_scheduled_messages) and adds a real precondition — work/school accounts only — which narrows applicability. It stops short of stating when to prefer this over deletion of an already-sent message, leaving a small inference gap.

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

Deploy Server

Other Tools