close_connection
Closes a database connection and releases its connection pool to free resources after queries or commands finish.
Instructions
Close a connection and release its pool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |
Closes a database connection and releases its connection pool to free resources after queries or commands finish.
Close a connection and release its pool.
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes |
Changes observed during successful MCP inspections.
v1.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full disclosure burden, and "release its pool" does hint at resource cleanup beyond a simple handle drop. However, it is silent on whether the call is idempotent, what happens to in-flight operations on the connection, whether an invalid or already-closed id errors, and whether the close is reversible.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single tight sentence with the action and effect front-loaded and no filler. Its brevity is appropriate in form, though it shades into under-specification for a tool with an undocumented parameter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple (one param, no output schema), but with no annotations and no parameter documentation, the definition omits the two things an agent most needs: where the connection_id comes from and what state results after closing. It is not adequate for reliable invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for the single required parameter connection_id, so the description must compensate and does not. It never says what a connection id is, where to obtain one, or what format it takes, leaving the only parameter undocumented in both schema and prose.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ("Close a connection") plus the concrete side effect of releasing its pool, which distinguishes it from open_connection and list_connections among the siblings. It does not explicitly name those alternatives, so the differentiation is implicit rather than stated.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to call this versus leaving a connection open, no note that the connection_id typically comes from open_connection or list_connections, and no warning about what stops working after the close. The agent must infer the entire usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.