Skip to main content
Glama

Delete connection

remove_unified_connection
DestructiveIdempotent

Delete a connection by its ID from the connected account. Requires id. Permanently removes the record and cannot be undone. To fetch a single connection by its ID, use get_unified_connection.

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": {
      "id": "<id>"
    },
    "name": "remove_unified_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the connection to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / minLength
      Added value: +1
  2. Changed1 schema field changed
    • removedInput schema / properties / fields
      Removed value: -{
      -  "description": "Comma-separated list of fields to include in the response",
      -  "type": "string"
      -}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, and the description adds the important consequence that the removal is permanent and cannot be undone. That is genuine value beyond the structured fields, though it says nothing about effects on dependent resources or authorization requirements for a destructive operation.

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 operation and the required identifier, followed by the irreversibility warning and then the sibling pointer. Nothing is redundant or padded.

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 single-parameter destructive tool with full annotation coverage and no output schema, the definition supplies what an agent needs: required input, permanence, and an alternative for reads. The remaining gap is the absence of any note on side effects for resources that reference the deleted connection.

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?

With one parameter at 100% schema coverage, the schema already documents `id` as 'The ID of the connection to remove'. The description's 'Requires `id`' and 'by its ID' restate that without adding format, source, or acquisition guidance, so the baseline of 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?

The description opens with a specific verb+resource ('Delete a connection by its ID') and scopes it to the connected account. It also explicitly distinguishes itself from the read path by naming `get_unified_connection`, so an agent can separate deletion from retrieval without consulting either 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 clearly establishes the use case (deleting a connection by ID) and routes the agent to `get_unified_connection` when retrieval rather than removal is intended. It stops short of explicit exclusions, such as what to use instead of a targeted delete for bulk cleanup, so it is strong context rather than full when/when-not guidance.

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