Skip to main content
Glama

Delete an integration

delete_integration
DestructiveIdempotent

Delete an integration by ID. Integrations used by alert rules cannot be deleted, delete those alert rules or move them to another integration first.

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": {
      "app": "<app>",
      "integration_id": "<integration_id>"
    },
    "name": "delete_integration"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app key
integration_idYesID of the integration to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely new behavioral context the annotations cannot express: a referential-integrity precondition that makes deletion fail while alert rules point at the integration. It stops short of saying the deletion is irreversible or what a failure response looks like.

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?

Two sentences, no filler. The action is front-loaded and the constraint follows immediately, with the recovery path attached to the constraint rather than in a separate paragraph.

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 two-parameter destructive tool with no output schema and full annotation coverage, the description supplies everything needed to call it correctly, including the main failure mode. A note on irreversibility would close the last gap.

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 both parameters are documented in the schema, so the schema carries the load. The description adds only "by ID", which restates the integration_id schema text and says nothing about how to choose the `app` enum value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("Delete an integration by ID") that unambiguously distinguishes it from update_integration, get_integration and list_integrations. It does not need to name siblings because the resource+verb pairing already disambiguates within the delete_* family.

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 concrete when-not condition: integrations referenced by alert rules cannot be deleted, and it names the remedies (delete the alert rules or move them). What's missing is a pointer to update_integration when the caller actually wanted to modify rather than remove the integration.

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