Inquisitor
Quality test suite compilation. Generates dbt-compatible data quality tests from schema definitions and historical data patterns.
What It Does
The Inquisitor compiles a comprehensive data quality test suite from schema definitions and historical data patterns. It generates dbt-compatible tests (not_null, unique, accepted_values) plus custom statistical tests (distribution checks, outlier detection). It learns what "normal" looks like for each field to set intelligent thresholds.
Capabilities
- dbt-compatible test generation
- Statistical threshold learning
- Distribution checks
- Outlier detection
- Referential integrity tests
- Freshness checks
- Custom rule generation
Example
const result = await mcp.call('inquisitor_generate_tests', {
source_id: 'salesforce-contacts',
schema: phantomResult.inferred_schema,
historical_data: true,
});
console.log(result.test_count); // 47
console.log(result.test_suite); // dbt YAML test definitions Configuration
agent: inquisitor
version: "1.0"
test_generation:
dbt_compatible: true
statistical_tests: true
outlier_detection: true
learning:
historical_window_days: 30
confidence_level: 0.95 Related Agents
Blueprint Tracker
Schema registry and catalog. Stores, versions, and retrieves schema definitions for all data sources in the pipeline.
Phantom Speculator
Automatic schema detection and inference. Analyzes payload structure to infer field types, nullability, and constraints without any configuration.
Solicitor
Data contract generation. Automatically generates YAML data contracts from inferred schemas, defining SLAs, quality expectations, and ownership.