Skip to main content
Glama

list_databases

Read-onlyIdempotent

List Postgres, MySQL, MariaDB, MongoDB, Redis, and LibSQL databases, optionally filtered by project or environment, to review available databases.

Instructions

List Postgres, MySQL, MariaDB, MongoDB, Redis, and LibSQL databases.

Passwords are not included. Use get_database for connection details other than the password.

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
project_idNo
environment_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/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 one genuinely useful behavioral fact beyond that — passwords are omitted from the output — but says nothing about pagination, scope defaults, or what happens when a filter matches nothing; the presence of an output schema absorbs the return-value burden.

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 plus the routing hint, with the resource and scope stated first and the caveat (no passwords) and alternative second. No filler and nothing to trim.

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?

For a simple read-only list tool with annotations and an output schema, the description covers purpose, the password limitation, and the sibling alternative. The notable hole is the complete silence on the two filter parameters, which an agent cannot use correctly from the schema alone at 0% coverage.

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

Parameters2/5

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

Schema description coverage is 0% and both parameters (project_id, environment_id) are undocumented in the schema, so the description carries the full burden. It says nothing about these parameters — no mention that results can be scoped to a project or environment — leaving their meaning and required formats entirely unstated.

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?

The first sentence gives a specific verb ("List") plus the exact resource and enumerates the supported engines (Postgres, MySQL, MariaDB, MongoDB, Redis, LibSQL), which is far more precise than the name alone. The second sentence separates it from the sibling get_database, so an agent can pick between list and get without opening a schema.

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?

It explicitly routes the agent to get_database when connection details are needed, which is exactly the list-vs-get decision an agent faces. It gives no guidance on when to use the optional project/environment filters, so a small gap remains.

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