CRM marketers' SQL work, done by an agent over MCP. Exposes read-only tools over a synthetic CDP with governance kernel for write operations.
Server has 7 tools with explicit schemas and descriptions. Naming is clear and verb-based (segment_query, campaign_history, propose_campaign, execute_campaign, read_audit_log). Descriptions are detailed and explain state changes (e.g., propose_campaign clarifies it creates an 'inert draft'). However, several parameters lack descriptions or have incomplete type information. Output schemas are not documented. Error handling is present but inconsistent, some tools return structured decision objects, others rely on exceptions. The governance integration is sophisticated but adds complexity that obscures standard MCP patterns.
Aggregate budget and spend across all campaigns, by channel.
List campaigns, optionally filtered by channel/status/date overlap.
Get daily performance rollup + totals for a single campaign.
Execute a drafted campaign — SIMULATED, and human-gated (T3). First call returns an `approval_required` payload (id, summary, risk, ttl). A human grants it via `python3 -m gov.cli grant <id>`; the caller then retries this call with the identical proposal_id. The grant is bound to that exact call, single-use, and expires. "Execute" here means: resolve the audience size read-only and append a receipt to the executions ledger. No real send occurs (no martech API is connected — by design; see README "Honest labels").
Draft a campaign proposal (T1: self-approved, audited, rate-capped). Creates an inert draft in the proposals ledger — nothing is sent, spent, or scheduled. A human (or the gated execute_campaign flow) decides what happens to it. Returns the draft, including its proposal_id.
Output schemas not documented. Tools return dicts but LLMs cannot infer field structure, types, or required fields. E.g., segment_query returns customer_ids but structure is not specified.
budget_status has empty input schema (no parameters) but description is minimal (40 chars). LLM cannot determine when to call it or what it returns.
campaign_performance description (50 chars) is too brief. Does not explain what 'daily performance rollup' means, what metrics are included, or when to use it vs campaign_history.
Governance decision objects (approval_required, deny, allow) are returned as structured dicts but their schema is not documented. LLM must infer fields like 'id', 'summary', 'risk', 'ttl' from prose.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 66 | 2026-07-28+ | v2 |
Tail the governance decision log (T0 read-only). Every write-side decision — allows, denials, approval lifecycle — is one row here. This is the "what did the agent do and who approved it" tool.
Look up customers matching a segment, by canonical ID or ad-hoc rule. Provide exactly one of `segment_id` or `rule`. `segment_id` must be one of the 12 canonical, precomputed segments (e.g. "high_ltv", "dormant_30d", "cart_abandoner" — call this with no args first, or see docs/DECISIONS.md, for the full list). `rule` is a small structured DSL over non-PII customer features — NOT free-form SQL. Shapes accepted: {"field": "total_purchases", "op": "gte", "value": 3} {"all": [{"field": "region", "op": "eq", "value": "Seoul"}, ...]} {"any": [{"field": "days_since_last_event", "op": "gt", "value": 90}, ...]} Allowed fields: days_since_signup, acquisition_channel, region, total_events, total_purchases, total_revenue, page_views_30d, purchases_30d, email_opens, email_clicks, days_since_last_event, days_since_last_purchase. (customers.name/phone/email/birth_year are never queryable — see server/guards/pii_guard.py.) Allowed ops: eq, ne, gt, gte, lt, lte, in, not_in.
segment_query rule parameter is type 'object' with no JSON Schema constraints. LLM must parse prose description to understand allowed fields and operators, error-prone and wastes tokens.