Skip to main content
Glama
MCP Database Server

MCP Database Server

by RifkyR3

db_list_connections

Lists registered main connections, configured sub-connections (databases), and active connection pool status so you can inspect available database routes and current pool health.

Instructions

List all registered main connections, their configured sub-connections (databases), and active connection pool status

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "db_list_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does state the return categories, including live 'active connection pool status', which hints that the call may touch actual connections rather than only stored config, but it never says whether the operation is read-only, whether it can block or time out on unreachable databases, or whether it requires credentials.

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?

One sentence, front-loaded with the primary verb and resource, and every clause adds a distinct return category. 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?

With no output schema and no annotations, the description has to explain what comes back, and it does so by naming the three result categories (main connections, sub-connections, pool status). The remaining gap is that it never describes result shape or size for an unbounded, unfiltered list, but for a zero-parameter read tool the coverage is close to sufficient.

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

Parameters4/5

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

The tool takes zero parameters, which is the baseline-4 case; there is nothing to disambiguate. The description correctly implies no filtering arguments, so the agent knows the call returns everything registered.

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 gives a specific verb ('List') and a well-scoped resource: registered main connections, their configured sub-connections (databases), and active pool status. It is clear what the agent gets back, but it does not distinguish itself from the closest sibling, db_discover_databases, which arguably serves a similar discovery purpose.

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 when-to-use or when-not-to-use guidance and no named alternative. An agent must infer on its own whether to call this or db_discover_databases when it wants to know what databases exist, and the description gives no hint about prerequisites such as whether a connection must be registered first.

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