Skip to main content
Glama

List databases

list_databases
Read-onlyIdempotent

MySQL and PostgreSQL databases of a hosting service, with their users. Check it before creating one to avoid a name clash.

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
service_idNoId of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / service_id / description
      Previous value: -"Hosting service id from list_services (unique across all the accounts this connection reaches). Optional when there is a single hosting service."New value: +"Id of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service."
  2. First observed

TDQS

A3.6/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 a closed world, so the safety profile is fully covered. The description adds one piece of behavioral value beyond that: results include each database's users. It does not describe ordering, pagination, or what fields identify a database.

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?

Two short sentences with no filler, and the return-content detail precedes the usage advice. The opening is a bare noun phrase rather than a verb-led statement, which slightly weakens front-loading but costs little in length.

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 tool with full annotation coverage and no output schema, the description covers scope, returned entities, and a usage trigger. The remaining gap is minor: it does not say whether non-MySQL/PostgreSQL database types exist or how results are scoped across multiple services.

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 description coverage is 100% and the single service_id parameter is fully documented in the schema, including its optionality when only one service exists. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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?

The description names the resource precisely, including the two supported engines (MySQL and PostgreSQL) and the hosting-service scope, and notes that user accounts are attached. It is clear what the tool returns, though it never states the verb 'list' explicitly in the body and does not differentiate itself from other list_* siblings such as list_services.

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?

"Check it before creating one to avoid a name clash" gives a concrete when-to-use trigger tied to a real workflow step. It stops short of naming the create tool or stating any when-not-to-use condition, so it is clear context without full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources