Skip to main content
Glama
motherduckdb

mcp-server-motherduck

Official
by motherduckdb

List Databases

list_databases
Read-only

List all databases in the current connection to view attached DuckDB or MotherDuck databases. Useful when multiple databases are attached.

Instructions

List all databases available in the connection. Useful when multiple DuckDB databases are attached or when connected to MotherDuck.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.8

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds only the MotherDuck/multi-attach scenario and says nothing about result ordering, pagination, or scope limits beyond 'the connection'.

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 short sentences with the core action front-loaded and the situational hint second. 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 zero params, rich annotations, and an output schema that handles return values, the description covers what an agent needs. It could be marginally stronger by clarifying that it lists databases within the active connection rather than across all connections.

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 schema carries no parameter semantics to explain; baseline for a no-arg tool is 4. The description correctly implies no filtering inputs are required.

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 (List) and resource (databases) scoped to the current connection, which cleanly separates it from list_tables and list_columns. It does not explicitly name a sibling to route against, but the resource noun is unambiguous.

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?

It gives a usage condition ('when multiple DuckDB databases are attached or when connected to MotherDuck'), which is real implied guidance. However, it never says when NOT to use it or which sibling to pick instead (e.g., list_tables for table enumeration), so guidance stays implicit.

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