Skip to main content
Glama
MCP MySQL/MariaDB Database Server

MCP MySQL/MariaDB Database Server

list_connections

Lists all available database connections so users can identify and select the MySQL or MariaDB database they need to query or manage.

Instructions

List all available database connections

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": "list_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about the operation beyond enumeration. It does not say whether unreachable or disabled connections are included, what 'available' means, whether credentials/secrets are exposed, or whether any auth or permission is required. For a discovery tool feeding higher-risk siblings, this is a notable gap even though the call itself is trivially read-only.

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?

A single front-loaded sentence with no redundant wording, which is appropriate for a zero-parameter list tool. It is terse to the point of under-specification rather than bloated, so it lands just below the top score.

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?

The tool is simple (no parameters, no annotations, no output schema), so the description is close to sufficient. However, with no output schema, an agent gets no indication of what a returned connection record contains, which leaves a meaningful gap for a discovery tool that other tools depend on.

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 input schema takes zero parameters, which is the baseline 4 case: there is nothing for the description to disambiguate. It reinforces the no-argument nature implicitly by offering no filtering or paging options.

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 ("List ... database connections") with the scope qualifier "all available", so an agent knows it enumerates connections rather than describing, testing, or querying them. It does not name or distinguish itself from siblings like get_connection_info or test_connection, which is the only thing keeping it from a 5.

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?

The definition gives no when-to-use guidance: nothing tells the agent to call this first to discover connection names before invoking test_connection or execute_query, and nothing rules out alternatives such as get_connection_info. Usage is only implied by the word "List".

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