Skip to main content
Glama
AishwaryaDV

safe-db-mcp

by AishwaryaDV

list_databases

Discover which databases you can query and see each one's summary and table count. Call this first to learn what data is available before running SQL.

Instructions

List the databases available to query, with a short description and table count for each. Call this first to discover what you can query.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
databasesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the return contents and the intended call-ordering behavior, but says nothing about side effects, scope limits, or cost of the call — for a zero-parameter read-only listing the residual risk is low, hence a middle score rather than a low one.

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, zero filler. Scope is front-loaded and the usage instruction follows immediately.

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?

For a no-argument discovery tool with an output schema, this is complete: what it returns, and that it should be the first call in a session. Nothing an agent needs before invoking it is missing.

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 there is no parameter semantics to document and no risk of under-specification. Baseline 4 applies.

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?

Specific verb + resource ('List the databases') plus a precise statement of the payload ('short description and table count for each'). This clearly separates it from describe_schema and run_query, which operate on a schema or execute SQL rather than enumerate databases.

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?

'Call this first to discover what you can query' gives explicit, actionable ordering guidance that an agent can follow without inference. It stops short of a 5 because it never names the alternatives (describe_schema, run_query) or states when-not to use this tool.

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