AnomalyArmor
v0.6.1Data observability tools for engineering teams: alerts, freshness, schema drift, lineage, quality.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_alerts_summary Get Alerts Summary
Get alert overview with counts by status and severity. Quick snapshot of triggered, acknowledged, and resolved alerts. For individual alerts use list_alerts.
list_alerts List Alerts
List recent alerts with severity, status, and asset info. Use update_alert to acknowledge, resolve, dismiss, or snooze alerts.
| Parameter | Type | Description |
|---|---|---|
asset_id | Filter by asset UUID (from list_assets) | |
from_date | Start of date range (ISO 8601, e.g., "2026-01-29T00:00:00Z") | |
limit | integer | Maximum results (default 25, max 100) |
severity | Filter by severity ("info", "warning", "critical") | |
status | Filter by status ("triggered", "acknowledged", "resolved", "dismissed", "snoozed") | |
to_date | End of date range (ISO 8601) |
list_inbox_alerts List Inbox Alerts
List unresolved alerts in inbox view (triggered + acknowledged only). Focused view for triaging active alerts. Use update_alert to take action.
| Parameter | Type | Description |
|---|---|---|
asset_id | Filter by asset UUID (from list_assets) | |
limit | integer | Maximum results (default 25) |
severity | Filter by severity ("info", "warning", "critical") |
update_alert Update Alert
Update an alert's lifecycle status. Use list_alerts to find alert IDs.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | Alert UUID (from list_alerts) |
status * | string | New status: "acknowledged", "resolved", "dismissed", or "snoozed" |
action_category | For resolve/dismiss: reran_job, updated_sql, rolled_back, false_positive, expected_behavior, code_change, other | |
duration_hours | integer | Snooze duration in hours, 1-720 (default 24). Only for status="snoozed". |
notes | Optional notes explaining the status change | |
root_cause_category | For resolve/dismiss: pipeline_failure, schema_change, data_source_issue, configuration_error, expected_behavior, code_change, infrastructure, unknown |
list_alert_rules List Alert Rules
List configured alert rules showing which events and severities each rule monitors. Use create_alert_rule to add new rules, list_destinations to find destination IDs for routing.
| Parameter | Type | Description |
|---|---|---|
active_only | boolean | Only return active rules (default True) |
asset_id | Filter by asset UUID (from list_assets) |
create_alert_rule Create Alert Rule
Create an alert rule to notify when data issues are detected. Routes to specified destinations (or default email). Use list_destinations to find destination IDs, list_assets for asset IDs.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable name for the alert rule |
asset_ids | UUIDs of assets to scope the rule to (from list_assets). Omit for all. | |
description | Optional description of the rule's purpose | |
destination_ids | UUIDs of destinations to route alerts to (from list_destinations). Falls back to default email if omitted. | |
event_types | Event types to monitor: "freshness_stale", "schema_drift", "metric_anomaly", "validity_failure", "custom_sql". Omit for all. | |
severities | Severity levels to trigger on: "info", "warning", "critical". Omit for all. |
manage_alert_rule Manage Alert Rule
Manage an existing alert rule: get details, update, or delete. Use list_alert_rules to find rule IDs.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation: "get", "update", or "delete" |
rule_id * | string | Alert rule UUID (from list_alert_rules) |
description | New description (for update) | |
event_types | New event types (for update) | |
is_active | Enable/disable rule (for update) | |
name | New name (for update) | |
severities | New severity levels (for update) |
get_alert_trends Get Alert Trends
Get aggregate alert trend data across all assets. Shows alert volume and patterns over time for trend analysis.
| Parameter | Type | Description |
|---|---|---|
period | string | Time period: "24h", "7d", "30d", "90d" (default "7d") |
get_alert_history Get Alert History
Get status change history for a specific alert. Shows the full lifecycle: when it was triggered, acknowledged, resolved, etc., with notes and who made each change.
| Parameter | Type | Description |
|---|---|---|
alert_id * | string | Alert UUID (from list_alerts) |
get_api_key_info Get Api Key Info
View API key information (read-only). Cannot create or revoke keys.
| Parameter | Type | Description |
|---|---|---|
key_id | API key UUID (required for view="detail") | |
view | string | What to show: "list" - list all API keys with names and last-used dates "detail" - get details of a specific key (requires key_id) "usage" - show API usage statistics |
list_assets List Assets
List all connected data assets (databases, warehouses). Returns asset IDs needed by most other tools. Start here to find asset UUIDs for use with check_freshness, list_metrics, explore, etc.
| Parameter | Type | Description |
|---|---|---|
asset_type | Filter by type ("postgresql", "snowflake", "bigquery", etc.) | |
limit | integer | Maximum results (default 25) |
trigger_asset_discovery Trigger Asset Discovery
Start schema discovery for an asset. Discovers all schemas, tables, columns, and metadata. Runs as background job. Use job_status() to track progress, then explore() to browse results.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
create_asset Create Asset
Connect a new data source to AnomalyArmor. After creating, use trigger_asset_discovery to discover tables and columns.
| Parameter | Type | Description |
|---|---|---|
connection_config * | object | Connection details (varies by source_type). Examples: PostgreSQL: {"host": "...", "port": 5432, "database": "...", "username": "...", "password": "..."} Snowflake:… |
name * | string | Display name for the asset (e.g., "Production PostgreSQL") |
source_type * | string | Database type: "postgresql", "snowflake", "bigquery", "redshift", "mysql", "databricks" |
description | Optional description of the data source |
manage_asset Manage Asset
Get asset details or test its connection.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation to perform: "get" - get full asset details including schema, table count, etc. "test" - test the database connection is working |
asset_id * | string | Asset UUID (from list_assets) |
get_lineage Get Lineage
Get data lineage for an asset showing upstream sources and downstream consumers. Requires a dbt manifest to be uploaded via the UI or API.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
depth | integer | How many hops to traverse (default 2) |
direction | string | Lineage direction: "upstream", "downstream", or "both" (default "both") |
list_all | boolean | List all lineage entries for the asset instead of graph view (default False) |
job_status Job Status
Check status of an async job (discovery, intelligence generation, etc.). Returns a user_status field with simplified status: "in_progress", "completed", "failed", or "cancelled". Internal states like "pending" and "claimed" are mapped to "in_progress" so consumers don't need to handle them.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job UUID (from trigger_asset_discovery, generate_intelligence, etc.) |
cancel_job Cancel Job
Cancel a running or pending background job. Use this when a long-running operation (intelligence generation, asset discovery) needs to be stopped.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job UUID (from trigger_asset_discovery, generate_intelligence, etc.) |
create_tag Create Tag
Create a new tag for labeling database objects. After creating, use apply_tags to attach it to tables or columns.
| Parameter | Type | Description |
|---|---|---|
name * | string | Tag name (e.g., "pii", "revenue-critical", "deprecated") |
color | Optional hex color code (e.g., "#FF5733") | |
description | Optional description of the tag's purpose |
list_tags List Tags
List tags applied to database objects within an asset. Use explore to find valid object paths.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
object_path | Filter to tags on a specific object (e.g., "public.users.email") |
apply_tags Apply Tags
Apply tags to database objects. Supports single or cross-asset bulk tagging. Use explore to find valid object paths before tagging.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
asset_ids | Apply tags across multiple assets (for bulk apply, overrides asset_id) | |
object_path | Full path to the object (e.g., "public.users.email") | |
object_type | string | Type of database object: "column", "table", or "schema" |
tags | List of tag names to apply (e.g., ["pii", "revenue-critical"]) |
get_coverage Get Coverage
Get monitoring coverage score and tier information. Shows how well your data assets are monitored with scores, tiers, and per-feature breakdowns.
| Parameter | Type | Description |
|---|---|---|
asset_id | Asset UUID (required when scope="asset") | |
scope | string | Coverage scope: "company" - company-wide rollup across all assets "asset" - per-asset score with feature breakdown (requires asset_id) |
manage_coverage Manage Coverage
Analyze coverage gaps or apply monitoring recommendations in batch. Use get_coverage to see current scores first.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation to perform: "gaps" - list unmonitored tables ranked by importance "apply" - apply recommended monitoring in batch |
asset_id * | string | Asset UUID (from list_assets) |
limit | integer | Maximum gap recommendations (for gaps action, default 20) |
table_paths | Limit to specific tables (for apply action, omit for all) | |
types | Monitoring types to apply: "freshness", "metrics", "schema_drift" (for apply action, omit for all) |
list_destinations List Destinations
List configured alert destinations (Slack, email, webhook). Returns ALL destinations by default, including disabled ones. Check the is_active field to see if a destination is enabled or disabled. Prefer re-enabling existing destinations over creating new ones. Returns destination IDs needed for create_alert_rule. Use setup_destination to create new destinations, or manage_destination to re-enable an inactive one.
| Parameter | Type | Description |
|---|---|---|
active_only | boolean | Only return active destinations (default False, shows all) |
destination_type | Filter by type: "slack", "webhook", "email" |
setup_destination Setup Destination
Create an alert destination with auto-discovery. For Slack: provide channel_name (auto-discovers OAuth connection). For webhook: provide webhook_url. For email: provide email address. After creating, use create_alert_rule to route alerts to the destination.
| Parameter | Type | Description |
|---|---|---|
destination_type * | string | Type of destination: "slack", "webhook", or "email" |
channel_name | Slack channel name without # (required for Slack) | |
email | Email address (required for email) | |
name | Display name for the destination (auto-generated if omitted) | |
webhook_url | Full webhook URL (required for webhook) |
manage_destination Manage Destination
Manage an existing alert destination: get details, update, delete, or test. Use list_destinations to find destination IDs.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation: "get", "update", "delete", or "test" |
destination_id * | string | Destination UUID (from list_destinations) |
config | New config dict (for update, e.g., {"webhook_url": "..."}) | |
is_active | Enable/disable (for update) | |
name | New display name (for update) |
manage_rule_destinations Manage Rule Destinations
Manage which destinations an alert rule routes to.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation: "list" - list destinations linked to this rule "link" - link destinations to the rule (requires destination_ids) "unlink" - unlink a destination from the rule (requires destinat… |
rule_id * | string | Alert rule UUID (from list_alert_rules) |
destination_id | Single destination UUID to unlink (for unlink action) | |
destination_ids | Destination UUIDs to link (for link action) |
get_freshness_summary Get Freshness Summary
Get freshness monitoring summary with counts of fresh, stale, and unknown tables. For a quick overview use health_summary. For per-table details use check_freshness.
check_freshness Check Freshness
Check freshness status for all monitored tables in an asset. Shows which tables are fresh, stale, or unknown. Use setup_freshness to add monitoring for new tables.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
stale_only | boolean | Only return stale tables (default False) |
setup_freshness Setup Freshness
Create freshness monitoring for one or more tables. Use explore to find table paths, recommend_freshness for suggested intervals.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
check_interval | string | How often to check: "5m", "15m", "30m", "1h", "3h", "6h", "12h", "1d", "1w" |
expected_interval_hours | Hours until stale (required for explicit mode) | |
freshness_column | Column to check (auto-detected if not provided) | |
monitoring_mode | string | "auto_learn" (recommended, learns thresholds) or "explicit" |
table_path | Single table path (e.g., "public.orders") | |
table_paths | Multiple table paths for bulk setup (overrides table_path) |
list_freshness_schedules List Freshness Schedules
List freshness monitoring schedules showing check intervals and status. Use setup_freshness to add new schedules.
| Parameter | Type | Description |
|---|---|---|
asset_id | Filter by asset UUID (from list_assets) | |
limit | integer | Maximum results (default 25) |
manage_freshness_schedule Manage Freshness Schedule
Update or delete a freshness monitoring schedule. Use list_freshness_schedules to find schedule IDs.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation: "update" or "delete" |
schedule_id * | string | Schedule UUID (from list_freshness_schedules) |
check_interval | New check interval (for update) | |
expected_interval_hours | New staleness threshold (for update) | |
freshness_column | New column to check (for update) | |
is_active | Enable/disable schedule (for update) | |
monitoring_mode | New mode: "auto_learn" or "explicit" (for update) |
health_summary Health Summary
Start here for a quick overview of data health. Returns aggregated status across alerts, freshness, schema drift, metrics, and validity. For per-table details, use check_freshness or list_schema_changes.
get_todays_briefing Get Todays Briefing
Get today's data health briefing with key events and recommendations. Provides a daily summary of alerts fired, freshness issues, schema changes, and suggested actions. Good starting point for a morning check-in.
ask_question Ask Question
Ask a natural language question about your data. Uses AI to analyze your schema, metadata, and monitoring data to answer.
| Parameter | Type | Description |
|---|---|---|
question * | string | Natural language question (e.g., "What tables contain customer PII?") |
asset_id | Asset UUID to scope the question (from list_assets). Omit for all assets. | |
include_lineage | boolean | Include lineage info in context (default False) |
include_schema | boolean | Include schema info in context (default True) |
generate_intelligence Generate Intelligence
Generate AI analysis for an asset. Analyzes schema, data patterns, and metadata to generate insights. Results are cached. Runs as a background job with progress reporting.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
force_refresh | boolean | Force regeneration even if cached (default False) |
get_metrics_summary Get Metrics Summary
Get metrics monitoring summary for an asset. Shows total metrics, active count, anomaly count, and per-type breakdown.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
list_metrics List Metrics
List data quality metrics configured for an asset. Shows metric type, table, column, and active status. Use create_metric to add new metrics.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
limit | integer | Maximum results (default 25) |
create_metric Create Metric
Create a data quality metric for a table. Use explore to find table paths and column names.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
metric_type * | string | Type of metric: "row_count", "null_rate", "unique_rate", "min", "max", "mean", "stddev" |
table_path * | string | Full table path (e.g., "public.orders") |
column_name | Column to monitor (required for column-level metrics like null_rate, mean, etc.) |
manage_metric Manage Metric
Manage an existing metric: get details, update, delete, trigger capture, or view snapshots. Use list_metrics to find metric IDs.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation: "get" - get metric details and current value "update" - update metric settings "delete" - delete the metric "capture" - trigger an immediate metric capture "snapshots" -… |
asset_id * | string | Asset UUID (from list_assets) |
metric_id * | string | Metric UUID (from list_metrics) |
capture_interval | New capture interval (for update) | |
is_active | Enable/disable metric (for update) | |
limit | integer | Max snapshots to return (for snapshots action, default 100) |
sensitivity | Anomaly detection sensitivity 0.0-1.0 (for update) |
get_validity_summary Get Validity Summary
Get validity rules summary for an asset. Shows total rules, active count, failing count, and per-type breakdown.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
list_validity_rules List Validity Rules
List data validity rules configured for an asset. Shows rule type, table, column, and active status. Use create_validity_rule to add new rules.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
limit | integer | Maximum results (default 25) |
create_validity_rule Create Validity Rule
Create a data validity rule for a specific column. Checks column values against defined constraints. Use explore to find table and column names.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
column_name * | string | Column to validate |
rule_config * | object | Config for the rule type. Examples: {"pattern": "^[A-Z]"} for regex_match, {"values": ["a","b"]} for allowed_values, {"min": 0, "max": 100} for range_bounds |
rule_type * | string | Type of check: "regex_match", "allowed_values", "range_bounds", "format", "length_bounds" |
table_path * | string | Full table path (e.g., "public.users") |
name | Human-readable rule name (auto-generated if omitted) | |
severity | string | Alert severity when rule fails: "error" (default), "warning", "critical" |
manage_validity_rule Manage Validity Rule
Manage an existing validity rule: get details, update, delete, check, or view results. Use list_validity_rules to find rule IDs.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation: "get" - get rule details "update" - update rule settings "delete" - delete the rule "check" - run the validity check now "results" - view recent check results |
asset_id * | string | Asset UUID (from list_assets) |
rule_id * | string | Validity rule UUID (from list_validity_rules) |
is_active | Enable/disable (for update) | |
limit | integer | Max results to return (for results action, default 25) |
name | New name (for update) | |
rule_config | New rule config (for update) | |
severity | New severity (for update) |
recommend Recommend
Get AI-driven monitoring recommendations for an asset. Analyzes historical patterns, schema, and alert data to suggest monitoring improvements.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
recommendation_type * | string | Type of recommendation: "freshness" - suggest tables and thresholds for freshness monitoring "metrics" - suggest quality metrics based on column analysis "coverage" - identify unmonitored… |
days | integer | Historical window in days (for thresholds, default 30) |
include_monitored | boolean | Include already-monitored tables (for freshness, default False) |
limit | integer | Maximum recommendations (default 20) |
min_confidence | number | Minimum confidence threshold 0.0-1.0 (for freshness/metrics, default 0.5) |
table_path | Filter to specific table (for metrics) |
create_referential_check Create Referential Check
Create a referential integrity check between two columns. Detects orphaned foreign key references. Use explore to find table and column names.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
source_column * | string | Foreign key column (e.g., "customer_id") |
source_table * | string | Table containing the foreign key (e.g., "public.orders") |
target_column * | string | Referenced column (e.g., "id") |
target_table * | string | Referenced table (e.g., "public.customers") |
name | Human-readable name (auto-generated if omitted) | |
severity | string | Alert severity: "warning" (default), "error", "critical" |
manage_referential Manage Referential
Manage referential integrity checks: view, update, delete, execute, or get results. Use create_referential_check to create new checks.
| Parameter | Type | Description |
|---|---|---|
action * | string | Operation to perform: "summary" - get overview of all checks for the asset "list" - list all checks for the asset "get" - get details of a specific check (requires check_id) "update" -… |
asset_id * | string | Asset UUID (from list_assets) |
check_id | Check UUID (required for get/update/delete/execute/results) | |
is_active | Enable/disable (for update action) | |
limit | integer | Max results (for list/results actions, default 25) |
name | New name (for update action) | |
severity | New severity (for update action) |
get_schema_summary Get Schema Summary
Get schema drift summary with total changes, unacknowledged count, and severity breakdown. For individual changes use list_schema_changes.
list_schema_changes List Schema Changes
List recent schema changes showing change type, severity, and acknowledgment status. For summary counts use get_schema_summary. To enable monitoring use enable_schema_monitoring.
| Parameter | Type | Description |
|---|---|---|
asset_id | Filter by asset UUID (from list_assets) | |
limit | integer | Maximum results (default 25) |
severity | Filter by severity: "critical", "warning", "info" | |
unacknowledged_only | boolean | Only return unacknowledged changes (default false) |
create_schema_baseline Create Schema Baseline
Capture current schema as baseline for drift detection. Required before enable_schema_monitoring can detect changes.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
description | Optional description for the baseline |
enable_schema_monitoring Enable Schema Monitoring
Enable schema drift monitoring for an asset. Detects column additions, removals, type changes, and other schema modifications. Use list_schema_changes to view detected changes.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
auto_create_baseline | boolean | Create baseline if none exists (default True) |
schedule_type | string | How often to check for drift: "5m", "1h", "6h", "1d", "1w" |
disable_schema_monitoring Disable Schema Monitoring
Disable schema drift monitoring for an asset. Keeps baseline for re-enabling.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
get_schema_monitoring Get Schema Monitoring
Get schema monitoring configuration for an asset. Shows whether monitoring is enabled, schedule type, baseline info, and last check timestamp.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
dry_run_schema Dry Run Schema
Preview schema drift detection without persisting. Compares current schema against baseline to show what changes would be detected. Use this to test before enabling monitoring.
| Parameter | Type | Description |
|---|---|---|
asset_id * | string | Asset UUID (from list_assets) |
schedule_type | string | Schedule for alert estimation: "1h", "1d", "1w" |