Skip to main content
Glama

BRAINIAC Ad Fraud Intelligence

Detect click and conversion disagreements

ad-fraud_conversion-fraud-detect
Read-onlyIdempotent

Compare caller-supplied clicks and conversions for time order, campaign mismatch, and repeated ids. An unmatched conversion is a missing link, not proof the click never happened. Price $0.04 USDC. POST /api/v1/ad-fraud/conversion-fraud-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": {
      "conversions": "<conversions>"
    },
    "name": "ad-fraud_conversion-fraud-detect"
  }
}

Input Schema

NameRequiredDescriptionDefault
clicksNoclicks, array. Optional.
conversionsYesconversions, 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. Changed27 schema fields changed
    • addedInput schema / properties / clicks / description
      Added value: +"clicks, array. Optional."
    • addedInput schema / properties / clicks / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / clicks / items / properties / at / description
      Added value: +"at, string, length 8 to 40. Optional."
    • addedInput schema / properties / clicks / items / properties / campaignId / description
      Added value: +"campaignId, string, length 0 to 80. Optional."
    • addedInput schema / properties / clicks / items / properties / clickId / description
      Added value: +"clickId, string, length 0 to 160. Optional."
    • addedInput schema / properties / clicks / items / properties / dwellMs / description
      Added value: +"dwellMs, integer, from -1000000 to 86400000. Optional."
    • addedInput schema / properties / clicks / items / properties / fbclid / description
      Added value: +"fbclid, string, length 0 to 200. Optional."
    • addedInput schema / properties / clicks / items / properties / fingerprintId / description
      Added value: +"fingerprintId, string, length 0 to 120. Optional."
    • addedInput schema / properties / clicks / items / properties / gclid / description
      Added value: +"gclid, string, length 0 to 200. Optional."
    • addedInput schema / properties / clicks / items / properties / id / description
      Added value: +"id, string, length 1 to 120. Required."
    • addedInput schema / properties / clicks / items / properties / landingUrl / description
      Added value: +"landingUrl, string, length 0 to 500. Optional."
    • addedInput schema / properties / clicks / items / properties / pageLoadAt / description
      Added value: +"pageLoadAt, string, length 8 to 40. Optional."
    • addedInput schema / properties / clicks / items / properties / referrer / description
      Added value: +"referrer, string, length 0 to 500. Optional."
    • addedInput schema / properties / clicks / items / properties / timeToClickMs / description
      Added value: +"timeToClickMs, integer, from -1000000 to 86400000. Optional."
    • addedInput schema / properties / clicks / items / properties / x / description
      Added value: +"x, number, from 0 to 20000. Optional."
    • addedInput schema / properties / clicks / items / properties / y / description
      Added value: +"y, number, from 0 to 20000. Optional."
    • removedInput schema / properties / clicks / maxItems
      Removed value: -200
    • addedInput schema / properties / conversions / description
      Added value: +"conversions, array. Required."
    • addedInput schema / properties / conversions / items / description
      Added value: +"item, object. Required."
    • addedInput schema / properties / conversions / items / properties / at / description
      Added value: +"at, string, length 8 to 40. Optional."
    • addedInput schema / properties / conversions / items / properties / campaignId / description
      Added value: +"campaignId, string, length 0 to 80. Optional."
    • addedInput schema / properties / conversions / items / properties / clickId / description
      Added value: +"clickId, string, length 0 to 160. Optional."
    • addedInput schema / properties / conversions / items / properties / id / description
      Added value: +"id, string, length 1 to 120. Required."
    • addedInput schema / properties / conversions / items / properties / value / description
      Added value: +"value, number, from 0 to 1000000000. Optional."
    • removedInput schema / properties / conversions / maxItems
      Removed value: -200
    • removedInput schema / properties / conversions / 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": {
      +        "description": "Item. String.",
      +        "type": "string"
      +      },
      +      "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