Gives Claude read-only access to multiple DuckDB databases + PostgreSQL (Supabase) for data quality analysis and inspection.
Server has 6 tools with clear verb-noun naming (list_*, describe_*, run_*, quality_*, find_*). Descriptions are present and moderately detailed (100-250 chars), explaining WHEN to use each tool and when NOT to. Input schemas are visible with type declarations and enum constraints for the 'source' parameter. However, critical gaps exist: (1) No output schemas documented, LLMs cannot predict response structure; (2) Parameter descriptions are minimal (e.g., 'table name' lacks format/length guidance); (3) No error handling guidance, tools return raw errors without recovery hints; (4) No pagination support despite tools returning potentially large result sets; (5) Security: SQL injection risk in run_query and describe_table due to unescaped table names in f-strings. Baseline: 194 chars avg description (this server ~150 chars), 72 chars avg param annotation (this server ~30 chars).
Structural overview of a table: column names/types, row count, and 3 sample rows. Use when: user asks "what's in this table", "what columns does X have", or wants to understand table structure. Do NOT use when: user wants a data health check, null rates, or distribution insights — use smart_summary instead (smart_summary = data-quality narrative; describe_table = structural overview only).
Find outliers in a numeric column using IQR method. Use when: user asks about outliers, anomalies, or extreme values in a numeric column. Set return_rows=True to see the actual offending rows with full context. NOT for: categorical columns, full-table quality checks (use quality_report), or exact-match duplicate rows (use duplicate_check).
Show all available data sources and their file paths.
List all tables in a data source.
Structured QA metrics: per-column null counts, duplicate rows, numeric stats. Use when: running a data-quality gate, pipeline validation, or need exact null/dup counts per column. Do NOT use when: user wants a quick overview — use smart_summary instead (it includes a narrative). For co-occurring nulls across columns use null_pattern.
No output schemas documented. LLMs cannot predict response structure (DataFrame.to_string() returns unstructured text). Tools should return structured JSON with typed fields (e.g., {columns: [{name, type}], row_count: int, sample_rows: [...]}).
SQL injection vulnerability: describe_table and run_query use unescaped table/column names in f-strings (e.g., f'SELECT * FROM {table}'). Malicious input like 'table; DROP TABLE--' bypasses the SELECT-only check. Use parameterized queries or strict validation.
Parameter descriptions are minimal (10-30 chars). 'table name' lacks format, length, or case constraints. Baseline: 72 chars avg. Expand to: 'Table name (case-sensitive, alphanumeric + underscore, max 64 chars)'.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
Escape hatch — run any custom SELECT query when no specialized tool fits. Use when: the question requires custom SQL that specialized tools cannot express. Do NOT use when: a specialized tool exists — prefer correlation, segment_analysis, time_series, top_n_by_group, etc. over writing SQL manually.
No error recovery guidance. Tools return raw errors (e.g., 'Unknown source') without actionable next steps. Should return: 'Unknown source "xyz". Available: so_survey, olist, weather, jobs, uber. Try list_sources() to verify.'
No pagination support. quality_report and run_query return entire result sets as text. Large tables (1M+ rows) will exhaust context window. Add limit/offset params and return structured results with total_count and next_cursor.