Profile table
profile_tableComputes in-database column statistics—null and distinct counts, min/max, mean, standard deviation, top values—and reports data-quality findings with evidence to assess table health.
Instructions
Statistics for a table, computed in the database rather than by reading rows: null counts, distinct counts, min/max, mean and standard deviation for numeric columns, the most common values, and a list of data-quality findings such as mostly-null or constant columns and missing primary keys. Each finding carries evidence. Use get_table_sample to see row values. On large or wide tables, profile only the columns you need.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "profile_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Alias from list_connections. Omit only when exactly one database is open. | |
| table | Yes | Table or view name from list_tables, e.g. public.orders. | |
| columns | No | Exact column names from describe_table. Omit to profile all columns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||