Skip to main content
Glama
mpessis

supply-ops-agent

by mpessis

supply-ops-agent

A supply-side operations diagnostic agent built on AAMP standards, extending the IAB Tech Lab seller agent framework with diagnostic tooling for bid rate analysis, IVT detection, and ads.txt compliance. Built with MCP for integration with any AAMP-compatible client.

What it does

This MCP server exposes five diagnostic tools that help sell-side ad ops teams investigate supply health issues:

Tool

Description

diagnose_bid_rate

Daily bid rates, anomaly detection vs baseline, win rate and volume

check_ads_txt

Declared vs observed sellers, mismatch flagging, detection timestamps

detect_ivt

IVT rates broken down by GIVT/SIVT, spike detection above threshold

analyze_demand

Per-DSP demand trends, identifies buyer pullbacks and timing

partner_health

Composite health score combining all four signal dimensions

Demo

Claude autonomously calls 5 diagnostic tools to investigate a bid rate drop for Partner Bravo.

Architecture

This is an MCP tool server - it exposes diagnostic capabilities (data retrieval and analysis) but does not orchestrate them. The LLM (Claude, GPT, or any MCP-compatible client) decides which tools to call, interprets results, and generates the diagnosis. Separating the intelligence layer from the data layer makes the server interoperable with any AAMP-compatible agent.

LLM (Claude) → MCP protocol → supply-ops-agent → mock data

See also the IAB Tech Lab Seller Agent SDK for the reference supply-side agent implementation that this project complements.

Diagnostic logic is grounded in operational patterns from SSP exchange ops: bid stream anomalies, sellers.json reconciliation, and IVT taxonomy aligned with HUMAN/TAG standards.

Baked-in incidents

The mock data includes three realistic scenarios for testing:

  1. Partner Bravo - Bid rate drops 40% on day 5, caused by undeclared seller IDs in ads.txt

  2. Partner Delta - SIVT spikes to 18% on days 10-12, then returns to baseline

  3. Partner Foxtrot - Two major DSP buyers pull back spend starting day 8

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Running

Standalone (stdio)

python server.py

With Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "supply-ops-agent": {
      "command": "python",
      "args": ["/absolute/path/to/supply-ops-agent/server.py"]
    }
  }
}

With Claude Code

claude mcp add supply-ops-agent python /absolute/path/to/supply-ops-agent/server.py

Example queries

Once connected, try asking:

  • "Check the health of Partner Bravo"

  • "Why did Bravo's bid rate drop?"

  • "Is there any IVT issue with Delta?"

  • "Which DSPs pulled back from Foxtrot?"

  • "Run a full health check on all partners"

Tech stack

  • Python 3.10+

  • MCP Python SDK (mcp)

  • Synthetic mock data (no external dependencies)

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

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/mpessis/supply-ops-agent'

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