MCP server exposing OrionPulse analytics and metadata operations for sales data analysis, forecasting, anomaly detection, and dashboard/storyboard generation
OrionPulse exposes 11 tools with basic schemas and descriptions, but significant gaps limit production readiness. Tool names follow verb_noun convention (list_tables, describe_table, run_sql, get_kpi_summary, create_sql_view, generate_dashboard_spec, generate_storyboard_spec, run_forecast, run_anomaly_detection, apply_standard_views, export_specs). Descriptions are present but often generic or incomplete. Most tools lack parameter descriptions beyond type hints. Output schemas are not documented. Error handling is minimal, no recovery guidance or actionable error messages. Security controls exist (allowlist, readonly guards, admin mode) but are not surfaced in tool descriptions. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk profiles.
Apply canonical SQL views from repository definitions.
Create or replace SQL view under admin-mode controls.
Return schema metadata for an allowlisted table/view.
Export default dashboard and storyboard specs to output directory.
Generate dashboard specification from template + JSON filters.
Generate storyboard narrative specification.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk profiles. create_sql_view, apply_standard_views, and export_specs are WRITE operations but lack destructiveHint annotation. This prevents clients from warning users or restricting agent access.
Parameter descriptions are minimal or missing. 'period_filter' in get_kpi_summary lacks guidance on format; 'filters_json' in generate_dashboard_spec is described as 'JSON object string' but no schema or example provided. LLMs cannot infer valid JSON structure without examples or schema.
Output schemas are not documented. Tools return list[dict] or str but no field definitions provided. LLMs cannot plan downstream calls or extract specific fields without knowing response structure. E.g., run_sql returns records but field names are unknown until execution.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Expose KPI summary tool with bounded input validation.
List all SQLite tables and views available in current database.
Run anomaly detection with bounded z-score threshold.
Run metric forecast with validated horizon constraints.
Execute safe readonly SQL against allowlisted objects. Enforces single-statement validation, readonly constraints, parser-backed compilation checks, and result row caps.
Error handling lacks recovery guidance. run_sql validates input but error messages are generic ('Readonly SQL mode is enabled. Mutating statements are blocked.'). No guidance on what to do next or how to reformulate the query. Errors should suggest alternatives or valid operations.
apply_standard_views has empty input schema ({}). No description of what views are applied or when to call it. LLMs cannot determine if this tool is needed or what it accomplishes.