Skip to main content
Glama

Delete connected datasource

delete_connection
Destructive

Delete a datasource connection — every widget pulling data from it will break

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDatasource connection ID to delete (from connected_datasources)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoConfirmation that the connection was deleted. It is unlinked from every client that used it, and their widgets fall back to demo data.
successYesTrue when the call succeeded. A failure comes back as an error result instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "Confirmation that the connection was deleted. It is unlinked from every client that used it, and their widgets fall back to demo data."
      +    },
      +    "success": {
      +      "description": "True when the call succeeded. A failure comes back as an error result instead.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  2. 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 and readOnlyHint=false. The description adds the significant cascading effect that widgets pulling from it will break, which is valuable behavioral context beyond the annotations. No contradiction; the description aligns with the destructive hint.

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?

The description is a single sentence with no filler. It front-loads the action and immediately states the key consequence, making it highly efficient and easy to parse.

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 simple delete operation with one parameter, the description plus annotations and schema provide sufficient information. The widget-breaking warning covers the primary risk, and the presence of an output schema means return details need not be described. Slightly more could be said about irreversibility, but destructiveHint already implies that.

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?

The input schema fully documents the id parameter with its source and purpose (from connected_datasources), achieving 100% coverage. The description adds no additional parameter semantics beyond what the schema already provides, 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?

The description clearly states the action ('Delete') and the resource ('a datasource connection'), and the added consequence ('every widget pulling data from it will break') distinguishes it from non-destructive connection operations like rename_connection or test_connection. The title reinforces the purpose, making it unambiguous.

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

Usage Guidelines3/5

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

The description does not explicitly mention when to use this tool versus alternatives such as unlink_datasource or rename_connection. It clearly implies deletion but lacks explicit exclusions or guidance on when not to use it, which is a minor gap given the many connection-related sibling tools.

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