get_mysql_config
Retrieve MySQL server configuration variables and their current values, optionally filtered by search term, to diagnose configuration issues and verify global or session settings.
Instructions
[Tool Purpose]: Get MySQL server configuration variables
[Exact Functionality]:
Show server configuration variables and their values
Filter by search term if provided
Display both global and session variables
Show variable descriptions where available
[Required Use Cases]:
When user requests "MySQL config", "server variables", "configuration"
When diagnosing configuration issues
When checking specific settings
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_mysql_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_term | No | Filter variables by name containing this term | |
| database_name | No | Database name to connect to (uses default if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |