Skip to main content
Glama
tilakpattnaik-cloud

Campaign Intelligence Toolkit MCP

Campaign Intelligence Toolkit

An AI Operations Copilot for Campaign Optimization

An AI-powered Campaign Operations toolkit that combines deterministic analytics, industry benchmarks, business knowledge, forecasting, and AI orchestration to analyze digital marketing campaigns.

Instead of relying on an LLM to perform calculations, the system uses deterministic Python services for business logic and exposes a single AI capability through MCP for OpenClaw to consume.


Architecture

                        User
                          │
                          ▼
                    OpenClaw Agent
                          │
                analyze_campaign()
                          │
                          ▼
                Campaign Toolkit MCP
                          │
                  AnalysisService
                          │
     ┌──────────┬──────────┬──────────┬──────────┐
     ▼          ▼          ▼          ▼          ▼
 Analytics  Benchmarks Knowledge Recommendations Forecast
     │
     ▼
 ReportBuilder
     │
     ▼
 Structured Business Report
     │
     ▼
 OpenClaw LLM
     │
     ▼
 Executive Summary

Project Objectives

This project explores how modern AI systems should be architected for business operations.

Instead of asking an LLM to "analyze a campaign", the application separates responsibilities into independent services:

  • Campaign Analytics

  • Industry Benchmark Comparison

  • AdTech Knowledge Retrieval

  • Recommendation Engine

  • Budget Forecasting

  • Report Generation

The AI agent orchestrates these capabilities rather than replacing them.


Features

Campaign Analytics

  • Campaign KPI retrieval

  • CPA

  • CTR

  • CPC

  • ROAS

  • Revenue

  • Spend

  • Conversion metrics


Related MCP server: adobe-cja-mcp

Benchmark Engine

Compares campaign performance against industry benchmarks.

Supported metrics:

  • CPA

  • CTR

  • ROAS


Recommendation Engine

Generates deterministic recommendations based on business rules.

Examples:

  • CPA above benchmark

  • CTR below benchmark

  • ROAS below benchmark


Knowledge Retrieval

Searches an internal AdTech knowledge base for optimization guidance.

Example topics:

  • Target CPA

  • Creative Fatigue

  • Landing Page Optimization


Forecasting

Projects future campaign performance using current campaign metrics.

Forecast includes:

  • Spend

  • Revenue

  • ROAS

  • CPA

  • Conversions


Analysis Orchestrator

Coordinates every capability into a single business workflow.

Campaign
      │
      ▼
Analytics
      ▼
Benchmarks
      ▼
Knowledge
      ▼
Recommendations
      ▼
Forecast
      ▼
Executive Report

MCP Integration

The toolkit is exposed as a FastMCP server and can be used directly from OpenClaw.

Available tool:

analyze_campaign(campaign_name)

Folder Structure

campaign-intelligence-toolkit/

analytics/
benchmarks/
campaign_mcp/
data/
decisions/
forecasting/
knowledge/
models/
orchestrator/
tests/

README.md
requirements.txt

Example

Prompt:

Analyze Campaign Alpha

Example Output:

Performance

CPA : 412
Industry : 320

CTR : 1.79%
Industry : 2.1%

ROAS : 2.58
Industry : 3.2

Recommendations

• Review bidding strategy
• Improve audience targeting
• Test new creatives
• Optimize landing page
• Maintain learning period
• Avoid drastic budget changes

Forecast

Projected Spend : 270000
Projected Revenue : 696600
Projected Conversions : 655

Technologies Used

  • Python

  • Pandas

  • FastMCP

  • OpenClaw

  • Ollama

  • Gemma 4

  • VS Code


Key Learning

The biggest takeaway from this project:

AI products shouldn't rely on the LLM to do everything.

Instead,

  • deterministic code performs calculations

  • business services own domain logic

  • AI orchestrates capabilities

  • the LLM communicates results

This separation makes AI systems faster, more reliable, easier to test, and easier to extend.


Future Improvements

  • Multi-campaign analysis

  • Budget optimization

  • Root cause analysis

  • Multi-agent orchestration

  • Real-time campaign monitoring

  • Live Google Ads / DV360 connectors


Learning Roadmap

This project is part of my journey to become an AI-native Product Leader by building one AI product every weekend.

  1. Publisher Revenue Intelligence Engine

  2. Revenue Knowledge Copilot (RAG)

  3. AdTech Market Intelligence Agent

  4. Interactive AI Revenue Copilot

  5. AdTech Knowledge Intelligence Platform

  6. Campaign Intelligence Toolkit ← You are here

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Sequenzy MCP server for AI-powered email marketing automation.

  • Autopilot MCP server for GEO analyses, reports, content, audits, memories and agents.

  • MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tilakpattnaik-cloud/ai-campaign-operations-copilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server