Skip to main content
Glama

Disconnect Microsoft 365

colliedesk_microsoft_disconnect
Destructive

Disconnect the Microsoft 365 mailbox of an email channel: Colliedesk deletes its access, and its replies go out the way they did before Microsoft 365 was connected. Microsoft cannot be asked to revoke it, so Colliedesk stays listed in the account's apps until the person removes it there. A reply still waiting to be sent through Microsoft 365 fails and can be retried. The deleted access cannot be undone: connect again with colliedesk_microsoft_connect. A workspace may have several email channels: give channel_id for one of them, or leave it out for the default one (is_default).

Needs: channels:manage_credentials.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "colliedesk_microsoft_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idNoOne email channel of several, from colliedesk_channels_list. Leave out for the default one (is_default in colliedesk_channels_list).

Output Schema

NameRequiredDescriptionDefault
doneYes
nextYes

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?

Goes well beyond the annotations: states that access is deleted and replies revert to their prior route, that Microsoft cannot be asked to revoke so Colliedesk remains listed in the account's apps until manually removed, and that an in-flight reply will fail and can be retried. It also discloses the required permission (channels:manage_credentials) and that deletion is irreversible.

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 core action and organized into operation, side effects, and parameter guidance. Some sentences (the Microsoft app-listing warning) are lenghty but convey non-obvious consequences, so little is wasted.

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 and annotations cover the destructive profile, so the description appropriately focuses on operational consequences, permission requirements, and reversibility. Nothing an agent needs to invoke it safely is missing.

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 schema already documents that omitting channel_id targets the default channel (is_default in colliedesk_channels_list). The description restates this almost verbatim, adding little new meaning beyond what the schema provides.

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 ('Disconnect the Microsoft 365 mailbox of an email channel') and explicitly names the sibling that reverses it (colliedesk_microsoft_connect), so an agent can distinguish it from other disconnect tools.

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?

Clearly frames the operation and points to colliedesk_microsoft_connect for reconnection, plus explains channel_id selection when a workspace has several channels. It does not explicitly contrast with colliedesk_email_channel_disconnect or colliedesk_gmail_disconnect, so the exclusion guidance is incomplete.

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