Skip to main content
Glama

list_databases

Read-onlyIdempotent

Lists configured database IDs, names, aliases, descriptions, engines and access modes; pass an optional cursor to resume a bounded catalog page.

Instructions

List configured database IDs, names, aliases, descriptions, engines and access modes. No network connection or credentials. Optional cursor resumes a bounded catalog page.

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
cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds context those annotations cannot convey: no network connection or credentials are needed (so it works purely against local configuration), and results are a 'bounded catalog page' rather than an unbounded dump.

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?

Three short sentences, front-loaded with the resource and returned fields, then the credential-free nature, then pagination. Nothing is redundant and no sentence is filler.

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?

Because there is no output schema, enumerating the returned fields in the description is exactly the right compensation, and the offline/no-credentials note matters for a catalog tool. The only real gap is that cursor provenance is not described, so an agent cannot confirm how to page past the first bounded result.

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 0% for the single cursor parameter, and the description does supply its meaning: an optional cursor that resumes a bounded page. However, with no output schema, it never explains where an agent obtains that cursor (e.g. a next-cursor in the response), leaving the pagination loop incompletely specified.

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 (List) and resource (configured databases), then enumerates exactly which fields come back (IDs, names, aliases, descriptions, engines, access modes). That field-level summary distinguishes it in practice from describe_database, which by name implies per-database detail.

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?

Usage is only implied: an agent can infer this is the entry point for discovering database IDs before calling describe_database or execute_sql, but the description never says so and names no alternatives or exclusions.

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