Connections · stop 10 of 12
test_profile
Checks that a connection works.
Works in read modeTool sets: meta · full
You might ask
“Can you still reach the reporting database?”
Your assistant may call test_profile to answer.
How it works
- Connects and returns the server version, whether the role is a superuser, and the round-trip time. Saves nothing.
Parameters
dbnamestring- Database name (inline test).
hoststring- Database server hostname (inline test).
namestring- Existing profile name to test. Omit to test inline parameters instead.
passwordstring- Database role password (inline test).
portnumber- Database server port (inline test).
sslmodestring- libpq sslmode value (inline test), e.g. "require".
urlstring- Full postgres:// connection URL to test inline (alternative to name).
userstring- Database role/username (inline test).
What your assistant reads
The description nexql-mcp sends with the tool. It's how the assistant decides when to use it.
Test a database connection profile or inline parameters and return server version, superuser status, and round-trip latency.