Skip to main content
Glama
igorolv

jdbc-mcp-server

listConnections

listConnections
Read-onlyIdempotent

Discover available databases and valid connection names before querying. Returns purpose, engine, default schema, and local catalog availability without opening a database connection.

Instructions

Discover the databases served here and the valid name to pass as 'connection'. Call when the target connection is not already established; returns purpose, engine, default schema and local-catalog availability without opening a database connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
connectionsNoConfigured connections, in configuration order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedOutput schema / properties / connections / items / properties / kind / description
      Previous value: -"Engine: PostgreSQL, Oracle or SQL Server. Absent when the URL is unusable."New value: +"Engine: PostgreSQL, Oracle, SQL Server, Firebird, SQLite or Generic JDBC. Absent when the URL is unusable."
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the call does NOT open a database connection, and it returns purpose, engine, default schema and local-catalog availability. That non-connection-opening property is the kind of side-effect disclosure annotations cannot express.

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?

Two sentences, no filler, and the value proposition plus the return contents are front-loaded. Every clause earns its place.

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

Completeness5/5

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

An output schema exists, so return values need not be enumerated, yet the description still summarizes them. Combined with zero-parameter schema and full annotation coverage, an agent has everything needed to select and invoke this correctly.

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, so the baseline is 4. The description still adds meaning by clarifying that the value this tool returns is what other tools expect as the 'connection' parameter, tying the output to downstream parameter usage.

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?

States a specific verb and resource ('Discover the databases served here') and identifies the concrete artifact returned (the valid name to pass as 'connection'). This is clearly distinguishable from sibling listing tools like listSchemas or listTables, which enumerate objects inside an already-chosen connection.

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

Usage Guidelines4/5

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

Explicitly states the triggering condition: 'Call when the target connection is not already established.' That is clear when-to-use guidance, though it does not name a specific alternative tool or spell out the when-not case.

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