inspect_spreadsheet
Scan Excel, CSV, TSV, JSON, ODS, or Parquet files without modifying them to detect schema, score data quality, and identify 13 business-rule issues with affected rows and sample fixes.
Instructions
Inspect an Excel, CSV, TSV, JSON, ODS or Parquet spreadsheet without modifying it.
Detects column schema, calculates the 0-100 data quality score, and scans all
13 data quality & business-rule checks (invalid dates, emails, phones, negative stock,
outliers, duplicates, missing mandatory fields, type mismatches, logical contradictions)
with affected row indices and sample fixes.
Args:
file_path: Path to the input spreadsheet (.xlsx, .xls, .csv, .tsv, .json, .ods, or .parquet).
Returns:
Compact JSON string containing schema metadata, quality score, and detected issues.
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": {
"file_path": "<file_path>"
},
"name": "inspect_spreadsheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |