Skip to main content
Glama

delete_connection

Delete a Nango connection by providing environment, connection ID, and provider config key. Use this to clean up integration data and revoke access.

Instructions

Delete one Nango connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
environmentYes
connectionIdYes
providerConfigKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / connectionId
      Added value: +{
      +  "title": "Connectionid",
      +  "type": "string"
      +}
    • removedInput schema / properties / connection_id
      Removed value: -{
      -  "title": "Connection Id",
      -  "type": "string"
      -}
    • addedInput schema / properties / providerConfigKey
      Added value: +{
      +  "title": "Providerconfigkey",
      +  "type": "string"
      +}
    • removedInput schema / properties / provider_config_key
      Removed value: -{
      -  "title": "Provider Config Key",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "environment",
      -  "connection_id",
      -  "provider_config_key"
      -]New value: +[
      +  "environment",
      +  "connectionId",
      +  "providerConfigKey"
      +]
  2. Changed1 schema field changedv1.0.0
    • removedInput schema / properties / confirmation
      Removed value: -{
      -  "default": "",
      -  "title": "Confirmation",
      -  "type": "string"
      -}
  3. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It only states that a deletion occurs, without disclosing whether the deletion is permanent, requires special permissions, or cascades to related provider resources.

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 description is concise, front-loaded, and free of filler. However, it is arguably under-sized given the destructive nature of the operation and the lack of annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive tool with no annotations and no output schema, the description is too sparse. It omits important context such as whether deletion is reversible, what happens to the connection's credentials, and how the three required parameters uniquely identify the connection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description adds no meaning to environment, connectionId, or providerConfigKey. The agent is left with only the parameter names and cannot infer relationships, formats, or constraints from the description.

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 uses a specific verb ('Delete') and a clear resource ('one Nango connection'), so the core purpose is unambiguous. It implicitly distinguishes itself from siblings like delete_integration or list_connections, though it does not explicitly reference them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to use this tool versus alternatives such as delete_integration, refresh_connection_credentials, or replace_connection_tags. No exclusions, prerequisites, or selection criteria are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.