Skip to main content
Glama

BRAINIAC Ad Fraud Intelligence

Detect campaign metric anomalies

ad-fraud_campaign-anomaly-detect
Read-onlyIdempotent

Find impossible ratios and, when at least eight rows have clicks and impressions, click-through-rate outliers. An outlier is a statistic, not a fraud verdict. Price $0.04 USDC. POST /api/v1/ad-fraud/campaign-anomaly-detect. An unpaid call returns the x402 payment terms and does not run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "rows": "<rows>"
    },
    "name": "ad-fraud_campaign-anomaly-detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesrows, array. Required.

Output Schema

NameRequiredDescriptionDefault
signalsNosignals. Array.
successNosuccess. Boolean.
verdictNoverdict. String.
analysisNoanalysis. String.
evidenceNoevidence. Array.
confidenceNoconfidence. String.
risk_scoreNorisk_score. Number.
limitationsNolimitations. Array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / rows / description
      Added value: +"rows, array. Required."
    • addedInput schema / properties / rows / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / rows / items / properties / campaignId / description
      Added value: +"campaignId, string, length 0 to 80. Optional."
    • addedInput schema / properties / rows / items / properties / clicks / description
      Added value: +"clicks, number, from 0 to 1000000000. Optional."
    • addedInput schema / properties / rows / items / properties / conversions / description
      Added value: +"conversions, number, from 0 to 1000000000. Optional."
    • addedInput schema / properties / rows / items / properties / day / description
      Added value: +"day, string, length 0 to 20. Optional."
    • addedInput schema / properties / rows / items / properties / id / description
      Added value: +"id, string, length 1 to 120. Required."
    • addedInput schema / properties / rows / items / properties / impressions / description
      Added value: +"impressions, number, from 0 to 1000000000. Optional."
    • addedInput schema / properties / rows / items / properties / spend / description
      Added value: +"spend, number, from 0 to 1000000000. Optional."
    • removedInput schema / properties / rows / maxItems
      Removed value: -200
    • removedInput schema / properties / rows / minItems
      Removed value: -1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "analysis": {
      +      "description": "analysis. String.",
      +      "type": "string"
      +    },
      +    "confidence": {
      +      "description": "confidence. String.",
      +      "type": "string"
      +    },
      +    "evidence": {
      +      "description": "evidence. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "detail": {
      +            "description": "detail. String.",
      +            "type": "string"
      +          },
      +          "fields": {
      +            "description": "fields. Array.",
      +            "items": {
      +              "description": "Item. String.",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "kind": {
      +            "description": "kind. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "limitations": {
      +      "description": "limitations. Array.",
      +      "items": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "risk_score": {
      +      "description": "risk_score. Number.",
      +      "type": "number"
      +    },
      +    "signals": {
      +      "description": "signals. Array.",
      +      "items": {
      +        "additionalProperties": {},
      +        "description": "item. Object.",
      +        "properties": {
      +          "basis": {
      +            "description": "basis. String.",
      +            "type": "string"
      +          },
      +          "explanation": {
      +            "description": "explanation. String.",
      +            "type": "string"
      +          },
      +          "fields": {
      +            "description": "fields. Array.",
      +            "items": {
      +              "description": "Item. String.",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "severity": {
      +            "description": "severity. String.",
      +            "type": "string"
      +          },
      +          "type": {
      +            "description": "type. String.",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "success": {
      +      "description": "success. Boolean.",
      +      "type": "boolean"
      +    },
      +    "verdict": {
      +      "description": "verdict. String.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources