get_database_list
Lists all databases in a MySQL server, including names, character sets, collations, and available size details, to support schema inspection and server exploration.
Instructions
[Tool Purpose]: List all databases in MySQL server
[Exact Functionality]:
Show all databases with names and character sets
Display database size information if available
Show collation and default character set
[Required Use Cases]:
When user requests "database list", "show databases", "available databases"
When exploring server structure
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": "get_database_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_name | No | Database name to connect to (uses default if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |