Postgres MCP

by crystaldba
Verified

analyze_query_indexes

Evaluate up to 10 SQL queries and recommend optimal indexes for improved query performance, considering user-defined constraints like maximum index size.

Instructions

Analyze a list of (up to 10) SQL queries and recommend optimal indexes

Input Schema

NameRequiredDescriptionDefault
max_index_size_mbNoMax index size in MB
queriesYesList of Query strings to analyze

Input Schema (JSON Schema)

{ "properties": { "max_index_size_mb": { "default": 10000, "description": "Max index size in MB", "title": "Max Index Size Mb", "type": "integer" }, "queries": { "description": "List of Query strings to analyze", "items": { "type": "string" }, "title": "Queries", "type": "array" } }, "required": [ "queries" ], "title": "analyze_query_indexesArguments", "type": "object" }

You must be authenticated.

Other Tools from Postgres MCP

Related Tools

ID: ecl7vgkzit