Skip to main content
Glama

Disconnect GitHub from Autofix

colliedesk_github_disconnect
Destructive

Uninstall the Colliedesk GitHub App from an account on GitHub and remove the installation (installation_id from colliedesk_autofix_settings_get). Its repositories stay, paused (removed_from_app), so their fixes still show where they went; fixes in progress on them are cancelled (repo_disconnected), which cannot be undone: send them again by hand. Connecting GitHub again with colliedesk_github_connect brings the repositories back.

Needs: autofix_settings:update.

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": {
      "installation_id": "<installation_id>"
    },
    "name": "colliedesk_github_disconnect"
  }
}

Input Schema

NameRequiredDescriptionDefault
installation_idYesThe installation's id in Colliedesk (installations[].id of colliedesk_autofix_settings_get), not GitHub's number.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"Same shape as colliedesk_autofix_settings_get's output."
    • removedOutput schema / properties
      Removed value: -{
      -  "app_slug": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "available": {
      -    "description": "This server's GitHub App is set up.",
      -    "type": "boolean"
      -  },
      -  "connectors": {
      -    "items": {
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "consent_version": {
      -    "type": "string"
      -  },
      -  "installations": {
      -    "items": {
      -      "properties": {
      -        "account_login": {
      -          "type": "string"
      -        },
      -        "account_type": {
      -          "type": "string"
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "installation_id": {
      -          "type": "integer"
      -        },
      -        "repository_selection": {
      -          "enum": [
      -            "selected",
      -            "all"
      -          ],
      -          "type": "string"
      -        },
      -        "settings_url": {
      -          "type": "string"
      -        },
      -        "status": {
      -          "enum": [
      -            "active",
      -            "blocked_all_repositories",
      -            "suspended"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "repos": {
      -    "items": {
      -      "properties": {
      -        "connected_at": {
      -          "type": "string"
      -        },
      -        "connected_by_name": {
      -          "type": "string"
      -        },
      -        "default_branch": {
      -          "type": "string"
      -        },
      -        "default_connector": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "full_name": {
      -          "type": "string"
      -        },
      -        "github_repo_id": {
      -          "type": "integer"
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "include_notes": {
      -          "type": "boolean"
      -        },
      -        "installation_id": {
      -          "type": [
      -            "integer",
      -            "null"
      -          ]
      -        },
      -        "paused_at": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "paused_reason": {
      -          "description": "Why it takes no new fix: became_public, removed_from_app or installation_suspended.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "visibility": {
      -          "enum": [
      -            "private",
      -            "internal",
      -            "public"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "github_repo_id",
      -        "full_name",
      -        "visibility",
      -        "include_notes",
      -        "default_connector",
      -        "paused_reason"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "available",
      -  "installations",
      -  "repos",
      -  "connectors"
      -]
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true, openWorldHint=true, and non-idempotency, but the description adds much more: repositories survive in a paused removed_from_app state, in-progress fixes are cancelled with a repo_disconnected outcome, and that cancellation is irreversible. It also names the required permission, autofix_settings:update, which annotations cannot express.

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 irreversible consequence is front-loaded in the first sentence, and every clause carries information about side effects or recovery. The semicolon-chained phrasing is dense and could be split for readability, but there is no filler.

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 single-parameter mutation with an output schema, the description covers the prerequisite, the side effects on repositories and in-flight fixes, the irreversibility, and the recovery path. Nothing an agent needs before calling it 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 the schema already says the value is Colliedesk's id rather than GitHub's number. The description reinforces the source path (installation_id from colliedesk_autofix_settings_get), which helps an agent resolve the value, though it adds no new format detail.

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 names a specific verb and resource: uninstall the Colliedesk GitHub App and remove the installation. It is clearly distinguishable from colliedesk_github_connect (the inverse) and from colliedesk_autofix_repo_disconnect, which acts at repo level, because it says the repositories remain but are paused.

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 clear context for use, including the prerequisite that installation_id comes from colliedesk_autofix_settings_get, and it points to colliedesk_github_connect as the way to reverse the change. It does not explicitly say when to prefer repo-level disconnect instead of full uninstall, which keeps it from a 5.

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