Marketing · analyze_campaign_metrics
Analyze campaign metrics
Performance of a marketing campaign.
- Price
- plan AI usage
- Requirements
- No connector
- runs on platform keys
- Human approval
- No
- read or internal write
Input
| Field | Type | Description |
|---|---|---|
| campaignId * | string | UUID of the campaign to analyze |
| metrics | object | Figures to record on the campaign (from the user or the platform) before analysis: impressions, reach, clicks, ctr (%), conversions, revenue, sent, opens, openRate (%), clickRate (%), unsubscribeRate (%), likes, comments, shares, engagementRate (%), roas, plus optional `source` and `asOf` (ISO date). |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"analyze_campaign_metrics","input":{"campaignId":"…","metrics":"…"}}'$
run({ "tool": "analyze_campaign_metrics", "input": {"campaignId":"…","metrics":"…"} })