Notice: Write mode active. Destructive tools are exposed. For tools with `destructiveHint: true`, NEVER invoke autonomously; always ask the user first.
Notice: For tools with `project_id`, always pass it on an unscoped connection, even though the published schema marks it optional. A connection scoped to one project supplies it automatically when omitted; an explicit value must match the granted project. A project-scoped connection also hides project management tools such as list_projects and create_project. To change project scope, change or remove the projectId query param in the MCP server URL and reconnect. With OAuth, the project is fixed when the connection is authorized: log out and authorize again, and choose "All projects you can access" on the consent page to remove scoping.
Notice: Tool results show ***redacted*** in place of secrets the user stored in Neon to call other services: OAuth provider client secrets and the SMTP password. The user can show them by adding secrets=all to the MCP server URL and removing any X-Neon-Secrets header, or, with OAuth, by authorizing again and choosing "All secrets" on the consent page.
Discoverability
5/6 passed5 of 6 passed83/100
Client listings and public setup information.
MCP Server Card
An MCP Server Card found through ai-catalog.json or the endpoint's /server-card that declares this endpoint passes. Earlier paths and mcp.json earn half credit.
The MCP Server Card declares this server's exact endpoint.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description86/100
Runs one SQL statement on a branch's database and returns its rows. After a prepare step, pass its temporary branch_id. NEVER run destructive SQL autonomously; always ask the user first.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Input documentation gives an agent enough context to populate the arguments.
sql
The SQL statement to run.
Clear enough to supply this argument.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. Omit it for the default branch.
Clear enough to supply this argument.
database_name
Database name. Omit for neondb, else the first database.
Clear enough to supply this argument.
role_name
Postgres role to log in as. Omit for the database owner.
Clear enough to supply this argument.
compute_id
Compute endpoint id (ep-...). Omit for the read-write compute.
Clear enough to supply this argument.
max_rows
Rows to return per statement. Raise it only when a result has truncated: true.
{
"name": "run_sql",
"title": "Run SQL",
"description": "Runs one SQL statement on a branch's database and returns its rows. After a prepare step, pass its temporary branch_id. NEVER run destructive SQL autonomously; always ask the user first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string",
"description": "The SQL statement to run."
},
"max_rows": {
"type": "integer",
"default": 100,
"maximum": 10000,
"minimum": 1,
"description": "Rows to return per statement. Raise it only when a result has truncated: true."
},
"branch_id": {
"type": "string",
"description": "A br-... id, not a name. Omit it for the default branch."
},
"role_name": {
"type": "string",
"description": "Postgres role to log in as. Omit for the database owner."
},
"compute_id": {
"type": "string",
"description": "Compute endpoint id (ep-...). Omit for the read-write compute."
},
"project_id": {
"type": "string",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Database name. Omit for neondb, else the first database."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"rows",
"totalRowCount",
"truncated"
],
"properties": {
"note": {
"type": [
"string",
"null"
]
},
"rows": {
"type": "array",
"items": {
"type": "object"
},
"description": "Result rows, keyed by column name."
},
"truncated": {
"type": "boolean",
"description": "Whether rows holds fewer than totalRowCount."
},
"totalRowCount": {
"type": "number",
"description": "Rows the statement returned."
}
}
}
}
},
"annotations": {
"title": "Run SQL",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Runs several SQL statements in one transaction and returns each one's rows. After a prepare step, pass its temporary branch_id. NEVER run destructive SQL autonomously; always ask the user first.
The description explains the capability, when to use it, and what to expect.
Inputs87/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
sql_statements
The SQL statements to run, in order.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. Omit it for the default branch.
Clear enough to supply this argument.
database_name
Database name. Omit for neondb, else the first database.
Clear enough to supply this argument.
role_name
Postgres role to log in as. Omit for the database owner.
Clear enough to supply this argument.
compute_id
Compute endpoint id (ep-...). Omit for the read-write compute.
Clear enough to supply this argument.
max_rows
Rows to return per statement. Raise it only when a result has truncated: true.
{
"name": "get_database_tables",
"title": "Get Database Tables",
"description": "Lists a database's tables and views outside the system schemas. For one table's columns, use describe_table_schema.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"branch_id": {
"type": "string",
"description": "A br-... id, not a name. Omit it for the default branch."
},
"project_id": {
"type": "string",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Database name. Omit for neondb, else the first database."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object"
},
"description": "One row per table: table_schema, table_name, table_type."
}
}
},
"annotations": {
"title": "Get Database Tables",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Applies a schema change on a new temporary branch and returns a migration_id. Test it there with run_sql, ask the user, then always call complete_database_migration with the response's complete object so the branch is deleted.
The description explains the capability, when to use it, and what to expect.
Inputs63/100
Explain the meaning of this value, not just its name.
migration_sql
The migration SQL. It is split on every semicolon, including one inside a string or function body.
Clear enough to supply this argument.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
database_name
Database name. Omit for neondb, else the first database.
Explain the meaning of this value, not just its name.
Describe the returned fields so an agent can interpret the result.
View output schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"complete",
"temporary_branch",
"migration_result"
],
"properties": {
"complete": {
"type": "object",
"description": "The values that apply or discard the migration."
},
"migration_result": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object"
}
},
"description": "Rows per statement."
},
"temporary_branch": {
"type": "object",
"description": "The branch the migration ran on."
}
}
}
}
}
Original tool metadata
{
"name": "prepare_database_migration",
"title": "Prepare Database Migration",
"description": "Applies a schema change on a new temporary branch and returns a migration_id. Test it there with run_sql, ask the user, then always call complete_database_migration with the response's complete object so the branch is deleted.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"migration_sql"
],
"properties": {
"project_id": {
"type": "string",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Database name. Omit for neondb, else the first database."
},
"migration_sql": {
"type": "string",
"description": "The migration SQL. It is split on every semicolon, including one inside a string or function body."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"complete",
"temporary_branch",
"migration_result"
],
"properties": {
"complete": {
"type": "object",
"description": "The values that apply or discard the migration."
},
"migration_result": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object"
}
},
"description": "Rows per statement."
},
"temporary_branch": {
"type": "object",
"description": "The branch the migration ran on."
}
}
}
}
},
"annotations": {
"title": "Prepare Database Migration",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description88/100
Applies or discards a prepared migration and deletes the temporary branch. NEVER run autonomously; always ask the user first. Pass the complete object from prepare_database_migration; apply_changes false discards.
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
migration_id
The migration_id from prepare_database_migration.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
migration_sql
The exact migration_sql from prepare_database_migration.
Explain the meaning of this value, not just its name.
database_name
The exact database_name from prepare_database_migration.
Explain the meaning of this value, not just its name.
project_id
The exact project_id from prepare_database_migration. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
temporary_branch_id
The temporary branch to delete.
Clear enough to supply this argument.
parent_branch_id
The branch the migration is applied to.
Clear enough to supply this argument.
apply_changes
Apply the migration to the parent branch. false only deletes the temporary branch.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description88/100
Returns a branch summary, its database names, and a tree of one database's schemas, tables, views, indexes, sequences, and functions. Read-only: one catalog query in a READ ONLY transaction, so it changes no data; a suspended compute wakes to run it. Branch record only: get_branch; table names: get_database_tables; columns: describe_table_schema.
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
database_name
Database name. Omit for neondb, else the first database.
{
"name": "describe_branch",
"title": "Describe Branch",
"description": "Returns a branch summary, its database names, and a tree of one database's schemas, tables, views, indexes, sequences, and functions. Read-only: one catalog query in a READ ONLY transaction, so it changes no data; a suspended compute wakes to run it. Branch record only: get_branch; table names: get_database_tables; columns: describe_table_schema.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"branch_id": {
"type": "string",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Database name. Omit for neondb, else the first database."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"branch",
"console_url",
"text",
"database_structure"
],
"properties": {
"text": {
"type": "string",
"description": "The branch details and database tree as text."
},
"branch": {
"type": "object"
},
"console_url": {
"type": "string"
},
"database_structure": {
"anyOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object"
}
}
},
{
"type": "null"
}
],
"description": "`[[], treeRows]`, or null when the tree query failed."
},
"database_structure_error": {
"type": [
"string",
"null"
]
}
}
}
}
},
"annotations": {
"title": "Describe Branch",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Returns a Postgres connection string with a role password; the branch needs a compute. Omitted inputs resolve like the SQL tools: default branch, neondb or the first database, and its owner. Call it after create_project or create_branch, which return none. `project_id` follows the connection scope. Requires write access: the connection string carries a privileged role password, so it is unavailable in read-only mode. A read-only caller who needs a DATABASE_URL must copy it from https://console.neon.tech manually.
The description explains the capability, when to use it, and what to expect.
Inputs89/100
Input documentation gives an agent enough context to populate the arguments.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. Omit it for the default branch.
Clear enough to supply this argument.
compute_id
Compute endpoint id (ep-...). Omit for the read-write compute.
Clear enough to supply this argument.
database_name
Database name. Omit for neondb, else the first database.
Clear enough to supply this argument.
role_name
Postgres role to log in as. Omit for the database owner.
{
"name": "get_connection_string",
"title": "Get connection string",
"description": "Returns a Postgres connection string with a role password; the branch needs a compute. Omitted inputs resolve like the SQL tools: default branch, neondb or the first database, and its owner. Call it after create_project or create_branch, which return none. `project_id` follows the connection scope. Requires write access: the connection string carries a privileged role password, so it is unavailable in read-only mode. A read-only caller who needs a DATABASE_URL must copy it from https://console.neon.tech manually.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name. Omit it for the default branch."
},
"role_name": {
"type": "string",
"description": "Postgres role to log in as. Omit for the database owner."
},
"compute_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Compute endpoint id (ep-...). Omit for the read-write compute."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Database name. Omit for neondb, else the first database."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "string",
"description": "A postgresql:// connection string."
}
}
},
"annotations": {
"title": "Get connection string",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description83/100
Returns a branch's Neon Auth integration and settings: trusted origins, localhost, email and password, OAuth and email providers, plugins, webhook, and logs export. Needs Neon Auth on the branch (provision_neon_auth).
The description explains the capability, when to use it, and what to expect.
Inputs86/100
Remove repeated schema validation from descriptions; focus on meaning and usage context.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. Omit it for the project's default branch.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Returns a statement's execution plan as JSON. analyze true executes it, side effects included, so never analyze potentially destructive SQL autonomously. For rows, use run_sql.
The description explains the capability, when to use it, and what to expect.
Inputs84/100
Input documentation gives an agent enough context to populate the arguments.
sql
The SQL statement to explain.
Clear enough to supply this argument.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. Omit it for the default branch.
Clear enough to supply this argument.
database_name
Database name. Omit for neondb, else the first database.
Clear enough to supply this argument.
analyze
Run EXPLAIN ANALYZE, which executes the statement and its side effects.
{
"name": "explain_sql_statement",
"title": "Explain SQL Statement",
"description": "Returns a statement's execution plan as JSON. analyze true executes it, side effects included, so never analyze potentially destructive SQL autonomously. For rows, use run_sql.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sql"
],
"properties": {
"sql": {
"type": "string",
"description": "The SQL statement to explain."
},
"analyze": {
"type": "boolean",
"default": false,
"description": "Run EXPLAIN ANALYZE, which executes the statement and its side effects."
},
"branch_id": {
"type": "string",
"description": "A br-... id, not a name. Omit it for the default branch."
},
"project_id": {
"type": "string",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Database name. Omit for neondb, else the first database."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object"
}
}
}
},
"annotations": {
"title": "Explain SQL Statement",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Runs EXPLAIN ANALYZE for a slow query on a new temporary branch; returns the plan, table schemas, and a tuning_id. Try changes there with run_sql and explain_sql_statement, then always call complete_query_tuning with the complete object so the branch is deleted. Not prepare_database_migration.
The description explains the capability, when to use it, and what to expect.
Inputs83/100
Input documentation gives an agent enough context to populate the arguments.
sql
The slow SQL statement to analyze.
Clear enough to supply this argument.
database_name
The database the statement runs in.
Clear enough to supply this argument.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
role_name
Postgres role to connect as. Omit for the database owner.
Describe the returned fields so an agent can interpret the result.
View output schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"complete",
"execution_plan",
"table_schemas",
"sql",
"baseline_metrics"
],
"properties": {
"sql": {
"type": "string"
},
"complete": {
"type": "object",
"description": "The values that apply or discard the tuning."
},
"table_schemas": {
"type": "array",
"items": {
"type": "object"
},
"description": "Schemas of the tables the query reads."
},
"execution_plan": {
"type": "array",
"items": {
"type": "object"
},
"description": "EXPLAIN ANALYZE output."
},
"baseline_metrics": {
"type": "object",
"description": "Execution and planning time, cost, rows, and buffer usage."
}
}
}
}
}
Original tool metadata
{
"name": "prepare_query_tuning",
"title": "Prepare Query Tuning",
"description": "Runs EXPLAIN ANALYZE for a slow query on a new temporary branch; returns the plan, table schemas, and a tuning_id. Try changes there with run_sql and explain_sql_statement, then always call complete_query_tuning with the complete object so the branch is deleted. Not prepare_database_migration.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sql",
"database_name"
],
"properties": {
"sql": {
"type": "string",
"description": "The slow SQL statement to analyze."
},
"role_name": {
"type": "string",
"description": "Postgres role to connect as. Omit for the database owner."
},
"project_id": {
"type": "string",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "The database the statement runs in."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"complete",
"execution_plan",
"table_schemas",
"sql",
"baseline_metrics"
],
"properties": {
"sql": {
"type": "string"
},
"complete": {
"type": "object",
"description": "The values that apply or discard the tuning."
},
"table_schemas": {
"type": "array",
"items": {
"type": "object"
},
"description": "Schemas of the tables the query reads."
},
"execution_plan": {
"type": "array",
"items": {
"type": "object"
},
"description": "EXPLAIN ANALYZE output."
},
"baseline_metrics": {
"type": "object",
"description": "Execution and planning time, cost, rows, and buffer usage."
}
}
}
}
},
"annotations": {
"title": "Prepare Query Tuning",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description83/100
Applies or discards query-tuning changes and deletes the temporary branch. NEVER run autonomously. Pass the complete object from prepare_query_tuning and suggested_sql_statements; apply_changes true applies, omitted discards. Call it even when the user rejects.
The description explains the capability, when to use it, and what to expect.
Inputs86/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
suggested_sql_statements
The DDL statements that improved the plan on the temporary branch, for example CREATE INDEX.
Clear enough to supply this argument.
apply_changes
Apply suggested_sql_statements to branch_id.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
tuning_id
The tuning_id from prepare_query_tuning, not a branch id.
Clear enough to supply this argument.
database_name
The database_name from prepare_query_tuning.
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
role_name
The role_name passed to prepare_query_tuning, if any. Omit for the database owner.
Clear enough to supply this argument.
should_delete_temporary_branch
Delete the temporary branch.
Explain the meaning of this value, not just its name.
temporary_branch_id
The temporary_branch_id from prepare_query_tuning.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. The branch that receives the changes; omit it for the default branch.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
Lists queries from pg_stat_statements, slowest mean execution time first. For sizes, indexes, locks, cache, bloat, or replication, use inspect_database.
The description explains the capability, when to use it, and what to expect.
Inputs80/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name. Omit it for the default branch.
Clear enough to supply this argument.
database_name
Database name. Omit for neondb, else the first database.
Explain the meaning of this value, not just its name.
compute_id
Compute endpoint id (ep-...). Omit for the read-write compute.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description77/100
Runs one read-only neon inspect db check; some are compute-wide. outliers ranks queries by total time and calls by count, both via pg_stat_statements; lfc-hit-rate and working-set need the neon extension. If one is missing, the error gives the CREATE EXTENSION; ask before running it. Other SQL: run_sql; one plan: explain_sql_statement; new indexes: prepare_query_tuning.
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
check
The diagnostic to run.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
branch_id
A br-... id, not a name. Omit it for the default branch.
Clear enough to supply this argument.
database_name
Database to inspect, or to connect through for a compute-wide check. Omit for every database; one failure fails the run.
Clear enough to supply this argument.
compute_id
Compute endpoint id (ep-...). Omit for the read-write compute.
Clear enough to supply this argument.
limit
Rows to return. Raise it only when truncated is true.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Finds organizations, projects (including shared ones), branches, computes, and snapshots whose name or id contains query, with ids for fetch. To list projects, use list_projects; for docs, search_docs.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
query
Part of a name or id, or a compute endpoint host from a connection string.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Lists open Neon incidents and maintenance from neonstatus.com and the affected components and regions. Needs no credentials. Call it when Neon requests fail unexpectedly or the user asks whether Neon is down.
The description explains the capability, when to use it, and what to expect.
Inputs100/100
This tool declares no inputs, so argument descriptions are not needed.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Lists the projects in an organization; search filters by name or id. To also find branches, computes, or snapshots, use search. Returns every page. Pass limit to cap how many. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.
The description explains the capability, when to use it, and what to expect.
Inputs85/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
Specify a value from 1 to 400 to limit number of projects in the response.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
search
Search by project `name` or `id`.
Clear enough to supply this argument.
org_id
Organization id from list_organizations; required with a personal API key.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
timeout
Specify an explicit timeout in milliseconds to limit response delay.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
recoverable
Show only deleted projects within the recovery window.
Shorten the title to an action and subject; move usage details into the description.
Description86/100
Counts an organization's active projects without listing them; ones being created or deleted are not counted. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
org_id
Organization id from list_organizations; required with a personal API key.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"name": "count_projects",
"title": "Retrieve projects count",
"description": "Counts an organization's active projects without listing them; ones being created or deleted are not counted. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"org_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Organization id from list_organizations; required with a personal API key."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "number"
}
}
},
"annotations": {
"title": "Retrieve projects count",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Creates a project with a default branch and read-write compute and waits until it is ready. Returns no connection string; use get_connection_string. `org_id` is optional: organization API keys use their organization; personal API keys auto-select when unambiguous and otherwise return the IDs to choose from.
The description explains the capability, when to use it, and what to expect.
Inputs69/100
35 of 36 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
settings › quota › active_time_seconds
The total amount of wall-clock time allowed to be spent by the project's compute endpoints.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › quota › compute_time_seconds
The total amount of CPU seconds allowed to be spent by the project's compute endpoints.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › quota › written_data_bytes
Total amount of data written to all of a project's branches.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › quota › data_transfer_bytes
Total amount of data transferred from all of a project's branches using the proxy.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › quota › logical_size_bytes
Limit on the logical size of every project's branch.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › allowed_ips › ips
A list of IP addresses that are allowed to connect to the endpoint.
Clear enough to supply this argument.
settings › allowed_ips › protected_branches_only
If true, the list will be applied only to protected branches.
Clear enough to supply this argument.
settings › enable_logical_replication
Sets wal_level=logical for all compute endpoints in this project.
Clear enough to supply this argument.
settings › maintenance_window › weekdays
A list of weekdays when the maintenance window is active.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
settings › maintenance_window › start_time
Start time of the maintenance window, in the format of "HH:MM".
Clear enough to supply this argument.
settings › maintenance_window › end_time
End time of the maintenance window, in the format of "HH:MM".
Clear enough to supply this argument.
settings › block_public_connections
When set, connections from the public internet are disallowed.
Clear enough to supply this argument.
settings › block_vpc_connections
When set, connections using VPC endpoints are disallowed.
Clear enough to supply this argument.
settings › audit_log_level
Not provided
Missing description. Explain what this value means and how to supply it.
settings › hipaa
Enables HIPAA compliance mode for the project, including audit logging.
Clear enough to supply this argument.
settings › preload_libraries › use_defaults
When true, the project's preload libraries include the platform default set in addition to any libraries listed in `enabled_libraries`.
Clear enough to supply this argument.
settings › preload_libraries › enabled_libraries
Names of shared preload libraries to enable for the project.
Clear enough to supply this argument.
name
The project name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
realtime › allowed_origins
The browser origins allowed to connect, each `http` or `https` with a host and optional port and no path.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch › name
The default branch name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch › role_name
The role name.
Explain the meaning of this value, not just its name.
branch › database_name
The database name.
Explain the meaning of this value, not just its name.
branch › annotations
Arbitrary key-value metadata to attach to the branch.
Explain the meaning of this value, not just its name.
autoscaling_limit_min_cu
Deprecated. Use `default_endpoint_settings.autoscaling_limit_min_cu` instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
autoscaling_limit_max_cu
Deprecated. Use `default_endpoint_settings.autoscaling_limit_max_cu` instead.
Explain the meaning of this value, not just its name.
provisioner
Compute provisioner.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
region_id
The region identifier.
Explain the meaning of this value, not just its name.
default_endpoint_settings › pg_settings
A raw representation of Postgres settings
Explain the meaning of this value, not just its name.
default_endpoint_settings › pgbouncer_settings
Deprecated. Use the endpoint-level connection pooler configuration instead.
Explain the meaning of this value, not just its name.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Deletes a project with all its branches, computes, databases, and roles. NEVER run autonomously; always ask the user first. recover_project undoes it within 7 days. For one branch, use delete_branch.
The description explains the capability, when to use it, and what to expect.
Inputs50/100
Explain the meaning of this value, not just its name.
project_id
Project id.
Explain the meaning of this value, not just its name.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
Lists organization members and their roles on an org-owned project; 404 when the project is not org-owned or per-project roles are off. Returns every page. Pass limit to cap how many.
Describe the returned information so the agent knows whether it will answer the request.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
The maximum number of members to return in the response
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations100/100
All four behavior hints are declared.
{
"title": "List org members and their project roles",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
Output schema59/100
Describe the returned fields so an agent can interpret the result.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description80/100
Returns per-project consumption in an organization. metrics: every name get_branch_consumption takes, plus extra_branches_month and snapshot_storage_bytes_month. Launch, Scale, Agent, Business, or Enterprise plans; others get 403. Returns every page. Pass limit to cap how many.
The description explains the capability, when to use it, and what to expect.
Inputs61/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
Maximum number of projects per page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_ids
Up to 100 project ids. Omit for every project with history in the organization, including deleted ones.
Resolve the mismatch between this description and its schema constraints.
from
Period start, rounded to granularity.
Explain the meaning of this value, not just its name.
to
Period end, rounded to granularity.
Explain the meaning of this value, not just its name.
granularity
hourly reaches back 168 hours, daily 60 days, monthly one year.
Clear enough to supply this argument.
org_id
Organization id from list_organizations.
Clear enough to supply this argument.
metrics
Metric names from the tool description. An unknown name returns no data rather than an error.
Explain the meaning of this value, not just its name.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description88/100
Returns per-branch consumption for project_ids. metrics: compute_unit_seconds, root_branch_bytes_month, child_branch_bytes_month, instant_restore_bytes_month, public_network_transfer_bytes, private_network_transfer_bytes, functions_active_capacity_microseconds, functions_waiting_capacity_microseconds, functions_invocations, functions_egress_bytes. Usage-based Launch, Scale, Agent, or Enterprise plans only. Returns every page. Pass limit to cap how many.
The description explains the capability, when to use it, and what to expect.
Inputs67/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
Maximum number of branches per page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_ids
Project IDs to include (required, 1 to 100).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_ids
Optional branch IDs to filter the response (up to 100).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
from
Period start, rounded to granularity.
Explain the meaning of this value, not just its name.
to
Period end, rounded to granularity.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
granularity
hourly reaches back 168 hours, daily 60 days, monthly one year.
Clear enough to supply this argument.
org_id
Organization id from list_organizations.
Clear enough to supply this argument.
metrics
Metric names from the tool description; any other returns HTTP 400. extra_branches_month and snapshot_storage_bytes_month are only on get_project_consumption.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Lists a project's branches with id (br-...), name, parent, and default flag; search finds a branch's id by name. Returns every page. Pass limit to cap how many.
The description explains the capability, when to use it, and what to expect.
Inputs66/100
Resolve the mismatch between this description and its schema constraints.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
search
Search by branch `name` or `id`.
Clear enough to supply this argument.
sort_by
Sort the branches by sort_field.
Resolve the mismatch between this description and its schema constraints.
sort_order
Defines the sorting order of entities.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
The maximum number of records to be returned in the response
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
include_deleted
If true, return recoverable deleted branches too (soft-deleted within the recovery window).
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
Creates a branch from its parent's current data, with a read-write compute unless no_compute, and waits until it is ready. Returns no connection string; use get_connection_string.
The description explains the capability, when to use it, and what to expect.
Inputs50/100
5 of 7 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
name
The branch name
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
parent_id
Parent branch id (br-...). Omit for the project's default branch.
Resolve the mismatch between this description and its schema constraints.
compute › min_cu
Not provided
Missing description. Explain what this value means and how to supply it.
compute › max_cu
Not provided
Missing description. Explain what this value means and how to supply it.
compute › suspend_timeout_seconds
Duration of inactivity in seconds after which the compute endpoint is automatically suspended.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
no_compute
Skip the read-write endpoint. Default false. Cannot be combined with compute.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Deletes a branch with all its data and disconnects its clients. NEVER run autonomously; always ask the user first. The root, the default, and a branch with children cannot be deleted. For the whole project, use delete_project.
The description explains the capability, when to use it, and what to expect.
Inputs53/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
{
"name": "delete_branch",
"title": "Delete branch",
"description": "Deletes a branch with all its data and disconnects its clients. NEVER run autonomously; always ask the user first. The root, the default, and a branch with children cannot be deleted. For the whole project, use delete_project.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Delete branch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Resets a branch to its parent's current state, discarding the branch's own changes. NEVER run autonomously; always ask the user first. preserve_under_name first saves the current state as a new branch. To restore a snapshot, use restore_snapshot.
The description explains the capability, when to use it, and what to expect.
Inputs58/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
preserve_under_name
Name under which to save the current branch before the reset. Required when the branch has children; those children move to the new branch.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description74/100
Diffs one database's SQL schema on a branch against another branch, by default its parent. lsn, timestamp, base_lsn, and base_timestamp are only for point-in-time comparisons.
Describe the returned information so the agent knows whether it will answer the request.
Inputs78/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
database_name
Name of the database for which the schema is retrieved
Clear enough to supply this argument.
base_branch_id
Branch id (br-...) to compare against, not its name. Omit for the parent branch.
Clear enough to supply this argument.
lsn
The Log Sequence Number (LSN) for which the schema is retrieved
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
timestamp
The point in time for which the schema is retrieved
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
base_lsn
The Log Sequence Number (LSN) for the base branch schema
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
{
"name": "compare_database_schema",
"title": "Compare database schema",
"description": "Diffs one database's SQL schema on a branch against another branch, by default its parent. lsn, timestamp, base_lsn, and base_timestamp are only for point-in-time comparisons.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"database_name"
],
"properties": {
"lsn": {
"type": "string",
"description": "The Log Sequence Number (LSN) for which the schema is retrieved"
},
"base_lsn": {
"type": "string",
"description": "The Log Sequence Number (LSN) for the base branch schema"
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"timestamp": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "The point in time for which the schema is retrieved"
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "Name of the database for which the schema is retrieved"
},
"base_branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Branch id (br-...) to compare against, not its name. Omit for the parent branch."
},
"base_timestamp": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "The point in time for the base branch schema"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"properties": {
"diff": {
"type": [
"string",
"null"
]
}
}
}
}
},
"annotations": {
"title": "Compare database schema",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Finalizes a branch restored with finalize false: moves the original branch's computes onto it, restarting them, and takes over its name. NEVER run autonomously; always ask the user first.
The description explains the capability, when to use it, and what to expect.
Inputs76/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Clear enough to supply this argument.
name
Name for the replaced branch.
Explain the meaning of this value, not just its name.
{
"name": "finalize_branch_restore",
"title": "Finalize branch restore from snapshot",
"description": "Finalizes a branch restored with finalize false: moves the original branch's computes onto it, restarting them, and takes over its name. NEVER run autonomously; always ask the user first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"name": {
"type": "string",
"description": "Name for the replaced branch."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Finalize branch restore from snapshot",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Creates a Postgres role on a branch and returns its password. The default access, admin, joins neon_superuser: every database, creating databases and roles, bypassing row-level security, and it cannot be narrowed later. For least privilege pass read_only or read_write with database_name and schemas, covering the tables the database owner owns, now and later.
The description explains the capability, when to use it, and what to expect.
Inputs79/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
The role name.
Explain the meaning of this value, not just its name.
no_login
Whether to create a role that cannot login.
Clear enough to supply this argument.
access
read_only grants SELECT; read_write adds INSERT, UPDATE, DELETE, and sequences, on top of what PUBLIC has. Default admin joins neon_superuser.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
database_name
Database a read_only or read_write role is scoped to. Optional when the branch has exactly one database.
Clear enough to supply this argument.
schemas
Schemas a read_only or read_write role can use. Default ["public"].
{
"name": "create_postgres_role",
"title": "Create role",
"description": "Creates a Postgres role on a branch and returns its password. The default access, admin, joins neon_superuser: every database, creating databases and roles, bypassing row-level security, and it cannot be narrowed later. For least privilege pass read_only or read_write with database_name and schemas, covering the tables the database owner owns, now and later.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The role name."
},
"access": {
"enum": [
"admin",
"read_only",
"read_write"
],
"type": "string",
"description": "read_only grants SELECT; read_write adds INSERT, UPDATE, DELETE, and sequences, on top of what PUBLIC has. Default admin joins neon_superuser."
},
"schemas": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1,
"description": "Schemas a read_only or read_write role can use. Default [\"public\"]."
},
"no_login": {
"type": "boolean",
"description": "Whether to create a role that cannot login."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"minLength": 1,
"description": "Database a read_only or read_write role is scoped to. Optional when the branch has exactly one database."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"branch_id",
"name",
"created_at",
"updated_at"
],
"properties": {
"name": {
"type": "string"
},
"password": {
"type": [
"string",
"null"
]
},
"branch_id": {
"type": "string"
},
"protected": {
"type": [
"boolean",
"null"
]
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"authentication_method": {
"type": [
"string",
"null"
]
}
}
}
}
},
"annotations": {
"title": "Create role",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Creates a compute endpoint on a branch; a branch takes one read-write endpoint and any number of read-only. Returns no connection string; use get_connection_string.
The description explains the capability, when to use it, and what to expect.
Inputs62/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
The ID of the branch the compute endpoint will be associated with
Clear enough to supply this argument.
region_id
The region where the compute endpoint will be created.
Explain the meaning of this value, not just its name.
type
Compute endpoint type.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › pg_settings
A raw representation of Postgres settings
Explain the meaning of this value, not just its name.
settings › pgbouncer_settings
Deprecated. PgBouncer settings for the compute endpoint.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
settings › preload_libraries › use_defaults
When true, the project's preload libraries include the platform default set in addition to any libraries listed in `enabled_libraries`.
Clear enough to supply this argument.
settings › preload_libraries › enabled_libraries
Names of shared preload libraries to enable for the project.
Clear enough to supply this argument.
autoscaling_limit_min_cu
The minimum number of Compute Units.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
autoscaling_limit_max_cu
The maximum number of Compute Units.
Explain what happens when this optional value is omitted.
provisioner
Compute provisioner.
Explain the meaning of this value, not just its name.
pooler_enabled
Deprecated. To enable connection pooling, append `-pooler` to the endpoint ID in the connection string.
Explain the meaning of this value, not just its name.
pooler_mode
Deprecated. The connection pooler mode.
Explain the meaning of this value, not just its name.
disabled
Whether to restrict connections to the compute endpoint.
Clear enough to supply this argument.
passwordless_access
NOT YET IMPLEMENTED.
Explain the meaning of this value, not just its name.
suspend_timeout_seconds
Scale-to-zero idle timeout, in seconds, before the compute suspends.
Explain the meaning of this value, not just its name.
name
Optional name of the compute endpoint
Explain the meaning of this value, not just its name.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description86/100
Restores a snapshot into a new branch and waits until it is ready. finalize true replaces target_branch_id (default: the snapshot's source branch) with it. NEVER finalize autonomously; ask the user first. Swap in later with finalize_branch_restore.
The description explains the capability, when to use it, and what to expect.
Inputs74/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
snapshot_id
The snapshot ID
Explain the meaning of this value, not just its name.
name
A name for the newly restored branch.
Explain what happens when this optional value is omitted.
target_branch_id
Branch that finalize replaces. Defaults to the snapshot's source branch.
Clear enough to supply this argument.
finalize
Replace the target branch with the restored data now. Default false.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Gets a branch's Neon Auth integration record: provider, base URL, JWKS URL, and database. Prefer get_neon_auth_config, which adds the auth settings, unless you only need the record.
The description explains the capability, when to use it, and what to expect.
Inputs58/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
Annotations100/100
All four behavior hints are declared.
{
"title": "Retrieve Neon Auth details for the branch",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
Output schema56/100
Describe the returned fields so an agent can interpret the result.
{
"name": "disable_auth",
"title": "Disable Neon Auth for the branch",
"description": "Disables Neon Auth on a branch. delete_data also drops the neon_auth schema and its tables.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"delete_data": {
"type": "boolean",
"description": "If true, deletes the `neon_auth` schema from the database"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Disable Neon Auth for the branch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description83/100
Lists the social login providers (Google, GitHub, Microsoft, Vercel, Apple, Discord) of a branch's Neon Auth. For Neon Auth as an OAuth server, use get_auth_oauth_server.
Describe the returned information so the agent knows whether it will answer the request.
Inputs86/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations100/100
All four behavior hints are declared.
{
"title": "List OAuth providers for the branch",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
Output schema56/100
Describe the returned fields so an agent can interpret the result.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description80/100
Adds a social login provider (Google, GitHub, Microsoft, Vercel, Apple, Discord) to a branch's Neon Auth. Microsoft, Apple, and Discord have no shared app, so they need your own `client_id` and `client_secret`. Apple and Discord work only on Better Auth projects, not legacy Stack Auth. For Apple, `client_id` is the Services ID, `client_secret` is the `.p8` private key, and `apple_team_id` and `apple_key_id` are required. For Neon Auth as an OAuth server, use update_auth_oauth_server.
The description explains the capability, when to use it, and what to expect.
Inputs69/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
id
OAuth provider to configure for Neon Auth.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
client_id
The client ID issued by the OAuth provider for your application.
Clear enough to supply this argument.
client_secret
OAuth client secret for the provider.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
microsoft_tenant_id
Tenant ID for the Microsoft OAuth provider.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
apple_team_id
Apple Developer Team ID.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
apple_key_id
Key ID of the Sign in with Apple private key supplied in `client_secret`.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
{
"name": "add_auth_oauth_provider",
"title": "Add an OAuth provider",
"description": "Adds a social login provider (Google, GitHub, Microsoft, Vercel, Apple, Discord) to a branch's Neon Auth. Microsoft, Apple, and Discord have no shared app, so they need your own `client_id` and `client_secret`. Apple and Discord work only on Better Auth projects, not legacy Stack Auth. For Apple, `client_id` is the Services ID, `client_secret` is the `.p8` private key, and `apple_team_id` and `apple_key_id` are required. For Neon Auth as an OAuth server, use update_auth_oauth_server.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"id"
],
"properties": {
"id": {
"enum": [
"google",
"github",
"microsoft",
"vercel",
"apple",
"discord"
],
"type": "string",
"description": "OAuth provider to configure for Neon Auth."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"client_id": {
"type": "string",
"description": "The client ID issued by the OAuth provider for your application."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"apple_key_id": {
"type": "string",
"description": "Key ID of the Sign in with Apple private key supplied in `client_secret`."
},
"apple_team_id": {
"type": "string",
"description": "Apple Developer Team ID."
},
"client_secret": {
"type": "string",
"description": "OAuth client secret for the provider."
},
"microsoft_tenant_id": {
"type": "string",
"description": "Tenant ID for the Microsoft OAuth provider."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"client_id": {
"type": [
"string",
"null"
]
},
"apple_key_id": {
"type": [
"string",
"null"
]
},
"apple_team_id": {
"type": [
"string",
"null"
]
},
"client_secret": {
"type": [
"string",
"null"
]
},
"microsoft_tenant_id": {
"type": [
"string",
"null"
]
}
}
}
}
},
"annotations": {
"title": "Add an OAuth provider",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description78/100
Updates a social login provider (Google, GitHub, Microsoft, Vercel, Apple, Discord) on a branch's Neon Auth. For Apple, a new `client_secret` (`.p8` key) must be sent with its `apple_key_id`. For Neon Auth as an OAuth server, use update_auth_oauth_server.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
oauth_provider_id
The OAuth provider ID
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
client_id
The OAuth client ID registered with the provider.
Clear enough to supply this argument.
client_secret
OAuth client secret for the provider.
Clear enough to supply this argument.
microsoft_tenant_id
The tenant ID scoping the Microsoft OAuth provider.
Clear enough to supply this argument.
apple_team_id
Apple Developer Team ID.
Clear enough to supply this argument.
apple_key_id
Key ID of the Sign in with Apple private key supplied in `client_secret`.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description78/100
Deletes a social login provider (Google, GitHub, Microsoft, Vercel, Apple, Discord) from a branch's Neon Auth. For Neon Auth as an OAuth server, use update_auth_oauth_server.
Explain mutations, irreversible effects, or prerequisites that matter before calling this tool.
Inputs72/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
oauth_provider_id
The OAuth provider ID
Explain the meaning of this value, not just its name.
{
"name": "create_auth_user",
"title": "Create new auth user",
"description": "Creates a Neon Auth user on a branch who can sign in right away.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"email"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Display name for the new user."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 256,
"minLength": 1,
"description": "Email address of the new Neon Auth user to create."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
}
}
}
}
},
"annotations": {
"title": "Create new auth user",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description82/100
Gets a branch's Neon Auth OAuth 2.1 server settings (oauth_provider plugin), for example for MCP clients. For social login, use list_auth_oauth_providers.
Describe the returned information so the agent knows whether it will answer the request.
Inputs58/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description84/100
Configures a branch's Neon Auth as an OAuth 2.1 server (oauth_provider plugin); root branch only. Enabling needs login_page, consent_page, and a resource or MCP resource. resources replaces the stored list, so send the full list from get_auth_oauth_server.
The description explains the capability, when to use it, and what to expect.
Inputs80/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
enabled
Whether the OAuth provider plugin is enabled.
Clear enough to supply this argument.
login_page
URL of the page that authorization requests redirect to for sign-in.
Clear enough to supply this argument.
consent_page
URL of the page that authorization requests redirect to for consent.
Clear enough to supply this argument.
mcp › resource
The MCP server URL that MCP clients (Client ID Metadata Document and dynamically registered) are linked to.
Clear enough to supply this argument.
mcp › dynamic_registration
Whether MCP clients may register themselves via dynamic client registration (RFC 7591).
Clear enough to supply this argument.
mcp › client_id_metadata_documents
Whether MCP clients may identify themselves with an https Client ID Metadata Document (CIMD) URL.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Registers an OAuth client with a branch's Neon Auth OAuth server. A confidential client's client_secret is returned once: show it to the user and tell them to store it. resources must already be on the server, or be its MCP resource (get_auth_oauth_server). type is permanent.
The description explains the capability, when to use it, and what to expect.
Inputs62/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Display name of the client.
Clear enough to supply this argument.
redirect_uris
Redirect URIs the client may use.
Clear enough to supply this argument.
type
Confidential clients authenticate with a client secret.
Clear enough to supply this argument.
resources
Identifiers of the protected resources to link the client to.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
skip_consent
Whether to skip the consent prompt for this client.
Explain what happens when this optional value is omitted.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Issues a new secret for a confidential OAuth client; the old one stops working at once. The new client_secret is returned once: show it to the user and tell them to store it.
The description explains the capability, when to use it, and what to expect.
Inputs69/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
{
"name": "rotate_auth_oauth_client_secret",
"title": "Rotate an OAuth client secret",
"description": "Issues a new secret for a confidential OAuth client; the old one stops working at once. The new client_secret is returned once: show it to the user and tell them to store it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"client_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"client_id": {
"type": "string",
"pattern": "^[A-Za-z0-9]+$",
"maxLength": 64,
"description": "The OAuth client ID"
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"client_id",
"client_secret"
],
"properties": {
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
}
}
}
}
},
"annotations": {
"title": "Rotate an OAuth client secret",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description74/100
Sets the email provider for Neon Auth's emails: body.type "shared" for Neon's sender, or "standard" with your SMTP details. Test it with send_auth_test_email.
Explain mutations, irreversible effects, or prerequisites that matter before calling this tool.
Inputs74/100
10 of 12 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
body › oneOf › 0 › host
Hostname of the email server.
Clear enough to supply this argument.
body › oneOf › 0 › port
TCP port of the SMTP server.
Clear enough to supply this argument.
body › oneOf › 0 › username
Username for authenticating with the SMTP server.
Clear enough to supply this argument.
body › oneOf › 0 › password
Password for authenticating with the SMTP server.
Clear enough to supply this argument.
body › oneOf › 0 › sender_email
Email address used as the From address on outgoing auth emails.
Clear enough to supply this argument.
body › oneOf › 0 › sender_name
Display name shown as the sender in outgoing emails.
Clear enough to supply this argument.
body › oneOf › 0 › type
Not provided
Missing description. Explain what this value means and how to supply it.
body › oneOf › 1 › sender_email
Email address used as the sender for outgoing messages from this shared email server.
Clear enough to supply this argument.
body › oneOf › 1 › sender_name
Display name shown as the sender in outgoing emails.
Clear enough to supply this argument.
body › oneOf › 1 › type
Not provided
Missing description. Explain what this value means and how to supply it.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description91/100
Sends a test email through the branch's saved standard SMTP provider to recipient_email. Only send to an address the user gave you. A failed send returns success false with error_message, not an error.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
recipient_email
The email address to send the test email to.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"title": "Send test email using the saved email provider",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
Output schema63/100
Describe the returned fields so an agent can interpret the result.
{
"name": "send_auth_test_email",
"title": "Send test email using the saved email provider",
"description": "Sends a test email through the branch's saved standard SMTP provider to recipient_email. Only send to an address the user gave you. A failed send returns success false with error_message, not an error.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"recipient_email"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"recipient_email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 256,
"minLength": 1,
"description": "The email address to send the test email to."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"success"
],
"properties": {
"success": {
"type": "boolean"
},
"error_message": {
"type": [
"string",
"null"
]
}
}
}
}
},
"annotations": {
"title": "Send test email using the saved email provider",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description71/100
Updates the Neon Auth organization plugin, which lets your app's users form organizations (not Neon organizations). Omitted fields keep their value. Current values: get_neon_auth_config.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
enabled
Controls whether the organization plugin is active for the organization.
Clear enough to supply this argument.
organization_limit
Maximum organizations a user can belong to (created or joined).
Clear enough to supply this argument.
membership_limit
Maximum members per organization.
Clear enough to supply this argument.
creator_role
Role of the organization's creator.
Clear enough to supply this argument.
send_invitation_email
When true, invited users receive an email containing an accept link.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description74/100
Updates the Neon Auth SMS OTP plugin; omitted fields keep their value. SMS needs a webhook with the send.otp event (update_auth_webhooks). Current values: get_neon_auth_config.
Describe the returned information so the agent knows whether it will answer the request.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description88/100
Replaces a branch's Neon Auth webhook configuration; omitted fields reset, so { enabled: false } alone clears webhook_url and enabled_events. Send every field to keep, read from get_neon_auth_config.
The description explains the capability, when to use it, and what to expect.
Inputs77/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
enabled
Whether the webhook is active.
Clear enough to supply this argument.
webhook_url
Destination URL that receives webhook event payloads.
Clear enough to supply this argument.
enabled_events
Event types that trigger this webhook.
Clear enough to supply this argument.
timeout_seconds
Maximum time, in seconds, to wait for a response from the webhook endpoint.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description91/100
Turns the export of a branch's Neon Auth events to Neon Platform logs on or off. A project without logs export accepts only enabled: false; enabling there returns 404 feature not available. get_neon_auth_config reports the current value as logs_export, or null where logs export is not available.
The description explains the capability, when to use it, and what to expect.
Inputs77/100
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
enabled
Whether Neon Auth events are exported to Neon Platform logs.
{
"name": "update_auth_logs_export",
"title": "Update Neon Auth logs export setting",
"description": "Turns the export of a branch's Neon Auth events to Neon Platform logs on or off. A project without logs export accepts only enabled: false; enabling there returns 404 feature not available. get_neon_auth_config reports the current value as logs_export, or null where logs export is not available.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"enabled"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether Neon Auth events are exported to Neon Platform logs."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"enabled"
],
"properties": {
"enabled": {
"type": "boolean"
}
}
}
}
},
"annotations": {
"title": "Update Neon Auth logs export setting",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
{
"name": "provision_neon_data_api",
"title": "Create Neon Data API",
"description": "Creates the Neon Data API, a REST interface over database_name, on a branch.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"database_name"
],
"properties": {
"jwks_url": {
"type": "string",
"format": "uri",
"description": "URL of the JWKS endpoint used to verify JWTs for this Data API."
},
"settings": {
"type": "object",
"properties": {
"db_schemas": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of schemas to expose via the API."
},
"db_max_rows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Hard limit on the number of rows returned in a single Data API response."
},
"db_anon_role": {
"type": "string",
"description": "Database role to use for anonymous requests"
},
"openapi_mode": {
"type": "string",
"description": "OpenAPI specification mode (ignore-privileges, disabled)"
},
"jwt_role_claim_key": {
"type": "string",
"description": "JWT claim key to use for role extraction"
},
"db_extra_search_path": {
"type": "string",
"description": "Extra schemas to add to the search path"
},
"db_aggregates_enabled": {
"type": "boolean",
"description": "Enable aggregates feature"
},
"server_timing_enabled": {
"type": "boolean",
"description": "When enabled, the Data API adds `Server-Timing` headers to each response showing database execution and internal processing time."
},
"jwt_cache_max_lifetime": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Maximum lifetime of the Data API's JWT cache, in seconds."
},
"server_cors_allowed_origins": {
"type": "string",
"description": "CORS allowed origins"
}
},
"description": "Auth and schema configuration for the Data API.",
"additionalProperties": false
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"jwt_audience": {
"type": "string",
"description": "Expected `aud` claim in incoming JWTs."
},
"auth_provider": {
"enum": [
"neon_auth",
"external"
],
"type": "string",
"description": "Authentication provider for the Neon Data API."
},
"database_name": {
"type": "string",
"description": "The database name"
},
"provider_name": {
"type": "string",
"description": "Display name for the authentication provider."
},
"skip_auth_schema": {
"type": "boolean",
"description": "Skip creating the auth schema and RLS functions"
},
"add_default_grants": {
"type": "boolean",
"description": "Grant all permissions to the tables in the public schema to authenticated users"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
}
}
}
}
},
"annotations": {
"title": "Create Neon Data API",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
{
"name": "update_data_api",
"title": "Update Neon Data API",
"description": "Updates the Neon Data API settings for a database and refreshes its schema cache.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"database_name"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"db_schemas": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of schemas to expose via the API."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"db_max_rows": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Hard limit on the number of rows returned in a single Data API response."
},
"db_anon_role": {
"type": "string",
"description": "Database role to use for anonymous requests"
},
"openapi_mode": {
"type": "string",
"description": "OpenAPI specification mode (ignore-privileges, disabled)"
},
"database_name": {
"type": "string",
"description": "The database name"
},
"jwt_role_claim_key": {
"type": "string",
"description": "JWT claim key to use for role extraction"
},
"db_extra_search_path": {
"type": "string",
"description": "Extra schemas to add to the search path"
},
"db_aggregates_enabled": {
"type": "boolean",
"description": "Enable aggregates feature"
},
"server_timing_enabled": {
"type": "boolean",
"description": "When enabled, the Data API adds `Server-Timing` headers to each response showing database execution and internal processing time."
},
"jwt_cache_max_lifetime": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Maximum lifetime of the Data API's JWT cache, in seconds."
},
"server_cors_allowed_origins": {
"type": "string",
"description": "CORS allowed origins"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Update Neon Data API",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
{
"name": "delete_data_api",
"title": "Delete Neon Data API",
"description": "Deletes the Neon Data API for a database; requests to its endpoint start failing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"database_name"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"database_name": {
"type": "string",
"description": "The database name"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Delete Neon Data API",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description90/100
Returns a branch's log records. Filters combine with AND; pass logql or structured filters, not both. Pass since or start_time, not both; default last hour, max seven days. Private beta: a branch without logs returns 404 telemetry_not_enabled. Stream labels: query_loki_logs. Returns every page. Pass limit to cap how many.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
since
A length of time as a count and a unit, for example `30m`, `6h`, or `7d`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
start_time
Inclusive beginning of the query window.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_time
Exclusive end of the query window.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
limit
Maximum number of log records to return per page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
sort_order
Order matching records by timestamp.
Clear enough to supply this argument.
source
Only records emitted by this Neon service. neon_auth returns 404 telemetry_not_enabled when the project's Neon Auth logs are not enabled, even when other sources return logs.
Clear enough to supply this argument.
service_name
Match the OpenTelemetry `service.name` resource attribute exactly.
Clear enough to supply this argument.
scope_name
Match the OpenTelemetry instrumentation scope name exactly.
Clear enough to supply this argument.
minimum_severity
An OpenTelemetry severity level.
Explain the meaning of this value, not just its name.
severity_text
Match the OpenTelemetry severity text exactly.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
body_contains
Match records whose rendered `message` contains this case-sensitive substring.
Clear enough to supply this argument.
trace_id
Match records associated with this OpenTelemetry trace ID.
Clear enough to supply this argument.
logql
Escape hatch for selections the structured filters cannot express: a raw LogQL expression, evaluated against this branch's log stream.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description81/100
Lists the distinct values of one log field; a field the branch never emitted returns unknown_field. Pass since or start_time, not both; default last six hours, max seven days.
The description explains the capability, when to use it, and what to expect.
Inputs81/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
field_name
A field name from list_log_fields.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
since
Length of the lookup window, ending at `end_time` or at the current time when `end_time` is omitted.
Clear enough to supply this argument.
start_time
Inclusive beginning of the lookup window.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
end_time
Exclusive end of the lookup window.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
source
Only consider records emitted by this Neon service. neon_auth returns 404 telemetry_not_enabled when the project's Neon Auth logs are not enabled, even when other sources return logs.
Clear enough to supply this argument.
limit
Maximum number of distinct values to return.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"name": "list_log_field_values",
"title": "List branch log field values",
"description": "Lists the distinct values of one log field; a field the branch never emitted returns unknown_field. Pass since or start_time, not both; default last six hours, max seven days.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"field_name"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of distinct values to return."
},
"since": {
"type": "string",
"pattern": "^[0-9]{1,6}(ms|s|m|h|d)$",
"description": "Length of the lookup window, ending at `end_time` or at the current time when `end_time` is omitted."
},
"source": {
"enum": [
"function",
"storage",
"pg_endpoint",
"neon_auth"
],
"type": "string",
"description": "Only consider records emitted by this Neon service. neon_auth returns 404 telemetry_not_enabled when the project's Neon Auth logs are not enabled, even when other sources return logs."
},
"end_time": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "Exclusive end of the lookup window."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"field_name": {
"type": "string",
"minLength": 1,
"description": "A field name from list_log_fields."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"start_time": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "Inclusive beginning of the lookup window."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"values",
"is_truncated"
],
"properties": {
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"is_truncated": {
"type": "boolean"
}
}
}
}
},
"annotations": {
"title": "List branch log field values",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Runs a LogQL range query on a branch's logs and returns Loki's response: data.result groups lines by stream label as [nanosecond timestamp, line]. query_logs has structured filters; list_log_fields and list_log_field_values list labels. No cursor: limit lines, or the silent 10,000 cap, may mean more exist; narrow the window.
The description explains the capability, when to use it, and what to expect.
Inputs92/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
query
LogQL stream selector with optional line filters, e.g. {entity_type="function"} |= "error". The source label is entity_type. No parsers, formatting stages, or metric queries.
Clear enough to supply this argument.
since
Lookback as a Go duration such as 30m or 24h, ending at end or now. Defaults to 1h. start takes precedence.
Clear enough to supply this argument.
start
Window start as RFC 3339 or Unix nanoseconds.
Clear enough to supply this argument.
end
Window end as RFC 3339 or Unix nanoseconds. Defaults to now.
Clear enough to supply this argument.
limit
Maximum log lines. The server enforces its own cap.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"name": "delete_function",
"title": "Delete a function on the branch",
"description": "Deletes a function from a branch.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"slug"
],
"properties": {
"slug": {
"type": "string",
"pattern": "^[a-z0-9]{1,20}$",
"description": "The function slug"
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Delete a function on the branch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description79/100
Deploys a function version from any of zip, environment, and runtime; omitted ones keep the latest value, and the first deployment needs zip. It can return while still pending.
Describe the returned information so the agent knows whether it will answer the request.
Inputs54/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
slug
The function slug
Explain the meaning of this value, not just its name.
zip
Base64-encoded ZIP of the function source. Omit to reuse the latest bundle; required for the first deployment.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
runtime
The Node.js runtime for the deployment.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
environment
Optional JSON object (a string-to-string map) of environment variables for the deployment, e.g. {"KEY":"VALUE"}.
Resolve the mismatch between this description and its schema constraints.
Annotations100/100
All four behavior hints are declared.
{
"title": "Deploy code to a function",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
Output schema40/100
Describe the returned fields so an agent can interpret the result.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Routes a domain you own to a function: entity_type function, entity_id the slug from list_functions. It goes live once a CNAME to the returned cname_target resolves.
Describe the returned information so the agent knows whether it will answer the request.
Inputs80/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
domain
The custom domain to register (for example `dashboard.acme.com`).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
entity_type
The kind of branch entity to point the domain at.
Explain the meaning of this value, not just its name.
entity_id
The function slug from list_functions.
Clear enough to supply this argument.
Annotations100/100
All four behavior hints are declared.
{
"title": "Register a custom domain on a branch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
Output schema56/100
Describe the returned fields so an agent can interpret the result.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description72/100
Creates a trigger that calls a function on a five-field UTC cron schedule, or after an upload to one bucket, optionally under a key prefix. Names are unique on the branch.
The description explains the capability, when to use it, and what to expect.
Inputs83/100
13 of 15 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
body › oneOf › 0 › type
Not provided
Missing description. Explain what this value means and how to supply it.
body › oneOf › 0 › function_slug
The branch-local Function slug to invoke.
Clear enough to supply this argument.
body › oneOf › 0 › name
Human-readable name, unique among triggers visible on the branch.
Clear enough to supply this argument.
body › oneOf › 0 › function_path
Path passed to the target Function.
Clear enough to supply this argument.
body › oneOf › 0 › schedule › cron
Numeric five-field cron expression (minute through day-of-week), interpreted in UTC.
Clear enough to supply this argument.
body › oneOf › 0 › enabled
Whether future occurrences should be scheduled.
Clear enough to supply this argument.
body › oneOf › 1 › type
Not provided
Missing description. Explain what this value means and how to supply it.
body › oneOf › 1 › function_slug
The branch-local Function slug to invoke.
Clear enough to supply this argument.
body › oneOf › 1 › name
Human-readable name, unique among triggers visible on the branch.
Clear enough to supply this argument.
body › oneOf › 1 › function_path
Path passed to the target Function.
Clear enough to supply this argument.
body › oneOf › 1 › storage_object_created › bucket_name
The exact object-storage bucket name to watch.
Clear enough to supply this argument.
body › oneOf › 1 › storage_object_created › prefix
Optional object-key prefix of at most 1024 UTF-8 bytes.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
body › oneOf › 1 › enabled
Whether successful matching uploads should invoke the Function.
{
"name": "delete_trigger",
"title": "Delete a trigger",
"description": "Deletes a function trigger, or hides an inherited one on this branch. Invocations already queued still run.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"trigger_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"trigger_id": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9_.\\-]{0,127}$",
"maxLength": 128,
"minLength": 1,
"description": "The opaque, project-wide trigger ID"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Delete a trigger",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
{
"name": "create_credential",
"title": "Issue a scoped credential on the branch",
"description": "Issues a scoped credential on a branch. api_token and s3_secret_access_key are returned once: show them to the user and tell them to store them.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"scopes",
"principal_type"
],
"properties": {
"name": {
"type": "string",
"maxLength": 256,
"description": "Free-form customer label for the credential."
},
"scopes": {
"type": "array",
"items": {
"enum": [
"storage:read",
"storage:write",
"ai_gateway:invoke",
"functions:invoke"
],
"type": "string",
"description": "A single capability you may request when issuing a credential."
},
"maxItems": 16,
"minItems": 1,
"description": "Capabilities to grant. The credential may only perform actions in these scopes."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "When the credential stops working, 1 minute to 365 days from now. Omit for a credential that never expires."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"principal_type": {
"enum": [
"user"
],
"type": "string",
"description": "Principal type for the credential."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"token_id",
"token_id_short",
"api_token",
"s3_secret_access_key",
"scopes",
"branch_id",
"created_at"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"token_id": {
"type": "string"
},
"api_token": {
"type": "string"
},
"branch_id": {
"type": "string"
},
"created_at": {
"type": "string"
},
"expires_at": {
"type": [
"string",
"null"
]
},
"token_id_short": {
"type": "string"
},
"s3_secret_access_key": {
"type": "string"
}
}
}
}
},
"annotations": {
"title": "Issue a scoped credential on the branch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Replaces a scoped credential's secrets in place and returns them once; token_id stays. Not idempotent: if the response is lost, create a new credential (create_credential) and revoke this one instead of retrying.
The description explains the capability, when to use it, and what to expect.
Inputs83/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
{
"name": "delete_storage_bucket",
"title": "Delete a bucket on the branch",
"description": "Deletes a bucket from a branch.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"bucket_name"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"bucket_name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The bucket name"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Delete a bucket on the branch",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
{
"name": "delete_storage_object",
"title": "Delete an object in a bucket",
"description": "Deletes one object from a bucket on a branch.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"bucket_name",
"object_key"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"object_key": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "The object key."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"bucket_name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The bucket name"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Delete an object in a bucket",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
Delete every object under a key prefix (folder) in a bucket
The title clearly communicates the tool’s action and subject. Keep it concise.
Description82/100
Soft-deletes every object on this branch whose key starts with prefix and returns the count; inherited objects stay.
Explain mutations, irreversible effects, or prerequisites that matter before calling this tool.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
bucket_name
The bucket name
Explain the meaning of this value, not just its name.
prefix
Key prefix to delete, ending in / (for example app/avatars/).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Annotations100/100
All four behavior hints are declared.
{
"title": "Delete every object under a key prefix (folder) in a bucket",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
Output schema69/100
Describe the returned fields so an agent can interpret the result.
{
"name": "delete_storage_objects_by_prefix",
"title": "Delete every object under a key prefix (folder) in a bucket",
"description": "Soft-deletes every object on this branch whose key starts with prefix and returns the count; inherited objects stay.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"bucket_name",
"prefix"
],
"properties": {
"prefix": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "Key prefix to delete, ending in / (for example app/avatars/)."
},
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"bucket_name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The bucket name"
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"deleted"
],
"properties": {
"deleted": {
"type": "number"
}
}
}
}
},
"annotations": {
"title": "Delete every object under a key prefix (folder) in a bucket",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
Presign an upload or download for an object in a bucket
The title clearly communicates the tool’s action and subject. Keep it concise.
Description80/100
Returns a short-lived presigned PUT or GET URL for one object, with the headers to send; no S3 credentials needed.
The description explains the capability, when to use it, and what to expect.
Inputs65/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
bucket_name
The bucket name
Explain the meaning of this value, not just its name.
object_key
The object key.
Explain the meaning of this value, not just its name.
operation
The transfer direction.
Clear enough to supply this argument.
content_type
The `Content-Type` to bind into the signed request.
Clear enough to supply this argument.
expires_in_seconds
How long the presigned URL stays valid, in seconds.
Explain what happens when this optional value is omitted.
Annotations100/100
All four behavior hints are declared.
{
"title": "Presign an upload or download for an object in a bucket",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
Output schema56/100
Describe the returned fields so an agent can interpret the result.
{
"name": "presign_storage_object",
"title": "Presign an upload or download for an object in a bucket",
"description": "Returns a short-lived presigned PUT or GET URL for one object, with the headers to send; no S3 credentials needed.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id",
"bucket_name",
"object_key",
"operation"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"operation": {
"enum": [
"upload",
"download"
],
"type": "string",
"description": "The transfer direction."
},
"object_key": {
"type": "string",
"maxLength": 1024,
"minLength": 1,
"description": "The object key."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"bucket_name": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "The bucket name"
},
"content_type": {
"type": "string",
"description": "The `Content-Type` to bind into the signed request."
},
"expires_in_seconds": {
"type": "integer",
"maximum": 604800,
"minimum": 1,
"description": "How long the presigned URL stays valid, in seconds."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"url",
"method",
"headers",
"expires_at"
],
"properties": {
"url": {
"type": "string"
},
"method": {
"type": "string"
},
"headers": {
"type": "object"
},
"expires_at": {
"type": "string"
}
}
}
}
},
"annotations": {
"title": "Presign an upload or download for an object in a bucket",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Enables Realtime on a branch, or changes its allowed origins, and waits until it is applied. Enabling turns on logical replication for the whole project, which cannot be turned off, and suspends every compute in the project, dropping active connections. NEVER run autonomously; always ask the user first.
The description explains the capability, when to use it, and what to expect.
Inputs69/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
branch_id
A br-... id, not a name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
allowed_origins
The browser origins allowed to connect, each `http` or `https` with a host and optional port and no path.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"name": "enable_realtime",
"title": "Enable Realtime",
"description": "Enables Realtime on a branch, or changes its allowed origins, and waits until it is applied. Enabling turns on logical replication for the whole project, which cannot be turned off, and suspends every compute in the project, dropping active connections. NEVER run autonomously; always ask the user first.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
},
"allowed_origins": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(\\*|https?:\\/\\/[^\\/?#@,*\\s]+)$",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 16,
"description": "The browser origins allowed to connect, each `http` or `https` with a host and optional port and no path."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Enable Realtime",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
{
"name": "disable_realtime",
"title": "Disable Realtime",
"description": "Disables Realtime on a branch, discarding its secret, and waits until it is applied.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Disable Realtime",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description85/100
Gets the secret the application backend issues Realtime tokens with; 404 until enable_realtime has run. Requires write access: the secret lets its holder issue Realtime tokens for the branch, so it is unavailable in read-only mode.
The description explains the capability, when to use it, and what to expect.
Inputs73/100
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Clarify units, where to obtain this value, or conventions not already expressed in the schema.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description88/100
Replaces a branch's Realtime secret and waits until the old one stops working. NEVER run autonomously; always ask the user first. Then update the application backend from get_realtime_secret.
The description explains the capability, when to use it, and what to expect.
Inputs61/100
Explain the meaning of this value, not just its name.
project_id
Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project.
Clear enough to supply this argument.
branch_id
A br-... id, not a name.
Explain the meaning of this value, not just its name.
{
"name": "rotate_realtime_secret",
"title": "Rotate the Realtime shared secret",
"description": "Replaces a branch's Realtime secret and waits until the old one stops working. NEVER run autonomously; always ask the user first. Then update the application backend from get_realtime_secret.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"branch_id"
],
"properties": {
"branch_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "A br-... id, not a name."
},
"project_id": {
"type": "string",
"pattern": "^[a-z0-9-]{1,60}$",
"description": "Project id. Required for an unscoped connection. May be omitted when the connection is scoped to one project; if provided, it must match that project."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "null"
}
}
},
"annotations": {
"title": "Rotate the Realtime shared secret",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
Loading score analytics…
Put your MCP to the test
A few tasks worth trying with this server, chosen from its reviewed tools. These have not been run.
01Search DocumentationSearches neon.com docs, API reference, PostgreSQL tutorial, guides, FAQs, changelog, and blog for ranked pages with the slug get_doc reads.
02List Neon incidentsLists open Neon incidents and maintenance from neonstatus.com and the affected components and regions.
03Search Neon resourcesFinds organizations, projects (including shared ones), branches, computes, and snapshots whose name or id contains query, with ids for fetch.
04List organizations for the current userLists the organizations the user belongs to; an organization API key gets its own organization.
05List projectsLists the projects in an organization; search filters by name or id.
Want to run these tasks against your MCP server with us?
Manage Neon projects directly through Claude. Run SQL and transactions on Lakebase Postgres, inspect and diff table schemas, apply migrations on a temporary branch before committing them, and provision Auth and the Data API. Create copy-on-write branches for isolated work, query logs from Serverless Functions and Object Storage for debugging, tune slow queries, and search Neon docs all through natural language commands. Connect with OAuth. During authorization, choose read-only or full access. Always review and authorize actions before execution.
compare_database_schemacomplete_database_migrationcomplete_query_tuningconfigure_neon_authcreate_branchcreate_projectdelete_branchdelete_projectdescribe_branchdescribe_projectdescribe_table_schemaexplain_sql_statement+23 more
Neon setup, tools, quality score, publishing readiness, and alternatives.
How do I add Neon to Claude, ChatGPT, or Cursor?
Add Neon to Claude, ChatGPT, or Cursor by connecting its remote MCP URL in each client's MCP settings. In Claude, add a custom connector. In ChatGPT, add an MCP app. In Cursor, add an MCP server under Settings. The MCP URL is https://mcp.neon.tech/mcp. This server requires OAuth, so complete the login prompt after you connect.
Is Neon MCP ready for ChatGPT and Claude?
As of November 20, 2026, Neon scores 100/100 on Manufact's MCP publishing checklist. The scan meets ChatGPT publishing checks and meets Claude publishing checks. Passing these checks does not guarantee marketplace approval.
How clear is Neon's MCP tool documentation?
As of November 20, 2026, Neon scores 80/100 in Manufact's review of tool titles, descriptions, input and output schemas, and behavior annotations. The review covers 141 of 141 discovered tools. The quality score measures documentation clarity; runtime behavior and marketplace readiness require separate checks.
What tools does the Neon MCP server provide?
Neon lists 35 MCP tools, including compare_database_schema, complete_database_migration, complete_query_tuning, configure_neon_auth, create_branch, create_project, delete_branch, delete_project, describe_branch, describe_project, describe_table_schema, and explain_sql_statement.
What are the best alternatives to Neon?
As of December 4, 2026, alternatives to Neon in data-analytics on the Manufact MCP leaderboard include HYPD AI for Google Analytics, ClickHouse Cloud MCP Server, Polygraph, athletedata, and Crash Round Lab.
Does Neon MCP require authentication?
Neon requires authentication. Connect it in Claude, ChatGPT, or Cursor and complete the OAuth login prompt.
How can Neon improve its MCP documentation?
list_branch_computes is the lowest-scoring reviewed tool at 65/100. Resolve contradictions between the description, input schema, and annotations. Open its review for feedback and a copyable fix prompt, then rerun the documentation review after updating your tool metadata.
Review any public or OAuth MCP server for protocol compatibility, tool documentation, and ChatGPT and Claude publishing readiness. No account required.