Skip to main content
Glama

list_databases

Read-onlyIdempotent

Lists all databases and schemas available on a specified DBeaver connection so you can inspect available data sources before querying or diagnosing them.

Instructions

Lists all databases / schemas available on a specified DBeaver connection.

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_databases"
  }
}

Input Schema

NameRequiredDescriptionDefault
connectionNoDBeaver connection name or host (e.g. 'localhost', 'staging-db'). Defaults to default_connection.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds only the scoping detail (results are per-connection) and omits return shape, whether databases and schemas are returned in one list, and any pagination or ordering behavior.

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 scope constraint is stated immediately. The only weakness is the ambiguous 'databases / schemas' phrasing, which leaves the granularity of the result unclear.

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?

For a one-optional-parameter read-only listing tool with full annotation coverage, full schema coverage and no output schema, this is nearly complete. The remaining gap is that an agent cannot tell from the description whether the response contains database names, schema names, or both.

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

Parameters3/5

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

Schema coverage is 100% and the single 'connection' parameter already documents 'name or host' plus the default_connection fallback, so the description adds essentially no parameter meaning. Baseline 3 applies when the schema carries the load.

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 ('Lists') and resource ('all databases / schemas') scoped to a DBeaver connection, which is enough to separate it from list_connections or inspect_schema. It stops short of naming a sibling outright, so the differentiation is inferential rather than explicit.

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

Usage Guidelines3/5

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

The phrase 'on a specified DBeaver connection' implies the tool is used after a connection is known, but there is no explicit when-to-use/when-not-to-use guidance and no mention of the sibling tools it competes with (e.g. list_connections, inspect_schema). Usage is only implied.

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