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

sqlrequired

The SQL statement to analyze

project_id

The 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_id

An optional ID of the branch to execute the query against. If not provided the default branch is used.

database_name

The name of the database. If not provided, the default neondb or first available database is used.

analyze

Whether to execute the statement with EXPLAIN ANALYZE. Defaults to false because execution may cause side effects.