Skip to main content
Glama

delete_provider_key

Destructive

DESTRUCTIVE: Permanently delete the user's saved API key for a Deep Research provider (by providerId). From the next provider call, Deep Research runs (including ones in progress) and Fuse chat's data-provider calls switch to Fuse's platform key, billed at Fuse's per-call credit rate instead of the flat own-key rate, or stop working for byok-required providers, and a run or job already using the key may fail. This plugin cannot save the key again; the user has to re-enter it in Fuse. Only call after the user explicitly confirms.

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": {
      "providerId": "<providerId>"
    },
    "name": "delete_provider_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, but the description goes well beyond them: subsequent provider calls and in-progress runs switch to Fuse's platform key, billing moves from the flat own-key rate to per-call credits, byok-required providers may stop working, and in-flight runs may fail. It also discloses irreversibility via this plugin and the recovery path (user must re-enter the key in Fuse), which is exactly the context an agent needs before a destructive action.

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 destructive warning and the core action are front-loaded, and the consequence chain follows logically with no filler. The billing and run-failure consequences are packed into one very long sentence, which could be split for scannability.

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 one-parameter destructive tool with annotations present and no output schema, the description covers consequences, irreversibility, billing impact, and the confirmation requirement thoroughly. The only meaningful gap is guidance on sourcing the providerId, which the schema does not supply.

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 0% for the single providerId parameter, and the description only adds that it identifies the Deep Research provider whose key is removed, not where to obtain a valid value or what format it takes. That clarifies the parameter's referent but does not compensate for the undocumented schema.

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?

"Permanently delete the user's saved API key for a Deep Research provider (by providerId)" names a specific verb, resource, and scope, and the leading "DESTRUCTIVE" marker frames intent immediately. It is clearly distinct from list_provider_keys and get_provider_key_catalog, which read rather than remove keys.

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?

"Only call after the user explicitly confirms" gives an explicit gating condition, which is the key when-to-use rule for a destructive tool. It stops short of naming alternatives or stating how to look up the providerId first, so it is clear but not fully routing.

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.