mureo_state_report_set
Atomically persists a structured analysis report summary into STATE.json, enabling the read-only dashboard to render daily, weekly, or goal reports without re-running the agent.
Instructions
Atomically persist a structured analysis report summary into STATE.json's reports section so the read-only configure dashboard can render the latest daily / weekly / goal report without re-running the agent. report selects the kind (daily / weekly / goal); summary is a free-form object — by convention generated_at (ISO 8601), period, kpis (per-platform / totals headline numbers), flags (notable items), narrative (short text). Other report kinds are preserved. Best-effort: a skill should skip this silently where the context MCP is unavailable. Returns the updated state document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional path to the file. Defaults to STRATEGY.md / STATE.json in the MCP server's current working directory. Paths outside cwd are refused. | |
| report | Yes | Report kind: ``daily`` (daily-check), ``weekly`` (weekly-report), or ``goal`` (goal-review). | |
| summary | Yes | Free-form summary object. Convention: generated_at (ISO 8601), period, kpis (per-platform / totals headline numbers), flags, narrative (short text). Each flag is either a legacy snake_case string OR a structured object {code, severity, params}: code is a canonical vocabulary key (e.g. goals_met, invalid_traffic_suspected, budget_drift, zero_cv_adspots, spend_spike, anomaly_baseline_insufficient), severity is action|watch|info|positive (defaulted from code if omitted), and params holds the detail (adspot ids, yen, ctr) — keep detail in params / narrative, NOT in the code. For a finding outside the vocabulary use {code:'custom', severity, label} where label is a string or {locale: text} map. Unknown non-custom codes are rejected. |