get_plan_cache_analysis
Analyze plan cache to identify plan type distribution, bloat from single-use plans, and top plans by size. Detect ad-hoc query pollution for performance optimization.
Instructions
Analyze plan cache: plan type distribution, single-use plan bloat, top plans by size. Detects ad-hoc query pollution.
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_plan_cache_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_name | No | Optional database name. Defaults to AZURE_SQL_DEFAULT_DATABASE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||