Skip to main content
Glama

Disconnect a service

disconnect_service
Destructive

Disconnects one service from the site: Xodia stops sending to it and ends its access at the service where it can; the settings are forgotten. It can't be undone from here (the person connects again). Before calling it, say which service will stop doing what, and get the person's clear yes in this chat. Owners and admins only. The answer names any step left for the person in the service.

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": {
      "service": "<service>",
      "projectId": "<projectId>"
    },
    "name": "disconnect_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
serviceYesThe service: slack, discord, google_sheets, google_calendar, mailchimp
projectIdYesProject id from list_projects

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, and the description adds real context beyond that: settings are forgotten, revocation happens only 'where it can', the action is irreversible from this tool, and it requires owner/admin rights. It also discloses that the response names any residual steps left to the person, which no annotation conveys.

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?

Effects and irreversibility are front-loaded, then the confirmation requirement and permission constraint. Wording is slightly loose ('where it can', 'clear yes in this chat') but every sentence carries operational information, 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?

For a destructive, permission-gated action with no output schema, the description covers consequences, irreversibility, authorization, the confirmation ritual, and the shape of the answer. An agent has everything needed to call it correctly and safely.

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 enum values are documented in the schema, including the projectId pointer to list_projects. The description adds nothing per-parameter, so the baseline of 3 applies; 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?

The description opens with a specific verb plus resource ('Disconnects one service from the site') and immediately states the concrete effects: Xodia stops sending, access is ended, settings are forgotten. That is enough to distinguish it from connect_service and other site-mutation siblings without reading 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?

It gives a clear pre-call protocol (state which service stops doing what, get an explicit yes in this chat) and a hard eligibility rule (owners and admins only), plus the note that the person must reconnect to undo. It never names connect_service as the inverse tool, so the recovery path is described behaviorally rather than by sibling reference.

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