profile_table
Profile a table using rule-based heuristics to extract column metadata, primary-key info, cardinality, uniqueness, and null counts for statistical testing.
Instructions
Profile one table using deterministic, rule-based heuristics.
Provide a conservative table identifier and an optional positive maximum row count. The server selects only that table's columns, orders rows deterministically, and clamps extraction to the configured hard limit. It reports whether first-N limiting truncated the table. SQL and sampling cannot be provided. Nulls remain excluded from summaries and are counted for every column. Suggested roles are advisory and use database/pandas type, primary-key metadata, cardinality, uniqueness, and null counts; no LLM is called. Examples are capped and suppressed for identifier or secret-like columns, but this tool is not a comprehensive PII detector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Conservative table identifier | |
| max_rows | No | Optional requested row cap; the server hard limit always applies |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |