Skip to main content
Glama

remove_connection

Delete a database connection by name, including invalid entries, and drop its cached pools and tunnel so stale or removed connections no longer remain active.

Instructions

Remove a connection by name from the layer it lives in (invalid entries too) and drop its cached pools/tunnel.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add real behavioral context that the schema cannot convey: invalid entries are removed too, and cached pools/tunnels are dropped, which signals a hard delete with side effects. It still omits permission requirements, return value, error behavior on missing names, and whether the operation is idempotent.

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?

One front-loaded sentence with no filler; the action comes first and the consequences follow. The parenthetical "(invalid entries too)" is slightly cryptic but is worth its space.

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

Completeness3/5

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

A one-parameter mutation tool with no annotations and no output schema needs to state outcome and failure behavior, and this only partially does. The side-effect disclosure (pools/tunnels dropped) is the strongest part; the gap is what the caller should expect on success or unknown names.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must define the single parameter, and it only says "by name" plus "from the layer it lives in." It never clarifies whether the name is qualified by layer, case-sensitive, a display name or an identifier, or how ambiguity across layers is resolved.

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?

States a specific verb and resource ("Remove a connection by name") and adds scope about the layer it lives in. It does not name or distinguish itself from siblings like update_connection or list_connections, but the destructive action itself is unambiguous.

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?

No when-to-use or when-not-to-use guidance. It does not say whether to prefer update_connection for soft disablement, what happens when the name is unknown, or any prerequisite such as first listing connections to confirm the name.

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