Assess data shape
assess_data_shapeProfile a dataset: per-column types, cardinality, ranges, measure/dimension roles, temporal/ordinal detection, and cross-column signals (nesting, shared values, association) - the same measurement engine the BIC Power BI visual uses before generating a chart. Pass the table as data ({columns, rows}) or csv_text. This hosted server receives your table, profiles it in memory and sends only the profile to generation; rows aren't stored or logged. This tool sends nothing on.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "assess_data_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | A pre-typed {columns, rows} table — the shape a Fabric DAX query / dataframe already has. Alternative to csv_path/csv_text; when columns carry isMeasure/format/description the shape matches PBI fidelity with no guessing. | |
| culture | No | The caller's language and region as a BCP 47 tag such as 'de-DE', 'fr' or 'ja-JP'. Default 'en-US'. It is the language the chart's own text is written in (titles, axis labels, legends, notes), and it breaks the tie when a CSV's numbers or dates are ambiguous: 12.500 as twelve thousand five hundred or twelve and a half, 05.03.2024 as 5 March or 3 May. Set it from the end user's locale when you know it; it does not translate the data. | |
| formats | No | Per-column number/date FORMAT STRING (e.g. {"Revenue":"$#,##0","Margin":"0.0%"}). PBI supplies these from its model; a CSV can't, so provide them to steer number formatting. | |
| csv_path | No | Not accepted by this hosted server: this hosted server can't read files on your machine, so pass the table as data or csv_text. | |
| csv_text | No | Inline CSV text (alternative to csv_path). | |
| group_by | No | Columns that are the PRIMARY series/breakdown (the PBI 'Group by' well); the backend leads the visualization with these. | |
| measures | No | Columns to treat as MEASURES (the PBI 'Values' well — fields the chart aggregates). Numeric non-identifier columns are measures by default. | |
| dimensions | No | Columns to treat as DIMENSIONS (a PBI category/axis well — fields to group/break by). Use for numeric codes/years that should NOT be aggregated. | |
| descriptions | No | Per-column human DESCRIPTION — gives the model semantic context the bare column name lacks. | |
| non_additive | No | MEASURE columns that must NOT be summed (a ratio/average/rate — use mean, never stack). Usually auto-detected; this is an authoritative override. | |
| privacy_level | No | How much detail to compute/share: 0 names only, 10 +counts, 20 +detailed stats (default), 30 +obfuscated sample rows. |