TOOL API
explain_ sql_ statement
Describe the PostgreSQL query execution plan for a query of SQL statement by running EXPLAIN (ANAYLZE...) in the database
devOAuth1 credits
Call information
- Tool slug
- mcp-server-neon.explain_sql_statement
- Provider
- Neon
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
sqlrequiredThe SQL statement to analyze
project_idThe ID of the project to execute the query against. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
branch_idAn optional ID of the branch to execute the query against. If not provided the default branch is used.
database_nameThe name of the database. If not provided, the default neondb or first available database is used.
analyzeWhether to execute the statement with EXPLAIN ANALYZE. Defaults to false because execution may cause side effects.