show_variables
Fetch MySQL/MariaDB global variables to inspect server configuration, with optional name-pattern filtering and target selection for troubleshooting and tuning.
Instructions
[READ] Global variables (SHOW GLOBAL VARIABLES).
Args: pattern: Optional substring to filter variable names (e.g. 'innodb_buffer', 'max_connections'). target: Target name from config; omit for the default.
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": "show_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| pattern | No |