Skip to main content
Glama

Delete an AI provider

colliedesk_ai_provider_remove
Destructive

Delete a provider and erase its key now. The features that used it turn off and stay off until someone picks another provider (turned_off lists them). It cannot be undone: there is no trash, so to bring it back add the provider again with its key.

Needs: ai_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": {
      "provider_id": "<provider_id>"
    },
    "name": "colliedesk_ai_provider_remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
provider_idYesFrom colliedesk_ai_settings_get.

Output Schema

NameRequiredDescriptionDefault
turned_offYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well beyond them: the key is erased immediately, dependent features turn off and stay off until reassigned, the affected features appear in a turned_off field, there is no trash and no undo, and the required scope is named. That is exactly the operational context an agent needs before an irreversible call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and its irreversibility, then consequences, then the permission line. No filler; every sentence carries decision-relevant information.

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 one-parameter destructive tool with annotations and an output schema, nothing material is missing: irreversibility, side effects, the turned_off signal, recovery path, and authorization scope are all covered.

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 description coverage is 100% and provider_id already documents its UUID pattern and source ('From colliedesk_ai_settings_get'). The description adds no further parameter-level meaning, so the baseline 3 applies.

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 ('Delete a provider') and immediately scopes the blast radius to the stored key, which cleanly separates it from colliedesk_ai_provider_add, _update, and _key_set siblings.

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?

Makes clear this is the removal path and names the recovery alternative ('to bring it back add the provider again with its key'), plus the required permission 'ai_settings:update'. It does not explicitly contrast with colliedesk_ai_provider_key_set or _update, but the destructive framing makes the choice obvious.

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