Koskamo

Infinite Audience MCP

Official MCP server for Infinite Audience enabling AI agents to discover audiences, build segments, match and deliver data, and enrich customer files using OAuth authentication.

Endpoint and access

Optional OAuth sign-in: the endpoint lists tools without signing in. Account tools can prompt OAuth in your client; other task prerequisites may also apply.

Infinite Audience MCP logo, by Infinite AudienceVendor evidenceStreamable HTTPOptional OAuth sign-inEndpoint checked 2026-11-23Operated by Infinite Audience
You need:Authentication API keysScopes OAuth for partnersCreate a self-service API keyGet organization licence reporting
MCP endpoint (Streamable HTTP)
https://mcp.infiniteaudience.ai/mcp
Vendor documentation

What its tools do

57 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

57 of 57 have a description · 57 of 57 declare behavior hints · 53 of 53 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Endpoint and vendor documentation share a domain
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Discover audiences and count records matching criteria
  • Create and manage segments and audiences
  • Enrich customer files and records
  • List and create marketing campaigns

Source and maintenance

Vendor evidenceRegistry 1.0.3

Protocol and capabilities

Server
infinite-audience 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
57 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

57 advertised

discovery_count — Discovery Count
Advertised by the server during the last successful anonymous check.
Advertised destructive

Preview the count for one requested population; this does not create a saved audience. With segment_id, the current segment count snapshot is updated. Returns count and optional group_by breakdown. Use filters (AND conditions) or filter_groups (advanced compound filters), segment_id (resolve filters from a saved segment), audience_id (resolve from a saved audience), or segment_ids+set_logic (compose multiple segments, optionally with excluded_segment_ids for an ad-hoc "A minus B" preview). All inputs are mutually exclusive — providing more than one is rejected with AMBIGUOUS_INPUT. Requires 'discovery' scope.

discovery_count input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "op"
        ],
        "properties": {
          "op": {
            "enum": [
              "=",
              "!=",
              "<",
              "<=",
              ">",
              ">=",
              "IN",
              "NOT IN",
              "BETWEEN",
              "LIKE",
              "ARRAY_CONTAINS",
              "ARRAY_CONTAINS_ANY",
              "IS NULL",
              "IS NOT NULL"
            ],
            "type": "string"
          },
          "field": {
            "type": "string",
            "minLength": 1,
            "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
          },
          "text_comparison": {
            "enum": [
              "exact",
              "case_insensitive"
            ],
            "type": "string",
            "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
          },
          "trim_whitespace": {
            "type": "boolean",
            "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
          }
        },
        "additionalProperties": false
      },
      "description": "Raw flat Filter objects"
    },
    "group_by": {
      "type": "string",
      "description": "Field with groupable=true in get_field_catalog; mutually exclusive with automatic breakdowns"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "How to combine segment_ids (required when segment_ids is provided)"
    },
    "segment_id": {
      "type": "string",
      "description": "Saved segment ID (any subtype) — resolve its definition from the segment doc"
    },
    "audience_id": {
      "type": "string",
      "description": "Saved audience ID — resolve its composition via segment memberships (any subtype mix)"
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Multiple segment IDs to compose"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": false
            },
            "minItems": 1,
            "description": "All conditions in this group must match"
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": false
      },
      "description": "Advanced compound filter groups"
    },
    "include_breakdowns": {
      "type": "boolean",
      "description": "When true, also return demographic/geographic breakdowns (slower). Default false."
    },
    "excluded_segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ad-hoc \"A minus B\" preview — segments to subtract from the segment_ids composition, without persisting an audience"
    }
  },
  "additionalProperties": false
}
discovery_count output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "count"
  ],
  "properties": {
    "count": {
      "type": "number",
      "description": "Number of matching records"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
discovery_count annotations
{
  "title": "Discovery Count",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
discovery_lookup — Discovery Lookup
Advertised by the server during the last successful anonymous check.

Return up to 25 masked sample rows for audience matching criteria. Accepts: filters (raw Filter objects), segment_id, audience_id, segment_ids+set_logic (optionally with excluded_segment_ids for an ad-hoc "A minus B" preview), or filter_groups. All inputs are mutually exclusive — providing more than one is rejected with AMBIGUOUS_INPUT. Saved compositions and their exclusions are preserved. Requires 'discovery' scope.

discovery_lookup input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 25,
      "minimum": 1,
      "description": "Maximum masked sample rows, 1–25 (default 10)"
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 30,
      "minItems": 1,
      "description": "Non-PII audience fields to preview; defaults to a small demographic selection. Discover fields with get_field_catalog."
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "op"
        ],
        "properties": {
          "op": {
            "enum": [
              "=",
              "!=",
              "<",
              "<=",
              ">",
              ">=",
              "IN",
              "NOT IN",
              "BETWEEN",
              "LIKE",
              "ARRAY_CONTAINS",
              "ARRAY_CONTAINS_ANY",
              "IS NULL",
              "IS NOT NULL"
            ],
            "type": "string"
          },
          "field": {
            "type": "string",
            "minLength": 1,
            "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
          },
          "text_comparison": {
            "enum": [
              "exact",
              "case_insensitive"
            ],
            "type": "string",
            "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
          },
          "trim_whitespace": {
            "type": "boolean",
            "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
          }
        },
        "additionalProperties": false
      },
      "description": "Raw flat Filter objects"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "How to combine segment_ids"
    },
    "segment_id": {
      "type": "string",
      "description": "Saved segment ID (any subtype) — resolve its definition from the segment doc"
    },
    "audience_id": {
      "type": "string",
      "description": "Saved audience ID — resolve its composition via segment memberships (any subtype mix)"
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Multiple segment IDs to compose"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": false
            },
            "minItems": 1,
            "description": "All conditions in this group must match"
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": false
      },
      "description": "Advanced compound filter groups"
    },
    "excluded_segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Ad-hoc \"A minus B\" preview — segments to subtract from the segment_ids composition, without persisting an audience"
    }
  },
  "additionalProperties": false
}
discovery_lookup output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "rows",
    "total_matched",
    "available_fields"
  ],
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      },
      "description": "Masked sample records"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "total_matched": {
      "type": "number",
      "description": "Number of records matching the lookup"
    },
    "available_fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Non-PII fields selected for this sample; use get_field_catalog to discover other fields"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
discovery_lookup annotations
{
  "title": "Discovery Lookup",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_account_usage — Get Subscription Usage
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read organization totals, recent delivery activity, subscription capacity consumed in the current period, capacity snapshot freshness, and compute utilization. Monetary capacity values use cents. Requires 'account-read' scope.

get_account_usage input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
get_account_usage output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_count",
    "audience_count",
    "deliveries_30d",
    "current_period_spend_cents",
    "billing_projection",
    "compute_usage_pct"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "money_display": {
      "type": "object",
      "description": "Formatted subscription capacity amounts with currency labels, ready to display without further conversion. Unavailable amounts are omitted; zero amounts are included.",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "segment_count": {
      "type": "number"
    },
    "audience_count": {
      "type": "number"
    },
    "deliveries_30d": {
      "type": "number"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "compute_usage_pct": {
      "type": "number"
    },
    "billing_projection": {
      "type": "object",
      "properties": {},
      "additionalProperties": {}
    },
    "current_period_spend_cents": {
      "type": "number"
    }
  },
  "additionalProperties": {}
}
get_account_usage annotations
{
  "title": "Get Subscription Usage",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
check_balance — Check Subscription Capacity
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the organization subscription capacity, reserved and pending consumption, replenishment status, and snapshot freshness. For an agency-managed organization, the response describes its attributed subscription consumption. Requires 'account-read' scope.

check_balance input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
check_balance output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "billing_mode",
    "billing",
    "operational"
  ],
  "properties": {
    "billing": {
      "anyOf": [
        {
          "type": "object",
          "properties": {},
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "operational": {
      "type": "object",
      "required": [
        "frozen",
        "compute_usage_pct"
      ],
      "properties": {
        "frozen": {
          "type": "boolean"
        },
        "compute_usage_pct": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "billing_mode": {
      "type": "string",
      "description": "Subscription capacity routing mode; native_setup_required indicates setup is pending"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "money_display": {
      "type": "object",
      "description": "Formatted subscription capacity amounts with currency labels, ready to display without further conversion. Unavailable amounts are omitted; zero amounts are included.",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
check_balance annotations
{
  "title": "Check Subscription Capacity",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
check_topup_status — Check Capacity Request Status
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read verified status for an existing subscription capacity replenishment request. Supply the request identifier from its original confirmation. Requests requiring attention are identified for an account administrator. Requires 'account-read' scope.

check_topup_status input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "request_id"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "maxLength": 160,
      "minLength": 8,
      "description": "Existing subscription capacity replenishment request identifier"
    }
  }
}
check_topup_status output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Verified state of the existing top-up request"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "next_step": {
      "type": "string",
      "description": "Whether the existing request requires account administrator attention"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "money_display": {
      "type": "object",
      "description": "Formatted subscription capacity amounts with currency labels, ready to display without further conversion. Unavailable amounts are omitted; zero amounts are included.",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
check_topup_status annotations
{
  "title": "Check Capacity Request Status",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_audience — Create Audience
Advertised by the server during the last successful anonymous check.

Create an audience from one or more existing segments. Audiences are the delivery payload — they have no subtype. To create filter or matched cohorts, use create_segment instead. Accepts segment_refs: [{segment_id, role: include|exclude}] to compose the audience with per-segment inclusion/exclusion control. set_logic controls how include-role segments are combined (union or intersection). Returns audience_id, status and campaign_id immediately. Use record_count only for a verified count of this exact composition. Optional campaign_id links the new audience to that campaign (an audience belongs to at most one); omit it to leave the audience unlinked — link it later with link_audience_to_campaign. Requires 'creator' scope.

create_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name",
    "segment_refs"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Human-readable audience name"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "default": "union",
      "description": "How include-role segments are combined: 'union' (OR, default) or 'intersection' (AND)"
    },
    "campaign_id": {
      "type": "string",
      "minLength": 1,
      "description": "Optional campaign to link the new audience to (see list_campaigns). An unknown ID is rejected with INVALID_CAMPAIGN_ID and nothing is created."
    },
    "record_count": {
      "type": "number",
      "minimum": 0,
      "description": "Legacy caller-provided count for this exact composition. Prefer omitting it and calling recount_audience. The server may reuse a valid saved member count; otherwise record_count is null"
    },
    "segment_refs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "segment_id",
          "role"
        ],
        "properties": {
          "role": {
            "enum": [
              "include",
              "exclude"
            ],
            "type": "string",
            "description": "'include' to add records from this segment; 'exclude' to subtract them"
          },
          "segment_id": {
            "type": "string",
            "description": "The segment ID to include or exclude"
          }
        }
      },
      "minItems": 1,
      "description": "Array of segment references with roles. Must include at least one include-role segment."
    }
  },
  "additionalProperties": false
}
create_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "name",
    "status",
    "segment_ids",
    "excluded_segment_ids"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "How included segments combine; excluded segments always subtract"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "campaign_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Saved composition count; null is unknown. Use recount_audience for a current value."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "excluded_segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": {}
}
create_audience annotations
{
  "title": "Create Audience",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
deliver_audience — Deliver Audience
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Deliver an audience as a download using available organization subscription capacity. Required capacity depends on the selected records, attributes, and existing licenses. Supply template_id OR field_list — not both. Review the subscription capacity estimate from quote_delivery with the user before starting delivery. Returns delivery progress and signed download links once completed. Completion or failure may notify configured external webhooks and opted-in users by email; completion may also email the delivery creator and configured organization contacts. Requires 'creator' scope.

deliver_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "destination"
  ],
  "properties": {
    "field_list": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Custom list of field names (alternative to template_id)"
    },
    "audience_id": {
      "type": "string",
      "description": "Audience to deliver"
    },
    "destination": {
      "type": "string",
      "const": "download",
      "description": "Active delivery destination"
    },
    "template_id": {
      "type": "string",
      "description": "Enrichment template ID from get_field_catalog()"
    },
    "output_format": {
      "enum": [
        "csv",
        "avro",
        "json",
        "jsonl"
      ],
      "type": "string",
      "description": "Output file format for download deliveries. Omit to auto-detect: matched audiences default to their uploaded file format; all others default to csv."
    },
    "include_unmatched": {
      "type": "boolean",
      "default": true,
      "description": "(matched subtype) Include rows that did not resolve to a real graph match — these get a best-effort derived iag_person_id (or null), not a real match. Defaults to true."
    },
    "output_compression": {
      "enum": [
        "none",
        "gzip"
      ],
      "type": "string",
      "default": "none",
      "description": "Explicit download compression. gzip supports csv/json/jsonl; Avro uses native DEFLATE and rejects outer gzip. Never inherited from input compression."
    }
  }
}
deliver_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status",
    "delivery_id",
    "audience_id",
    "destination",
    "cost"
  ],
  "properties": {
    "cost": {
      "type": "number"
    },
    "status": {
      "type": "string",
      "description": "Current delivery state"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "delivery_id": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "download_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Fresh signed artifact URLs on an individual completed download delivery"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
deliver_audience annotations
{
  "title": "Deliver Audience",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
deliver_file_match — Deliver File Match
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Trigger download delivery for a file-based identity match job. Always delivers to download — returns a signed URL to the enriched output file. Use this instead of deliver_audience for matched segments created via create_segment(subtype=matched). The match_id is the segment_id returned by create_segment(subtype=matched) — delivery still routes through an audience wrapper internally. Matched segments do not support LiveRamp or Narrative destinations. Supply template_id OR field_list — not both. Use get_field_catalog() to browse options. Completion or failure may notify configured external webhooks and opted-in users by email; completion may also email the delivery creator and configured organization contacts. Requires 'creator' scope.

deliver_file_match input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "match_id"
  ],
  "properties": {
    "match_id": {
      "type": "string",
      "description": "The segment_id returned by create_segment(subtype=matched) — also accepted as match_id for backward compatibility"
    },
    "field_list": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Custom list of field names to include. Mutually exclusive with template_id."
    },
    "template_id": {
      "type": "string",
      "description": "Enrichment template ID from get_field_catalog(). Mutually exclusive with field_list."
    },
    "webhook_url": {
      "type": "string",
      "description": "Optional HTTPS URL to notify when delivery completes."
    },
    "output_format": {
      "enum": [
        "csv",
        "avro",
        "json",
        "jsonl"
      ],
      "type": "string",
      "description": "Output file format. Defaults to csv if not specified."
    },
    "include_unmatched": {
      "type": "boolean",
      "default": true,
      "description": "Include rows that did not resolve to a known identity. Defaults to true."
    },
    "output_compression": {
      "enum": [
        "none",
        "gzip"
      ],
      "type": "string",
      "default": "none",
      "description": "Explicit output compression. gzip supports csv/json/jsonl; Avro uses native DEFLATE."
    }
  }
}
deliver_file_match output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status",
    "delivery_id",
    "audience_id",
    "destination",
    "cost"
  ],
  "properties": {
    "cost": {
      "type": "number"
    },
    "status": {
      "type": "string",
      "description": "Current delivery state"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "delivery_id": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "download_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Fresh signed artifact URLs on an individual completed download delivery"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
deliver_file_match annotations
{
  "title": "Deliver File Match",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
wait_for_delivery — Wait For Delivery
Advertised by the server during the last successful anonymous check.
Advertised read-only

Block until a delivery completes or fails. Call this immediately after deliver_audience or deliver_file_match when the response has status: "processing". Polls GET /v1/audiences/{audience_id}/deliveries/{delivery_id} every 15 seconds. On success returns the full delivery object including download_urls[] — share these directly with the user. Each signed link is valid for 24 hours; expires_at is the delivery artifact retention date, not the link expiry. Call get_delivery for a fresh link while the artifact remains available. Throws DELIVERY_FAILED if the export failed (check failure_reason), or DELIVERY_TIMEOUT if it did not finish within timeout_seconds (default 30 seconds). A wait timeout does not cancel or fail the job; use the corresponding get tool to check it again. Requires 'discovery' scope.

wait_for_delivery input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "delivery_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "Audience ID returned by the delivery or file-match job; do not assume it equals match_id or segment_id"
    },
    "delivery_id": {
      "type": "string",
      "description": "Delivery ID returned by deliver_audience or deliver_file_match"
    },
    "timeout_seconds": {
      "type": "integer",
      "default": 30,
      "maximum": 900,
      "minimum": 1,
      "description": "Maximum seconds to wait (default 30). Prefer get_delivery for a single status check; a wait timeout is not an export failure."
    }
  }
}
wait_for_delivery output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Current delivery state"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "download_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Fresh signed artifact URLs on an individual completed download delivery"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
wait_for_delivery annotations
{
  "title": "Wait For Delivery",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
wait_for_segment — Wait For Segment
Advertised by the server during the last successful anonymous check.

Poll a segment until its status is "active" or "failed". Use after create_segment(subtype=matched) once the file has been uploaded AND confirm_column_mappings has succeeded — the segment will not progress past "pending" before that (the upload is staged). Do not call this before confirm_column_mappings. Custom membership is published internally; use this tool to read a pending segment publication. Polls GET /v1/segments/{segment_id} every 15 seconds; polling may synchronize an expired status onto the saved segment. On success returns the customer-facing segment details — pass segment_id in create_audience.segment_refs, then use the returned audience_id to quote_delivery and deliver_audience. Throws SEGMENT_FAILED if processing failed, or SEGMENT_TIMEOUT if it did not complete within timeout_seconds (default 30 seconds). A wait timeout does not cancel or fail the job; use the corresponding get tool to check it again. Requires 'discovery' scope.

wait_for_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment ID returned by create_segment"
    },
    "timeout_seconds": {
      "type": "integer",
      "default": 30,
      "maximum": 7200,
      "minimum": 1,
      "description": "Maximum seconds to wait (default 30). Prefer get_segment for a single status check; a wait timeout does not stop processing."
    }
  }
}
wait_for_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "name",
    "subtype",
    "status"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "subtype": {
      "enum": [
        "filter",
        "matched",
        "custom"
      ],
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored count; null means unknown. Call count_segment for a current count."
    },
    "record_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Maximum members; null means no explicit cap"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": {}
            }
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": {}
      },
      "description": "Complete saved filter definition; one AND group also represents a simple flat filter list"
    },
    "current_version": {
      "type": "number"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
wait_for_segment annotations
{
  "title": "Wait For Segment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
quote_delivery — Estimate Delivery Capacity
Advertised by the server during the last successful anonymous check.
Advertised destructive

Estimate the subscription capacity required for a download using the audience version, selected fields, output settings, and current licenses. Saves a pending estimate and updates the audience estimate reference. Returns an expected amount and an upper bound, denominated in USD, together with available-capacity sufficiency and any shortfall. Active licenses reduce the expected identity component. When license information is unavailable, the expected amount equals the upper bound. The matching component for a file upload is included when applicable. Review the expected amount and upper bound with the user before delivery. Requires 'discovery' scope.

quote_delivery input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "destination"
  ],
  "properties": {
    "field_list": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Custom field list (alternative to template_id)"
    },
    "audience_id": {
      "type": "string",
      "description": "Audience to quote"
    },
    "destination": {
      "type": "string",
      "const": "download",
      "description": "Active delivery destination; partner pushes are not yet available"
    },
    "template_id": {
      "type": "string",
      "description": "Enrichment template ID"
    },
    "output_format": {
      "enum": [
        "csv",
        "avro",
        "json",
        "jsonl"
      ],
      "type": "string",
      "description": "Requested download artifact format."
    },
    "output_compression": {
      "enum": [
        "none",
        "gzip"
      ],
      "type": "string",
      "default": "none",
      "description": "Requested download compression. gzip supports csv/json/jsonl; Avro uses native DEFLATE."
    }
  }
}
quote_delivery output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "destination",
    "already_delivered",
    "cost_estimate",
    "max_cost_estimate",
    "sufficient_balance",
    "shortfall",
    "license_pricing"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "shortfall": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "destination": {
      "type": "string"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "cost_estimate": {
      "type": "object",
      "required": [
        "base_cost",
        "match_cost",
        "field_cost",
        "destination_cost",
        "total_cost",
        "billing_count"
      ],
      "properties": {
        "base_cost": {
          "type": "number"
        },
        "field_cost": {
          "type": "number"
        },
        "match_cost": {
          "type": "number"
        },
        "total_cost": {
          "type": "number"
        },
        "billing_count": {
          "type": "number"
        },
        "destination_cost": {
          "type": "number"
        }
      },
      "description": "Expected subscription capacity consumption, denominated in USD",
      "additionalProperties": {}
    },
    "license_pricing": {
      "type": "object",
      "required": [
        "status"
      ],
      "properties": {
        "status": {
          "type": "string"
        }
      },
      "additionalProperties": {}
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "already_delivered": {
      "type": "boolean"
    },
    "max_cost_estimate": {
      "type": "object",
      "required": [
        "base_cost",
        "match_cost",
        "field_cost",
        "destination_cost",
        "total_cost",
        "billing_count"
      ],
      "properties": {
        "base_cost": {
          "type": "number"
        },
        "field_cost": {
          "type": "number"
        },
        "match_cost": {
          "type": "number"
        },
        "total_cost": {
          "type": "number"
        },
        "billing_count": {
          "type": "number"
        },
        "destination_cost": {
          "type": "number"
        }
      },
      "description": "Upper bound for subscription capacity consumption, denominated in USD",
      "additionalProperties": {}
    },
    "sufficient_balance": {
      "type": "boolean"
    }
  },
  "additionalProperties": {}
}
quote_delivery annotations
{
  "title": "Estimate Delivery Capacity",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
list_deliveries — List Deliveries
Advertised by the server during the last successful anonymous check.
Advertised read-only

List up to 100 deliveries for one accessible saved audience. This audience-scoped path checks the audience and its member segments before returning history. Signed download links are omitted; call get_delivery for one completed artifact. Use list_all_deliveries for an org-wide paginated search. Requires 'discovery' scope.

list_deliveries input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "Audience whose delivery history to fetch"
    }
  }
}
list_deliveries output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "deliveries"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "deliveries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Delivery summaries; signed download URLs are omitted from history"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_deliveries annotations
{
  "title": "List Deliveries",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_file_match_deliveries — List File Match Deliveries
Advertised by the server during the last successful anonymous check.
Advertised read-only

List deliveries for a file-based identity match job, including status and delivery IDs. Signed download links are omitted from history; call get_delivery for a specific completed delivery. Requires 'discovery' scope.

list_file_match_deliveries input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "match_id"
  ],
  "properties": {
    "match_id": {
      "type": "string",
      "description": "The segment_id returned by create_segment(subtype=matched), also accepted as match_id"
    }
  }
}
list_file_match_deliveries output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "deliveries"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "deliveries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Delivery summaries; signed download URLs are omitted from history"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_file_match_deliveries annotations
{
  "title": "List File Match Deliveries",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_all_deliveries — List All Deliveries
Advertised by the server during the last successful anonymous check.
Advertised read-only

Search org delivery history across audiences with pagination. Supports status, destination, and audience_id filters, Use audience_id to narrow the search to one audience, or list_deliveries for its latest 100 deliveries. Signed download links are omitted; call get_delivery for one completed artifact. Requires 'discovery' scope.

list_all_deliveries input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 25,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum deliveries to return, 1–100 (default 25)"
    },
    "cursor": {
      "type": "string",
      "description": "Opaque pagination cursor from a previous response"
    },
    "status": {
      "enum": [
        "processing",
        "completed",
        "failed"
      ],
      "type": "string",
      "description": "Only deliveries with this status"
    },
    "audience_id": {
      "type": "string",
      "description": "Only deliveries for this audience"
    },
    "destination": {
      "enum": [
        "download",
        "liveramp",
        "narrative"
      ],
      "type": "string",
      "description": "Only deliveries to this destination"
    }
  }
}
list_all_deliveries output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "deliveries"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "deliveries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Delivery summaries; signed download URLs are omitted from history"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_all_deliveries annotations
{
  "title": "List All Deliveries",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_delivery — Get Delivery
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get status and details of a single delivery. Returns fresh 24-hour download_urls[] for completed download deliveries while the artifact is retained; expires_at is the artifact retention date, not the signed-link expiry. Use this to poll status after deliver_audience returns status: processing. Requires 'discovery' scope.

get_delivery input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "delivery_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "Audience the delivery belongs to"
    },
    "delivery_id": {
      "type": "string",
      "description": "Delivery ID returned by deliver_audience"
    }
  }
}
get_delivery output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "description": "Current delivery state"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "download_urls": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Fresh signed artifact URLs on an individual completed download delivery"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_delivery annotations
{
  "title": "Get Delivery",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_field_catalog — Browse Field Catalog
Advertised by the server during the last successful anonymous check.
Advertised read-only

Discover a bounded page of fields, descriptions, accepted aliases, allowed filter operators, coded values and coverage definitions. Search zip or zip_code for the canonical zip5 field. State publishes two-letter codes and full-name labels; either input is accepted. Defaults to filterable audience fields; use purpose=enrichment for all output fields. feature_store fields are enrichment-only unless also tagged audience. Follow next_cursor for more fields; for more enum values pass field_name and values_next_cursor as value_cursor. Subscription capacity rates are opt-in. Requires discovery scope. Requires 'discovery' scope.

get_field_catalog input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum fields per page; response size may shorten the page"
    },
    "cursor": {
      "type": "string",
      "description": "next_cursor returned by the previous page"
    },
    "search": {
      "type": "string",
      "description": "Case-insensitive search across field names, accepted aliases, labels and descriptions"
    },
    "purpose": {
      "enum": [
        "filter",
        "enrichment"
      ],
      "type": "string",
      "default": "filter",
      "description": "Default filter: show fields usable for population filters. Use enrichment for all selectable output fields. Explicit product_usage, template_id or field_name overrides this default."
    },
    "field_name": {
      "type": "string",
      "description": "Retrieve one exact field, including a page of its coded values"
    },
    "template_id": {
      "enum": [
        "standard_iag",
        "standard_enrichment"
      ],
      "type": "string",
      "description": "Show fields in this delivery template"
    },
    "value_limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum enum values per field; defaults to 100 for one field or 25 in a list"
    },
    "value_cursor": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": 0,
      "description": "values_next_cursor from a field; requires field_name"
    },
    "product_usage": {
      "enum": [
        "audience",
        "feature_store"
      ],
      "type": "string",
      "description": "Filter by supported product usage"
    },
    "include_pricing": {
      "type": "boolean",
      "default": false,
      "description": "Include account-specific subscription capacity rates"
    }
  }
}
get_field_catalog output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "fields",
    "templates",
    "total",
    "next_cursor",
    "pricing"
  ],
  "properties": {
    "total": {
      "type": "number"
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field_name",
          "product_usage",
          "text_comparison_modes",
          "default_text_comparison",
          "trim_whitespace_supported"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "data_type": {
            "type": "string"
          },
          "groupable": {
            "type": "boolean",
            "description": "May be used as a group_by/crosstab dimension"
          },
          "operators": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "field_name": {
            "type": "string"
          },
          "filterable": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "enum_values": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Exact request values, not display labels"
          },
          "value_labels": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {
                  "type": "string"
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "coverage_rate": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "product_usage": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "coverage_basis": {
            "type": "string"
          },
          "values_next_cursor": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "text_comparison_modes": {
            "type": "array",
            "items": {
              "enum": [
                "exact",
                "case_insensitive"
              ],
              "type": "string"
            },
            "description": "Supported comparison modes for text filter values; empty for non-text fields"
          },
          "default_text_comparison": {
            "anyOf": [
              {
                "enum": [
                  "exact"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Exact by default for supported text comparisons; null otherwise"
          },
          "trim_whitespace_supported": {
            "type": "boolean",
            "description": "Whether filter values can request trimming of outer whitespace"
          }
        },
        "additionalProperties": {}
      },
      "description": "Selectable output fields; audience filtering remains audience-tagged only"
    },
    "pricing": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Organization subscription capacity rates when requested; otherwise null"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "templates": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "template_id"
        ],
        "properties": {
          "fields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "field_count": {
            "type": "number"
          },
          "template_id": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      },
      "description": "Templates; request template_id to page their fields"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_field_catalog annotations
{
  "title": "Browse Field Catalog",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_data_release — Get Data Release
Advertised by the server during the last successful anonymous check.
Advertised read-only

Read the current platform data-release version (current_release_major/minor) and snapshot timestamp. Does not refresh the registry or change saved data. Returns DATA_RELEASE_UNAVAILABLE if the registry is not populated yet. Requires 'discovery' scope.

get_data_release input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
get_data_release output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "current_release_major",
    "current_release_minor",
    "as_of"
  ],
  "properties": {
    "as_of": {
      "type": "string",
      "description": "ISO timestamp of the registry snapshot"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "current_release_major": {
      "type": "number"
    },
    "current_release_minor": {
      "type": "number"
    }
  },
  "additionalProperties": false
}
get_data_release annotations
{
  "title": "Get Data Release",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
analyze_audience_upload — Analyze Segment Upload
Advertised by the server during the last successful anonymous check.
Advertised destructive

After uploading a file to the presigned upload_url (or all same-format shards to upload_urls) returned by create_segment(subtype=matched), call this to run LLM-assisted column mapping inference. For a sharded upload, analysis runs against the first shard only — every shard is assumed to share the same schema; a mismatch fails the batch job later with a specific error, not silently here. Returns: segment_id, analysis.columns[] (each: source_column, mapped_to, inferred_type, confidence 0–1, warning), analysis.unmapped_columns[] (column headers that could not be mapped), analysis.recommendations[] (human-readable tips to improve match rates). gzip is detected from file bytes, so a missing or incorrect compression declaration is self-healed during analysis. Returns typed 422 errors for malformed gzip, format mismatch, or malformed input, and 409 FILE_NOT_YET_UPLOADED before upload. The upload is staged (create_segment sets hitl:true) — nothing has started yet. Present these results to the user and wait for their response, then call confirm_column_mappings (to start resolution) or cancel_matched_upload (to abort) — do not call wait_for_segment before confirm_column_mappings succeeds. Requires 'discovery' scope.

analyze_audience_upload input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment_id of the matched segment returned by create_segment(subtype=matched)"
    }
  }
}
analyze_audience_upload output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "analysis"
  ],
  "properties": {
    "analysis": {
      "type": "object",
      "required": [
        "columns",
        "unmapped_columns",
        "recommendations"
      ],
      "properties": {
        "columns": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "source_column"
            ],
            "properties": {
              "source_column": {
                "type": "string"
              }
            },
            "additionalProperties": {}
          }
        },
        "recommendations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "unmapped_columns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": {}
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
analyze_audience_upload annotations
{
  "title": "Analyze Segment Upload",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
confirm_column_mappings — Confirm Column Mappings
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Confirm column mappings for a staged matched-segment upload, starting identity resolution. Call this after analyze_audience_upload has been reviewed with the user and they approve (with or without edits). This moves the staged file into place — nothing runs before this call succeeds. Only call wait_for_segment after this returns ok. Pass exactly one of segment_id or audience_id — use audience_id when only the audience is known (it resolves to that audience's matched member segment server-side). When using audience_id, column_mappings is required (no auto-inference fallback on that path). When using segment_id, column_mappings may be omitted — the platform re-analyzes the active upload itself and accepts its own suggested mapping as-is. Async build completion or failure may notify configured external webhooks and opted-in users by email. Requires 'creator' scope.

confirm_column_mappings input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment_id returned by create_segment(subtype=matched)"
    },
    "audience_id": {
      "type": "string",
      "description": "The audience_id, if segment_id isn't known"
    },
    "column_mappings": {
      "type": "object",
      "description": "Map of source column name -> standard identity attribute name. Valid targets: iag_person_id, full_name, first_name, middle_name, last_name, name_suffix, address_1, address_2, city, state, zip, email, phone, dob, email_sha256, phone_sha256, emails, phones, addresses, emails_sha256, phones_sha256 (the last 7 — hashed/plural/array variants — are LLM/programmatic mapping targets only, not offered in a human dropdown). Use \"(skip)\" to exclude a column. For segment_id: omit to have the platform accept its own fresh analysis of the upload as-is. For audience_id: required. Always send the FULL mapping set (not just user-edited columns); this replaces the mappings entirely rather than merging.",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}
confirm_column_mappings output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "ok",
    "column_mappings"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Whether the requested action succeeded"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "column_mappings": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
confirm_column_mappings annotations
{
  "title": "Confirm Column Mappings",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
cancel_matched_upload — Cancel Matched Upload
Advertised by the server during the last successful anonymous check.
Advertised destructive

Abort a staged matched-segment upload without confirming. Call this when the user declines to proceed after reviewing analyze_audience_upload's results. Clears the staged upload — no file move, no status/mapping-state change. The existing segment is retained; cancellation does not delete it or complete matching. Inspect it with get_segment and archive it with archive_segment if no longer needed. Idempotent. Pass exactly one of segment_id or audience_id — use audience_id when only the audience is known (it resolves to that audience's matched member segment server-side). Requires 'creator' scope.

cancel_matched_upload input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment_id returned by create_segment(subtype=matched)"
    },
    "audience_id": {
      "type": "string",
      "description": "The audience_id, if segment_id isn't known"
    }
  }
}
cancel_matched_upload output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "ok"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Whether the requested action succeeded"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
cancel_matched_upload annotations
{
  "title": "Cancel Matched Upload",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
archive_audience — Archive Audience
Advertised by the server during the last successful anonymous check.
Advertised destructive

Archive a saved audience to hide it from the default list, or restore it with restore=true. Preserves its composition and delivery history. Requires the creator scope. Requires 'creator' scope.

archive_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "restore": {
      "type": "boolean",
      "description": "True restores an archived audience to active"
    },
    "audience_id": {
      "type": "string",
      "description": "Saved audience ID"
    }
  }
}
archive_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "status"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
archive_audience annotations
{
  "title": "Archive Audience",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
refresh_audience — Refresh Audience
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Refresh one named member segment of an audience against the current IAG, then refresh the audience's own version/expiry. An audience is a composition of one or more member segments, possibly of different subtypes — there is no "primary" segment, so segment_id is required (400 SEGMENT_ID_REQUIRED if omitted, 400 SEGMENT_NOT_A_MEMBER if it is not part of this audience). Behaviour is specific to the chosen segment's subtype: - filter: synchronous — returns status: active immediately. record_count is null; call recount_audience if a fresh count is needed before quoting. - matched: with hitl false/unset (default): returns status: pending + upload_url. Instruct the user to upload their identity list to upload_url (same or updated file). After upload, call wait_for_segment(segment_id) to block until identity resolution completes. With hitl: true: the upload is staged instead — follow the analyze_audience_upload -> confirm_column_mappings / cancel_matched_upload -> wait_for_segment sequence documented on create_segment(subtype=matched) (confirm_column_mappings/cancel_matched_upload take this segment_id, not audience_id). - custom: immutable snapshot; returns 409 CUSTOM_REGENERATION_REQUIRED. Request a new internal data-team publication. Always call get_audience first to see the member segments and their subtypes, so you can pick (or have the user pick) the right segment_id. Async build completion or failure may notify configured external webhooks and opted-in users by email. Requires 'creator' scope.

refresh_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "segment_id"
  ],
  "properties": {
    "hitl": {
      "type": "boolean",
      "description": "If true: stages a matched segment's re-upload instead of resolving automatically. Defaults to false."
    },
    "segment_id": {
      "type": "string",
      "description": "Which member segment of this audience to refresh. Required — there is no default/primary segment."
    },
    "audience_id": {
      "type": "string",
      "description": "The audience ID to refresh"
    },
    "compression": {
      "enum": [
        "none",
        "gzip"
      ],
      "type": "string",
      "default": "none",
      "description": "Matched subtype: replacement upload compression."
    },
    "shard_count": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Matched subtype: number of same-format shards. Every CSV shard must include its own header row."
    }
  }
}
refresh_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "segment_id",
    "version",
    "status",
    "subtype",
    "refreshed",
    "next_step"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "subtype": {
      "type": "string"
    },
    "version": {
      "type": "number"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "next_step": {
      "type": "string"
    },
    "refreshed": {
      "type": "boolean"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "upload_url": {
      "type": "string"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "upload_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "workflow_run_id": {
      "type": "string"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
refresh_audience annotations
{
  "title": "Refresh Audience",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
create_segment — Create Segment
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Create a segment of the specified subtype. Segments are the typed cohort definitions — audiences are composition wrappers built from segments. filter: reusable filter definition — returns immediately with status active and an unset count unless count_snapshot is supplied. Call count_segment to calculate its saved count. matched: upload a file — returns upload_url (30-min presigned), or upload_urls (an array, one per shard) when shard_count > 1. The upload is staged (not resolved automatically): PUT the raw file bytes to each returned URL with Content-Type matching file_format: csv=text/csv, avro=application/avro, json=application/json, jsonl=application/x-ndjson. Do not include the MCP bearer token in this upload. After uploading (all shards, if multiple), call analyze_audience_upload(segment_id) (analyzes the first shard only when sharded — all shards must share one schema), present the mappings to the user and wait for their response, then confirm_column_mappings(segment_id) to start resolution (or cancel_matched_upload(segment_id) if they decline) — only THEN call wait_for_segment(segment_id). Subscription capacity for file matching is consumed with the first successful delivery, together with the delivery capacity. Custom segments are published through the internal data-team tool; this customer tool creates filter or matched segments only. Use file_format to specify csv (default), avro, json, or jsonl and compression=gzip for gzip bytes. Set shard_count > 1 for multiple same-format files; all shards must use the same compression and every CSV shard must include its own header row. Set create_audience=true to automatically wrap the new segment in an audience for immediate delivery. Optional campaign_id records the campaign the segment is built for and links that wrapper audience to it; omit it to leave both outside any campaign. Async build completion or failure may notify configured external webhooks and opted-in users by email. Requires 'creator' scope.

create_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "subtype",
    "name"
  ],
  "properties": {
    "hitl": {
      "type": "boolean",
      "default": false,
      "description": "(matched) Stage the upload for mapping review before identity resolution."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Human-readable segment name"
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "op"
        ],
        "properties": {
          "op": {
            "enum": [
              "=",
              "!=",
              "<",
              "<=",
              ">",
              ">=",
              "IN",
              "NOT IN",
              "BETWEEN",
              "LIKE",
              "ARRAY_CONTAINS",
              "ARRAY_CONTAINS_ANY",
              "IS NULL",
              "IS NOT NULL"
            ],
            "type": "string"
          },
          "field": {
            "type": "string",
            "minLength": 1,
            "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
          },
          "text_comparison": {
            "enum": [
              "exact",
              "case_insensitive"
            ],
            "type": "string",
            "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
          },
          "trim_whitespace": {
            "type": "boolean",
            "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
          }
        },
        "additionalProperties": false
      },
      "minItems": 1,
      "description": "(filter) AND-combined conditions, reusable directly from discovery_count. Supply filters OR filter_groups, not both."
    },
    "subtype": {
      "enum": [
        "filter",
        "matched"
      ],
      "type": "string",
      "description": "Segment subtype"
    },
    "campaign_id": {
      "type": "string",
      "minLength": 1,
      "description": "Optional campaign this segment is built for (see list_campaigns). Stored as origin_campaign_id; with create_audience, the wrapper audience is linked to it. An unknown ID is rejected with INVALID_CAMPAIGN_ID and nothing is created."
    },
    "compression": {
      "enum": [
        "none",
        "gzip"
      ],
      "type": "string",
      "default": "none",
      "description": "(matched) Input transport compression. Use gzip for .csv.gz/.json.gz/.jsonl.gz bytes; object names remain based on file_format. gzip is NOT supported with file_format=avro (avro is already internally compressed) — the API rejects that combination with UNSUPPORTED_INPUT_COMPRESSION."
    },
    "file_format": {
      "enum": [
        "csv",
        "avro",
        "json",
        "jsonl"
      ],
      "type": "string",
      "description": "(matched) Input file format. csv (default): every column is a single scalar value — multi-value/array fields are not supported. avro/json/jsonl: native array columns supported."
    },
    "match_level": {
      "type": "array",
      "items": {
        "enum": [
          "I",
          "H",
          "D",
          "S",
          "A"
        ],
        "type": "string"
      },
      "description": "(matched) Restrict identity resolution to these match levels (Individual/Household/Digital/Spatial/Address). Omit to use the platform default (all levels)."
    },
    "shard_count": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "(matched) Set > 1 for multiple same-format shards. All shards must use the same compression; every CSV shard must contain its own header row."
    },
    "webhook_url": {
      "type": "string",
      "description": "(matched) URL to receive a POST notification when the segment becomes active"
    },
    "record_limit": {
      "type": "integer",
      "maximum": 1000000000,
      "minimum": 1,
      "description": "(filter) Cap the segment at this many people (e.g. \"up to 1,000\"). Requires State, City, or ZIP Code filters narrowing every OR branch to at most 100 three-digit ZIP prefixes. Audiences and deliveries inherit the cap."
    },
    "spatial_mode": {
      "enum": [
        "residential",
        "work",
        "auto"
      ],
      "type": "string",
      "default": "residential",
      "description": "(matched) Spatial trade-area mode. residential is the default; use work for workplace-oriented spatial matching, or auto for dynamic commercial workplace routing."
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": false
            },
            "minItems": 1,
            "description": "All conditions in this group must match"
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": false
      },
      "minItems": 1,
      "description": "(filter) Grouped conditions, reusable directly from discovery_count. Supply filters OR filter_groups, not both."
    },
    "count_snapshot": {
      "type": "number",
      "minimum": 0,
      "description": "(filter) Existing verified count snapshot to store on the new segment; omit to leave the count unknown, then call count_segment for a fresh count"
    },
    "create_audience": {
      "type": "boolean",
      "default": false,
      "description": "When true, automatically creates an audience wrapper around the new segment for immediate delivery use. Returns both segment_id and audience_id."
    }
  },
  "additionalProperties": false
}
create_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "name",
    "subtype",
    "status"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "subtype": {
      "enum": [
        "filter",
        "matched",
        "custom"
      ],
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "upload_url": {
      "type": "string"
    },
    "audience_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "upload_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored count; null means unknown. Call count_segment for a current count."
    },
    "record_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Maximum members; null means no explicit cap"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": {}
            }
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": {}
      },
      "description": "Complete saved filter definition; one AND group also represents a simple flat filter list"
    },
    "current_version": {
      "type": "number"
    },
    "workflow_run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "upload_expires_at": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
create_segment annotations
{
  "title": "Create Segment",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
patch_audience — Patch Audience
Advertised by the server during the last successful anonymous check.
Advertised destructive

Edit name, description or labels, archive/restore, or change the composition of an existing audience. Also supports adding/removing included or excluded segments. set_logic must be "union" or "intersection" — never "exclusion". To exclude records, use add_excluded_segment_id. Requires 'creator' scope.

patch_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "New display name for the audience"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "\\S",
        "maxLength": 48,
        "minLength": 1
      },
      "maxItems": 20,
      "description": "Descriptive labels; an empty array clears them"
    },
    "status": {
      "enum": [
        "active",
        "archived"
      ],
      "type": "string",
      "description": "Status transition: active once ready, archived to hide from the default list; active restores it"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "Change inclusion logic: \"union\" (OR) or \"intersection\" (AND)"
    },
    "audience_id": {
      "type": "string",
      "description": "The audience ID returned by create_audience or list_audiences"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "description": "Human description; null clears it without changing membership"
    },
    "add_segment_id": {
      "type": "string",
      "description": "Segment ID to append to the included list"
    },
    "remove_segment_id": {
      "type": "string",
      "description": "Segment ID to remove from the included list"
    },
    "add_excluded_segment_id": {
      "type": "string",
      "description": "Segment ID to add as an exclusion — records matching this segment are subtracted from the audience"
    },
    "remove_excluded_segment_id": {
      "type": "string",
      "description": "Excluded segment ID to stop excluding"
    }
  }
}
patch_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "status"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
patch_audience annotations
{
  "title": "Patch Audience",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
list_segments — List Segments
Advertised by the server during the last successful anonymous check.
Advertised read-only

List a page of visible, non-archived saved segments with subtype, status, and record counts. Use when the user asks what segments they have; filter by subtype or pass a limit of 1–100. For one complete definition, call get_segment with its segment_id. Requires 'discovery' scope.

list_segments input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum number of segments to return (default 10; maximum 100)"
    },
    "cursor": {
      "type": "string",
      "description": "next_cursor from a previous response"
    },
    "compact": {
      "type": "boolean",
      "default": true,
      "description": "Return small summaries by default. Set false to include saved filter_groups on filter segments; get_segment retrieves one complete definition."
    },
    "subtype": {
      "enum": [
        "filter",
        "matched",
        "custom"
      ],
      "type": "string",
      "description": "Optional: filter results to a specific segment subtype; custom is materialized membership published by the data team."
    },
    "include_archived": {
      "type": "boolean",
      "description": "Include archived objects so they can be found and restored"
    }
  }
}
list_segments output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segments",
    "total",
    "next_cursor"
  ],
  "properties": {
    "total": {
      "type": "number",
      "description": "Number of segments on this page"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "segments": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      },
      "description": "Saved segment summaries"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Cursor for the next page, or null"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_segments annotations
{
  "title": "List Segments",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
archive_segment — Archive Segment
Advertised by the server during the last successful anonymous check.
Advertised destructive

Archive a segment to hide it from the default segment catalog and new audience compositions, or restore an archived one back to active. Archiving changes where the segment can be used; restoring it is a separate action. Archiving does not affect audiences that already reference this segment — their composition and record count are unchanged. This is distinct from permanently deleting a segment, which does change referencing audiences' composition and cannot be undone. Requires the creator scope. Requires 'creator' scope.

archive_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "restore": {
      "type": "boolean",
      "description": "Pass true to restore an archived segment back to active instead of archiving it"
    },
    "segment_id": {
      "type": "string",
      "description": "The segment ID to archive or restore"
    }
  }
}
archive_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "status"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
archive_segment annotations
{
  "title": "Archive Segment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
patch_segment — Update Segment
Advertised by the server during the last successful anonymous check.
Advertised destructive

Edit segment name, description or labels, or replace a filter segment definition. Supply filters OR filter_groups, never both. record_limit=null removes a size limit; a positive limit requires bounded State, City, or ZIP Code geography. Definition changes create a new version; renaming does not. Use archive_segment to archive or restore. Requires the creator scope. Requires 'creator' scope.

patch_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "New display name"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "\\S",
        "maxLength": 48,
        "minLength": 1
      },
      "maxItems": 20,
      "description": "Descriptive labels; an empty array clears them"
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "op"
        ],
        "properties": {
          "op": {
            "enum": [
              "=",
              "!=",
              "<",
              "<=",
              ">",
              ">=",
              "IN",
              "NOT IN",
              "BETWEEN",
              "LIKE",
              "ARRAY_CONTAINS",
              "ARRAY_CONTAINS_ANY",
              "IS NULL",
              "IS NOT NULL"
            ],
            "type": "string"
          },
          "field": {
            "type": "string",
            "minLength": 1,
            "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
          },
          "text_comparison": {
            "enum": [
              "exact",
              "case_insensitive"
            ],
            "type": "string",
            "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
          },
          "trim_whitespace": {
            "type": "boolean",
            "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
          }
        },
        "additionalProperties": false
      },
      "description": "Replacement AND-combined filters (filter subtype only)"
    },
    "segment_id": {
      "type": "string",
      "description": "Saved segment ID"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "description": "Human description; null clears it without changing membership"
    },
    "record_limit": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1000000000,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Maximum population size (up to 1 billion); null removes the limit"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": false
            },
            "minItems": 1,
            "description": "All conditions in this group must match"
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": false
      },
      "description": "Replacement grouped filters (filter subtype only)"
    }
  }
}
patch_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "status"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
patch_segment annotations
{
  "title": "Update Segment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": true
}
list_audiences — List Audiences
Advertised by the server during the last successful anonymous check.
Advertised read-only

List a page of non-archived saved audiences for this organization, including status, saved count and campaign_id (null when the audience is in no campaign). Use to find an audience_id before get_audience, recount_audience, or delivery; pass a limit of 1–100. Pass campaign_id to list one campaign's audiences, or unlinked=true for audiences in no campaign (not both). A filtered page can hold fewer than limit audiences — keep following next_cursor until it is null. Requires 'discovery' scope.

list_audiences input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum number of audiences to return (default 10; maximum 100)"
    },
    "cursor": {
      "type": "string",
      "description": "next_cursor from a previous response"
    },
    "compact": {
      "type": "boolean",
      "default": true,
      "description": "Return small summaries by default. Use the matching get tool for a complete definition, or compact=false for full entries."
    },
    "unlinked": {
      "type": "boolean",
      "description": "When true, only audiences that belong to no campaign. Do not combine with campaign_id."
    },
    "campaign_id": {
      "type": "string",
      "minLength": 1,
      "description": "Only audiences linked to this campaign (newest link first). Use list_campaigns to find campaign IDs."
    },
    "include_archived": {
      "type": "boolean",
      "description": "Include archived objects so they can be found and restored"
    }
  }
}
list_audiences output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audiences",
    "total",
    "next_cursor"
  ],
  "properties": {
    "total": {
      "type": "number",
      "description": "Number of audiences on this page"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "audiences": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      },
      "description": "Saved audience summaries"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Cursor for the next page, or null"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_audiences annotations
{
  "title": "List Audiences",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_audience — Get Audience
Advertised by the server during the last successful anonymous check.

Get customer-facing details of an audience, including expanded segment summaries and composition. Use when the user wants to inspect a specific saved audience. An expired audience may have its stored status synchronized to expired during this read; no build or count is started. Requires 'discovery' scope.

get_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "The audience ID returned by list_audiences or create_audience"
    }
  }
}
get_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "name",
    "status",
    "segment_ids",
    "excluded_segment_ids"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "How included segments combine; excluded segments always subtract"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "campaign_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Saved composition count; null is unknown. Use recount_audience for a current value."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "excluded_segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": {}
}
get_audience annotations
{
  "title": "Get Audience",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
recount_audience — Recount Audience
Advertised by the server during the last successful anonymous check.
Advertised destructive

Refresh the stored record_count of one saved audience from its current included/excluded segment composition. Call after adding or removing segments. For an unsaved population preview use discovery_count; for a segment snapshot use count_segment. Requires 'discovery' scope.

recount_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "The audience ID to recount"
    }
  }
}
recount_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "record_count"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Fresh audience count, or null when unavailable"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
recount_audience annotations
{
  "title": "Recount Audience",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
get_audience_demographics — Get Audience Demographics
Advertised by the server during the last successful anonymous check.

Profile a saved audience composition, including its segment set logic and exclusions. Returns a BigQuery-computed demographic breakdown, including median age, gender split, homeowner %, children %, college-educated %, and high-income %. Results may populate a 20-minute server-side cache and record query telemetry; the audience definition is unchanged. Requires 'discovery' scope.

get_audience_demographics input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "The audience ID to retrieve demographics for"
    }
  }
}
get_audience_demographics output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "total_count",
    "age_breakdown",
    "geo_breakdown",
    "generated_at",
    "audience_id",
    "audience_name"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "extra_field": {
      "type": "string"
    },
    "total_count": {
      "type": "number"
    },
    "generated_at": {
      "type": "string",
      "description": "ISO timestamp of the demographic snapshot"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "age_breakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "audience_name": {
      "type": "string"
    },
    "geo_breakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "breakdown_extra": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_audience_demographics annotations
{
  "title": "Get Audience Demographics",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
duplicate_audience — Duplicate Audience
Advertised by the server during the last successful anonymous check.

Create a duplicate of an existing audience with lineage tracking (parent_audience_id + derived_from root ancestor, segment versions pinned at duplicate time). The duplicate carries the source composition (segment_ids, excluded_segment_ids, set_logic), is immediately active, and starts with record_count null — call recount_audience for a fresh count. Optionally link the duplicate to a campaign. Requires 'creator' scope.

duplicate_audience input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Name for the duplicate. Defaults to \"<source name> (copy)\""
    },
    "audience_id": {
      "type": "string",
      "description": "ID of the audience to duplicate"
    },
    "campaign_id": {
      "type": "string",
      "description": "Optional campaign to link the duplicate to"
    }
  }
}
duplicate_audience output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audience_id",
    "name",
    "status",
    "segment_ids",
    "excluded_segment_ids"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "How included segments combine; excluded segments always subtract"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "campaign_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Saved composition count; null is unknown. Use recount_audience for a current value."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "excluded_segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": {}
}
duplicate_audience annotations
{
  "title": "Duplicate Audience",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
duplicate_segment — Duplicate Segment
Advertised by the server during the last successful anonymous check.

Create a duplicate of an existing segment. Preserves the source subtype and all subtype-specific data: filter criteria for filter segments; match results, column mappings, and match counts for matched segments; immutable membership version and expiry for custom segments (underlying computed data is referenced, never recomputed). Lineage is recorded (parent_segment_id, derived_from root ancestor, parent_segment_version pin). Filter duplicates start with record_count null — trigger a recount with count_segment for a fresh count; matched/custom duplicates carry the source's counts. Returns 409 SOURCE_MATCH_UNAVAILABLE when a matched source's match data is unavailable (expired/failed/incomplete match), or 409 SOURCE_NOT_READY when a non-matched source is pending or failed. Requires 'creator' scope.

duplicate_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "description": "Name for the duplicate. Defaults to \"<source name> (copy)\""
    },
    "segment_id": {
      "type": "string",
      "description": "ID of the segment to duplicate"
    }
  }
}
duplicate_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "name",
    "subtype",
    "status"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "subtype": {
      "enum": [
        "filter",
        "matched",
        "custom"
      ],
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "upload_url": {
      "type": "string"
    },
    "audience_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "upload_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored count; null means unknown. Call count_segment for a current count."
    },
    "record_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Maximum members; null means no explicit cap"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": {}
            }
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": {}
      },
      "description": "Complete saved filter definition; one AND group also represents a simple flat filter list"
    },
    "current_version": {
      "type": "number"
    },
    "workflow_run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "upload_expires_at": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
duplicate_segment annotations
{
  "title": "Duplicate Segment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_segment_demographics — Get Segment Demographics
Advertised by the server during the last successful anonymous check.

Profile one saved segment on its own, without any audience set logic or exclusions. Returns a BigQuery-computed demographic breakdown (age buckets, geography, and a behavioral/financial extra when available) evaluated directly over the segment's own definition — the segment-level path, with no audience composition (set_logic/exclusions) applied. Works for any subtype (filter, matched, custom) — non-filter subtypes resolve via the same underlying ID-set composition audiences use. Results may populate a 20-minute server-side cache and record query telemetry; the segment definition is unchanged. Requires 'discovery' scope.

get_segment_demographics input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment ID to retrieve demographics for"
    }
  }
}
get_segment_demographics output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "total_count",
    "age_breakdown",
    "geo_breakdown",
    "generated_at",
    "segment_id",
    "segment_name"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "extra_field": {
      "type": "string"
    },
    "total_count": {
      "type": "number"
    },
    "generated_at": {
      "type": "string",
      "description": "ISO timestamp of the demographic snapshot"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "segment_name": {
      "type": "string"
    },
    "age_breakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "geo_breakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "breakdown_extra": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_segment_demographics annotations
{
  "title": "Get Segment Demographics",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
refresh_segment — Refresh Segment
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Re-derive a single stale or expired segment from the current IAG. Updates ONLY the segment — referencing audiences are never touched; the response lists them in affected_audiences so you can recount or refresh them (use refresh_audience for a whole-composition refresh). Behaviour is subtype-specific: - filter: synchronous — bumps current_version, nulls record_count, resets the 90-day TTL, returns status: active. If the segment is already fresh the call is a no-op (refreshed: false); pass force: true to bump anyway. Call count_segment afterwards for a fresh count. - matched: with hitl false/unset (default): returns status: pending + upload_url (24 h presign) targeting the canonical upload path — or upload_urls (an array) when shard_count > 1 — instruct the user to re-upload their identity list (one same-format file per URL for a sharded upload; every CSV shard needs its own header); identity resolution runs automatically once all shards are uploaded. Then call wait_for_segment(segment_id). With hitl: true: the upload is staged instead — after upload, follow the analyze_audience_upload -> confirm_column_mappings / cancel_matched_upload -> wait_for_segment sequence documented on create_segment(subtype=matched). Returns 409 SHARED_SOURCE_DATA for matched duplicates that reference another segment's data — the message names the source segment to refresh instead. - custom: immutable snapshot; returns 409 CUSTOM_REGENERATION_REQUIRED. Request a new internal data-team publication. Returns 409 SEGMENT_ARCHIVED for archived segments — restore them first with archive_segment(restore=true). Async build completion or failure may notify configured external webhooks and opted-in users by email. Requires 'creator' scope.

refresh_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "hitl": {
      "type": "boolean",
      "description": "If true: stages a matched segment's re-upload instead of resolving automatically. Defaults to false."
    },
    "force": {
      "type": "boolean",
      "description": "Filter subtype only: bump the version even when the segment already looks fresh. Defaults to false."
    },
    "segment_id": {
      "type": "string",
      "description": "The segment ID to refresh"
    },
    "compression": {
      "enum": [
        "none",
        "gzip"
      ],
      "type": "string",
      "default": "none",
      "description": "Matched subtype: replacement upload compression."
    },
    "shard_count": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Matched subtype: set > 1 for multiple same-format shards."
    }
  }
}
refresh_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "name",
    "subtype",
    "status",
    "refreshed",
    "affected_audiences",
    "next_step"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "subtype": {
      "enum": [
        "filter",
        "matched",
        "custom"
      ],
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "next_step": {
      "type": "string"
    },
    "refreshed": {
      "type": "boolean"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "upload_url": {
      "type": "string"
    },
    "audience_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "upload_urls": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored count; null means unknown. Call count_segment for a current count."
    },
    "record_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Maximum members; null means no explicit cap"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": {}
            }
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": {}
      },
      "description": "Complete saved filter definition; one AND group also represents a simple flat filter list"
    },
    "current_version": {
      "type": "number"
    },
    "workflow_run_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "upload_expires_at": {
      "type": "string"
    },
    "affected_audiences": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": {}
}
refresh_segment annotations
{
  "title": "Refresh Segment",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
get_segment_audiences — Get Segment Audiences
Advertised by the server during the last successful anonymous check.
Advertised read-only

List every audience that references a segment, with campaign linkage. Returns audiences[] ({id, name, campaign_id, status, record_count}), audience_count, and campaign_count. Use before archiving, refreshing, or editing a segment to understand downstream impact, or when the user asks where a segment is used across campaigns. Requires 'discovery' scope.

get_segment_audiences input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment ID to look up referencing audiences for"
    }
  }
}
get_segment_audiences output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "audiences",
    "audience_count",
    "campaign_count"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "audiences": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "audience_count": {
      "type": "number"
    },
    "campaign_count": {
      "type": "number"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_segment_audiences annotations
{
  "title": "Get Segment Audiences",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
count_segment — Count Segment
Advertised by the server during the last successful anonymous check.
Advertised destructive

Refresh the stored record_count of one saved segment, not its parent audience. Runs a fresh BigQuery count over the segment's own definition for any subtype (filter, matched, custom), updates segment.record_count. Returns {segment_id, record_count}. For an unsaved population preview use discovery_count; for a composed audience snapshot use recount_audience. Requires 'discovery' scope.

count_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment ID to recount"
    }
  }
}
count_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "record_count"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Fresh segment count, or null when pending or failed"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
count_segment annotations
{
  "title": "Count Segment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
list_campaigns — List Campaigns
Advertised by the server during the last successful anonymous check.
Advertised read-only

List a page of campaigns for the organisation. Use when the user asks "what campaigns do I have?" or "show my active campaigns". Returns each campaign brief and status; use get_campaign for linked audience details. Pass the returned next_cursor as cursor to fetch another page. Requires 'discovery' scope.

list_campaigns input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum campaigns per page (default 10)"
    },
    "cursor": {
      "type": "string",
      "description": "next_cursor from a previous list_campaigns page"
    },
    "status": {
      "enum": [
        "active",
        "archived"
      ],
      "type": "string",
      "description": "Optional filter by campaign status"
    },
    "compact": {
      "type": "boolean",
      "default": true,
      "description": "Return small name/status summaries by default; set false for each saved brief and timestamps. Call get_campaign for linked audiences."
    }
  }
}
list_campaigns output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "campaigns",
    "total",
    "next_cursor"
  ],
  "properties": {
    "total": {
      "type": "number"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "campaigns": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_campaigns annotations
{
  "title": "List Campaigns",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
create_campaign — Create Campaign
Advertised by the server during the last successful anonymous check.

Create a new campaign workspace with an optional brief and goals. Use when the user wants to start a new initiative, project, or campaign. Returns the new campaign object including its id. Requires 'creator' scope.

create_campaign input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "Display name for the campaign"
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "description": "Campaign brief, goals, intended market, and desired outcomes"
    }
  }
}
create_campaign output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "id",
    "name",
    "status",
    "audiences"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "audiences": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
create_campaign annotations
{
  "title": "Create Campaign",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
get_campaign — Get Campaign
Advertised by the server during the last successful anonymous check.
Advertised read-only

Retrieve customer-facing details for a campaign including its brief and linked audience summaries. Use when the user asks about a specific campaign or wants to see what audiences are in it. Linked segments are summaries; call get_segment with a segment ID to inspect its filter_groups definition. Requires 'discovery' scope.

get_campaign input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "campaign_id"
  ],
  "properties": {
    "campaign_id": {
      "type": "string",
      "description": "The campaign ID to retrieve"
    }
  }
}
get_campaign output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "id",
    "name",
    "status",
    "audiences"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "audiences": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_campaign annotations
{
  "title": "Get Campaign",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
update_campaign — Update Campaign
Advertised by the server during the last successful anonymous check.
Advertised destructive

Update a campaign name, description, or status. Set status=archived to soft-archive it while preserving linked audiences; set status=active to restore an archived campaign. Requires 'creator' scope.

update_campaign input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "campaign_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "New display name for the campaign"
    },
    "status": {
      "enum": [
        "active",
        "archived"
      ],
      "type": "string",
      "description": "New status for the campaign"
    },
    "campaign_id": {
      "type": "string",
      "description": "The campaign ID to update"
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "description": "Campaign brief, goals, intended market, and desired outcomes; use an empty string to clear it"
    }
  }
}
update_campaign output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "id",
    "name",
    "status",
    "audiences"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "audiences": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
update_campaign annotations
{
  "title": "Update Campaign",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
link_audience_to_campaign — Link Audience to Campaign
Advertised by the server during the last successful anonymous check.
Advertised destructive

Link an existing audience to a campaign. Each audience can belong to at most one campaign. This is idempotent — calling it again for an already-linked pair is safe. Fails with AUDIENCE_ALREADY_LINKED (naming current_campaign_id) if the audience is already in a different campaign — unlink it there first. Requires 'creator' scope.

link_audience_to_campaign input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "campaign_id",
    "audience_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "The audience ID to link"
    },
    "campaign_id": {
      "type": "string",
      "description": "The campaign ID to link the audience to"
    }
  }
}
link_audience_to_campaign output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "ok",
    "campaign_id",
    "audience_id"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Whether the requested action succeeded"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "campaign_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
link_audience_to_campaign annotations
{
  "title": "Link Audience to Campaign",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
unlink_audience_from_campaign — Unlink Audience from Campaign
Advertised by the server during the last successful anonymous check.
Advertised destructive

Remove the link between an audience and a campaign, leaving the audience itself untouched. This is idempotent — calling it again for an already-unlinked pair is safe (returns ok:true). Requires 'creator' scope.

unlink_audience_from_campaign input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "campaign_id",
    "audience_id"
  ],
  "properties": {
    "audience_id": {
      "type": "string",
      "description": "The audience ID to unlink"
    },
    "campaign_id": {
      "type": "string",
      "description": "The campaign ID to unlink the audience from"
    }
  }
}
unlink_audience_from_campaign output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "ok",
    "campaign_id",
    "audience_id"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "Whether the requested action succeeded"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "audience_id": {
      "type": "string"
    },
    "campaign_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
unlink_audience_from_campaign annotations
{
  "title": "Unlink Audience from Campaign",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": true
}
discovery_overlap — Discovery Overlap
Advertised by the server during the last successful anonymous check.

Calculate the overlap between two audience criteria sets. Returns overlap_count, overlap_pct (percentage of the smaller population), and demographic_deltas. Each side (a and b) independently accepts EXACTLY ONE of: audience_id, segment_id, segment_ids+set_logic, filter_groups, or filters (more than one per side is rejected with AMBIGUOUS_INPUT). Saved composition, exclusions, and record limits are preserved. Empty optional distributions mean unavailable, not zero. Legacy: pass audience_id_a and audience_id_b at the top level for backward compatibility (mutually exclusive with a/b). Requires 'discovery' scope.

discovery_overlap input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "a": {
      "type": "object",
      "properties": {
        "filters": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "field",
              "op"
            ],
            "properties": {
              "op": {
                "enum": [
                  "=",
                  "!=",
                  "<",
                  "<=",
                  ">",
                  ">=",
                  "IN",
                  "NOT IN",
                  "BETWEEN",
                  "LIKE",
                  "ARRAY_CONTAINS",
                  "ARRAY_CONTAINS_ANY",
                  "IS NULL",
                  "IS NOT NULL"
                ],
                "type": "string"
              },
              "field": {
                "type": "string",
                "minLength": 1,
                "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
              },
              "value": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
              },
              "text_comparison": {
                "enum": [
                  "exact",
                  "case_insensitive"
                ],
                "type": "string",
                "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
              },
              "trim_whitespace": {
                "type": "boolean",
                "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
              }
            },
            "additionalProperties": false
          }
        },
        "set_logic": {
          "enum": [
            "union",
            "intersection"
          ],
          "type": "string"
        },
        "segment_id": {
          "type": "string"
        },
        "audience_id": {
          "type": "string"
        },
        "segment_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "filter_groups": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "combinator",
              "filters"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
              },
              "filters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "field",
                    "op"
                  ],
                  "properties": {
                    "op": {
                      "enum": [
                        "=",
                        "!=",
                        "<",
                        "<=",
                        ">",
                        ">=",
                        "IN",
                        "NOT IN",
                        "BETWEEN",
                        "LIKE",
                        "ARRAY_CONTAINS",
                        "ARRAY_CONTAINS_ANY",
                        "IS NULL",
                        "IS NOT NULL"
                      ],
                      "type": "string"
                    },
                    "field": {
                      "type": "string",
                      "minLength": 1,
                      "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                    },
                    "text_comparison": {
                      "enum": [
                        "exact",
                        "case_insensitive"
                      ],
                      "type": "string",
                      "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                    },
                    "trim_whitespace": {
                      "type": "boolean",
                      "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                    }
                  },
                  "additionalProperties": false
                },
                "minItems": 1,
                "description": "All conditions in this group must match"
              },
              "combinator": {
                "enum": [
                  "AND",
                  "OR"
                ],
                "type": "string",
                "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
              }
            },
            "additionalProperties": false
          }
        }
      },
      "description": "Side A input — any of the five discovery input shapes"
    },
    "b": {
      "type": "object",
      "properties": {
        "filters": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "field",
              "op"
            ],
            "properties": {
              "op": {
                "enum": [
                  "=",
                  "!=",
                  "<",
                  "<=",
                  ">",
                  ">=",
                  "IN",
                  "NOT IN",
                  "BETWEEN",
                  "LIKE",
                  "ARRAY_CONTAINS",
                  "ARRAY_CONTAINS_ANY",
                  "IS NULL",
                  "IS NOT NULL"
                ],
                "type": "string"
              },
              "field": {
                "type": "string",
                "minLength": 1,
                "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
              },
              "value": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "array",
                    "items": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
              },
              "text_comparison": {
                "enum": [
                  "exact",
                  "case_insensitive"
                ],
                "type": "string",
                "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
              },
              "trim_whitespace": {
                "type": "boolean",
                "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
              }
            },
            "additionalProperties": false
          }
        },
        "set_logic": {
          "enum": [
            "union",
            "intersection"
          ],
          "type": "string"
        },
        "segment_id": {
          "type": "string"
        },
        "audience_id": {
          "type": "string"
        },
        "segment_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "filter_groups": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "combinator",
              "filters"
            ],
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
              },
              "filters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "field",
                    "op"
                  ],
                  "properties": {
                    "op": {
                      "enum": [
                        "=",
                        "!=",
                        "<",
                        "<=",
                        ">",
                        ">=",
                        "IN",
                        "NOT IN",
                        "BETWEEN",
                        "LIKE",
                        "ARRAY_CONTAINS",
                        "ARRAY_CONTAINS_ANY",
                        "IS NULL",
                        "IS NOT NULL"
                      ],
                      "type": "string"
                    },
                    "field": {
                      "type": "string",
                      "minLength": 1,
                      "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "boolean"
                              }
                            ]
                          }
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                    },
                    "text_comparison": {
                      "enum": [
                        "exact",
                        "case_insensitive"
                      ],
                      "type": "string",
                      "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                    },
                    "trim_whitespace": {
                      "type": "boolean",
                      "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                    }
                  },
                  "additionalProperties": false
                },
                "minItems": 1,
                "description": "All conditions in this group must match"
              },
              "combinator": {
                "enum": [
                  "AND",
                  "OR"
                ],
                "type": "string",
                "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
              }
            },
            "additionalProperties": false
          }
        }
      },
      "description": "Side B input — any of the five discovery input shapes"
    },
    "audience_id_a": {
      "type": "string",
      "description": "(Legacy) First audience ID"
    },
    "audience_id_b": {
      "type": "string",
      "description": "(Legacy) Second audience ID"
    }
  }
}
discovery_overlap output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "a_name",
    "b_name",
    "a_count",
    "b_count",
    "overlap_count",
    "overlap_pct",
    "demographic_deltas"
  ],
  "properties": {
    "a_name": {
      "type": "string"
    },
    "b_name": {
      "type": "string"
    },
    "a_count": {
      "type": "number"
    },
    "b_count": {
      "type": "number"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "overlap_pct": {
      "type": "number"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "overlap_count": {
      "type": "number"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "demographic_deltas": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    }
  },
  "additionalProperties": {}
}
discovery_overlap annotations
{
  "title": "Discovery Overlap",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
discovery_crosstab — Discovery Crosstab
Advertised by the server during the last successful anonymous check.

Generate a cross-tabulation pivot table across two demographic dimensions. Returns rows, columns, bounded cells, total_count for the full population, displayed_count for visible cells, and truncated when row/column limits omit categories. Accepts EXACTLY ONE of: filters (flat array), filter_groups, segment_id, audience_id, or segment_ids+set_logic to define the audience population (more than one is rejected with AMBIGUOUS_INPUT). Grouped logic, saved audience exclusions, and record limits are preserved. Requires 'discovery' scope.

discovery_crosstab input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "row_field",
    "col_field"
  ],
  "properties": {
    "filters": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "field",
          "op"
        ],
        "properties": {
          "op": {
            "enum": [
              "=",
              "!=",
              "<",
              "<=",
              ">",
              ">=",
              "IN",
              "NOT IN",
              "BETWEEN",
              "LIKE",
              "ARRAY_CONTAINS",
              "ARRAY_CONTAINS_ANY",
              "IS NULL",
              "IS NOT NULL"
            ],
            "type": "string"
          },
          "field": {
            "type": "string",
            "minLength": 1,
            "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    }
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
          },
          "text_comparison": {
            "enum": [
              "exact",
              "case_insensitive"
            ],
            "type": "string",
            "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
          },
          "trim_whitespace": {
            "type": "boolean",
            "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
          }
        },
        "additionalProperties": false
      },
      "description": "Flat filter array to define the audience population"
    },
    "max_cols": {
      "type": "integer",
      "default": 10,
      "maximum": 20,
      "minimum": 1,
      "description": "Maximum number of column values to return (default 10)"
    },
    "max_rows": {
      "type": "integer",
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "description": "Maximum number of row values to return (default 20)"
    },
    "col_field": {
      "type": "string",
      "description": "Different field with groupable=true from get_field_catalog for pivot columns"
    },
    "col_label": {
      "type": "string",
      "description": "Human-readable label for the column dimension"
    },
    "row_field": {
      "type": "string",
      "description": "Field with groupable=true from get_field_catalog for pivot rows"
    },
    "row_label": {
      "type": "string",
      "description": "Human-readable label for the row dimension"
    },
    "set_logic": {
      "enum": [
        "union",
        "intersection"
      ],
      "type": "string",
      "description": "How to combine segment_ids"
    },
    "segment_id": {
      "type": "string",
      "description": "Saved segment ID"
    },
    "audience_id": {
      "type": "string",
      "description": "Saved audience ID"
    },
    "segment_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Multiple segment IDs to compose"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": false
            },
            "minItems": 1,
            "description": "All conditions in this group must match"
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": false
      },
      "description": "Compound filter groups"
    }
  }
}
discovery_crosstab output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "row_field",
    "col_field",
    "row_label",
    "col_label",
    "rows",
    "columns",
    "cells",
    "total_count",
    "displayed_count",
    "truncated"
  ],
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cells": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {
          "type": "number"
        }
      }
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "col_field": {
      "type": "string"
    },
    "col_label": {
      "type": "string"
    },
    "row_field": {
      "type": "string"
    },
    "row_label": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "total_count": {
      "type": "number"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "displayed_count": {
      "type": "number"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
discovery_crosstab annotations
{
  "title": "Discovery Crosstab",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
match_records — Match Records
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Perform real-time identity resolution on up to 100 records. Returns run_id, match_count, record_count, match_rate, and records[] — one output record per input record, matched or not (each with row_id, iag_person_id, match_level, match_type, match_confidence, enrichment fields, and the licensing labels below). iag_person_id is an org-scoped, non-reversible id: present on a real match, or a best-effort id derived from the row's own identity signals (or null) when unmatched — use match_count/record_count, not id-presence, to tell real matches from derived-only rows. Each record also carries resolution_action (resolved = organic PII match, refreshed = the row submitted a valid iag_person_id, unmatched = no real match, identity_unavailable = a previously valid id no longer resolves to deliverable data) and license_action (none, started, or renewed), plus license_expires_at (ISO-8601 or null) — these two fields are independent: a row can be resolution_action "resolved" and license_action "renewed" at once. The run_id can be passed immediately to get_match_run to retrieve or audit this call later. Matching consumes subscription capacity for real matches. Returned monetary consumption values are estimates in USD; final rated consumption may differ. A tier-01 Person ID from a prior real match or licensed audience delivery can go directly to Refresh; an audience-only ID has null match_level until a real match occurs. Include I in match_level for direct ID lookup, or omit the filter. Active identity licenses provide existing coverage for the identity component. For more than 100 records, use create_segment(subtype="matched") with a file upload instead. A subscription-capacity refusal may notify configured external webhooks. Requires 'creator' scope.

match_records input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "records"
  ],
  "properties": {
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dob": {
            "type": "string"
          },
          "zip": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "emails": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "phones": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "address_1": {
            "type": "string"
          },
          "address_2": {
            "type": "string"
          },
          "addresses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "zip": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                },
                "zip5": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "zip_code": {
                  "type": "string"
                },
                "address_1": {
                  "type": "string"
                },
                "address_2": {
                  "type": "string"
                },
                "postal_code": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "full_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "first_name": {
            "type": "string"
          },
          "middle_name": {
            "type": "string"
          },
          "name_suffix": {
            "type": "string"
          },
          "email_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "phone_sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "emails_sha256": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          "iag_person_id": {
            "type": "string"
          },
          "phones_sha256": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          }
        },
        "additionalProperties": {}
      },
      "maxItems": 100,
      "minItems": 1,
      "description": "Array of 1–100 records to match. Each record is a key-value object of identity fields: email, phone, full_name (or first_name/middle_name/last_name/name_suffix), address_1/address_2/city/state/zip, dob, iag_person_id. If full_name is provided without first_name/last_name, the engine parses it into components automatically. Pre-hashed clients may submit email_sha256/phone_sha256 (lowercase-hex SHA-256) instead of raw email/phone — do not submit an already-hashed value in the raw field, it will be hashed a second time and never match. Extra permutations beyond the primary identity fields may be supplied as emails[]/phones[]/addresses[]/emails_sha256[]/phones_sha256[] arrays. Each addresses[] entry is read by exact key: address_1, address_2, city, state, zip (zip5/postal_code/zip_code accepted as ZIP aliases); any other key is ignored."
    },
    "field_list": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional list of output fields to include in matched records"
    },
    "match_level": {
      "type": "array",
      "items": {
        "enum": [
          "I",
          "H",
          "D",
          "S",
          "A"
        ],
        "type": "string"
      },
      "description": "Restrict identity resolution to these match levels (Individual/Household/Digital/Spatial/Address). Omit to use the platform default (all levels)."
    },
    "template_id": {
      "type": "string",
      "description": "Optional enrichment template ID to apply"
    },
    "spatial_mode": {
      "enum": [
        "residential",
        "work",
        "auto"
      ],
      "type": "string",
      "default": "residential",
      "description": "Spatial trade-area mode. residential is the default; use work for workplace-oriented spatial matching, or auto for dynamic commercial workplace routing."
    }
  }
}
match_records output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "run_id",
    "records",
    "record_count",
    "match_count",
    "match_rate",
    "amount_charged"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "match_rate": {
      "type": "number"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "match_count": {
      "type": "number"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "type": "number"
    },
    "amount_charged": {
      "type": "number",
      "description": "Estimated subscription capacity consumed, denominated in USD; final rated consumption may differ"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
match_records annotations
{
  "title": "Match Records",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
list_match_runs — List Match Runs
Advertised by the server during the last successful anonymous check.
Advertised read-only

List past micro-batch identity match calls for the org. Returns run_id, match_count, match_rate, field_list, created_at, and expires_at. Results are cursor-paginated — pass next_cursor as cursor to fetch older pages. The before timestamp is a legacy alternative. Reported subscription capacity consumption is an estimate in USD; final rated consumption may differ. Use to audit recent match activity, inspect subscription capacity consumption, or find a specific run by scanning pages. Requires 'discovery' scope.

list_match_runs input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum runs to return (default 30, max 100)"
    },
    "before": {
      "type": "string",
      "description": "Legacy ISO timestamp cursor — returns runs created before this time. Use the created_at of the last run in a previous response to paginate."
    },
    "cursor": {
      "type": "string",
      "description": "Opaque next_cursor from the preceding page; mutually exclusive with before"
    }
  }
}
list_match_runs output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "runs",
    "has_more"
  ],
  "properties": {
    "runs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "run_id",
          "status",
          "input_record_count",
          "match_count"
        ],
        "properties": {
          "run_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "match_count": {
            "type": "number"
          },
          "input_record_count": {
            "type": "number"
          }
        },
        "additionalProperties": {}
      }
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "has_more": {
      "type": "boolean"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_match_runs annotations
{
  "title": "List Match Runs",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_match_run — Get Match Run
Advertised by the server during the last successful anonymous check.
Advertised read-only

Retrieve a single micro-batch match run by its run_id. Returns full details: match_count, match_rate, input_record_count, estimated subscription capacity consumption in USD, field_list, status, created_at, expires_at. Requires 'discovery' scope.

get_match_run input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "run_id"
  ],
  "properties": {
    "run_id": {
      "type": "string",
      "description": "The match run ID returned by list_match_runs or a prior match_records call"
    }
  }
}
get_match_run output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "run_id",
    "status",
    "input_record_count",
    "match_count"
  ],
  "properties": {
    "run_id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "match_count": {
      "type": "number"
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "input_record_count": {
      "type": "number"
    }
  },
  "additionalProperties": {}
}
get_match_run annotations
{
  "title": "Get Match Run",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_integration_runs — List Integration Runs
Advertised by the server during the last successful anonymous check.
Advertised read-only

List safe, retained integration activity for this organization. Intermediate workflow artifacts stay private, while this projection records provenance, counts, selected fields, and subscription capacity source. Results are cursor-paginated. Supply at most one of provider, connection_id, kind, or status; use next_cursor to continue. Requires 'discovery' scope.

list_integration_runs input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "kind": {
      "enum": [
        "batch_enrichment",
        "file_enrichment",
        "ingest",
        "activation",
        "export"
      ],
      "type": "string",
      "description": "Filter to one run kind"
    },
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum runs per page, 1–100"
    },
    "cursor": {
      "type": "string",
      "description": "Opaque next_cursor from an earlier response"
    },
    "status": {
      "enum": [
        "created",
        "processing",
        "awaiting_boundary",
        "settling",
        "completed",
        "failed",
        "cancelled"
      ],
      "type": "string",
      "description": "Filter to one run status"
    },
    "provider": {
      "enum": [
        "shopify",
        "zapier",
        "hubspot",
        "klaviyo",
        "other"
      ],
      "type": "string",
      "description": "Filter to one integration provider"
    },
    "connection_id": {
      "type": "string",
      "description": "Filter to one organization integration connection"
    }
  }
}
list_integration_runs output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "runs",
    "has_more",
    "next_cursor"
  ],
  "properties": {
    "runs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "run_id",
          "provider",
          "connection_id",
          "kind",
          "status",
          "counts",
          "created_at",
          "updated_at"
        ],
        "properties": {
          "kind": {
            "type": "string"
          },
          "counts": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "number"
            }
          },
          "run_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "provider": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          },
          "connection_id": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "has_more": {
      "type": "boolean"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_integration_runs annotations
{
  "title": "List Integration Runs",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_integration_run — Get Integration Run
Advertised by the server during the last successful anonymous check.
Advertised read-only

Get one retained integration run by run_id. Returns customer-safe provenance, selected fields, record counts, processing status, and subscription capacity source; intermediate workflow artifacts are not exposed. Use an ID from list_integration_runs. Requires 'discovery' scope.

get_integration_run input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "run_id"
  ],
  "properties": {
    "run_id": {
      "type": "string",
      "description": "Integration run ID returned by list_integration_runs"
    }
  }
}
get_integration_run output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "run_id",
    "provider",
    "connection_id",
    "kind",
    "status",
    "counts",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "kind": {
      "type": "string"
    },
    "counts": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "number"
      }
    },
    "run_id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "provider": {
      "type": "string"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "created_at": {
      "type": "string"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "updated_at": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "connection_id": {
      "type": "string"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_integration_run annotations
{
  "title": "Get Integration Run",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_saved_integration_matches — List Saved Integration Matches
Advertised by the server during the last successful anonymous check.

List saved integration matches available to build into a segment. Returns aggregate counts, refreshes stored collection counts, and may initialize collection metadata. Use preview_saved_integration_segment before building. Requires 'discovery' scope.

list_saved_integration_matches input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
list_saved_integration_matches output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "collections"
  ],
  "properties": {
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "collections": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "collection_id",
          "name",
          "status"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "collection_id": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_saved_integration_matches annotations
{
  "title": "List Saved Integration Matches",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": false,
  "destructiveHint": false
}
preview_saved_integration_segment — Preview Saved Integration Segment
Advertised by the server during the last successful anonymous check.
Advertised read-only

Preview exact unique identities, duplicate receipts, expiry/privacy exclusions, existing overlap, and net additions before creating or extending a segment. Returns an estimate for review before materialization. Requires 'discovery' scope.

preview_saved_integration_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "filters": {
      "type": "object",
      "properties": {
        "providers": {
          "type": "array",
          "items": {
            "enum": [
              "shopify",
              "zapier",
              "hubspot",
              "klaviyo"
            ],
            "type": "string"
          },
          "maxItems": 20
        },
        "source_kinds": {
          "type": "array",
          "items": {
            "enum": [
              "recurring",
              "batch",
              "file"
            ],
            "type": "string"
          },
          "maxItems": 3
        },
        "boundary_at_to": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "connection_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 100
        },
        "boundary_at_from": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "integration_run_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 100
        }
      },
      "description": "Optional provider, connection, run, source-kind, and time-window filters"
    },
    "target_segment_id": {
      "type": "string",
      "description": "Optional existing matched segment for overlap and net-addition counts"
    }
  }
}
preview_saved_integration_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "cutoff_at",
    "preview"
  ],
  "properties": {
    "preview": {
      "type": "object",
      "required": [
        "source_observations",
        "unique_identities",
        "duplicate_observations",
        "expired_identities",
        "suppressed_identities",
        "already_present",
        "net_additions"
      ],
      "properties": {
        "net_additions": {
          "type": "number"
        },
        "already_present": {
          "type": "number"
        },
        "unique_identities": {
          "type": "number"
        },
        "expired_identities": {
          "type": "number"
        },
        "source_observations": {
          "type": "number"
        },
        "suppressed_identities": {
          "type": "number"
        },
        "duplicate_observations": {
          "type": "number"
        }
      },
      "additionalProperties": {}
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "cutoff_at": {
      "type": "string"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
preview_saved_integration_segment annotations
{
  "title": "Preview Saved Integration Segment",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
build_saved_integration_segment — Build Segment from Saved Integration Matches
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Create a matched segment, or add unique saved identities to a compatible standalone matched segment. Call preview_saved_integration_segment first and confirm the exact counts and target with the user. Adding to an existing segment replaces its current version. Completion or failure may notify configured external webhooks and opted-in users by email. Reuses previously resolved identities and returns a segment for subsequent audience composition. Requires 'creator' scope.

build_saved_integration_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "mode"
  ],
  "properties": {
    "mode": {
      "enum": [
        "new_segment",
        "add_to_segment"
      ],
      "type": "string",
      "description": "Create a new matched segment or add identities to an existing one"
    },
    "filters": {
      "type": "object",
      "properties": {
        "providers": {
          "type": "array",
          "items": {
            "enum": [
              "shopify",
              "zapier",
              "hubspot",
              "klaviyo"
            ],
            "type": "string"
          },
          "maxItems": 20
        },
        "source_kinds": {
          "type": "array",
          "items": {
            "enum": [
              "recurring",
              "batch",
              "file"
            ],
            "type": "string"
          },
          "maxItems": 3
        },
        "boundary_at_to": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "connection_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 100
        },
        "boundary_at_from": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
        },
        "integration_run_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 100
        }
      },
      "description": "Select saved matches by provider, connection, run, source kind, or time window"
    },
    "request_id": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1,
      "description": "Stable idempotency key; generated when omitted"
    },
    "segment_name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "description": "Name for a new matched segment"
    },
    "target_segment_id": {
      "type": "string",
      "description": "Existing matched segment ID when mode is add_to_segment"
    }
  }
}
build_saved_integration_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "materialization_id",
    "collection_id",
    "mode",
    "status",
    "target_segment_id",
    "preview",
    "identity_count",
    "failure_code",
    "failure_message"
  ],
  "properties": {
    "mode": {
      "enum": [
        "new_segment",
        "add_to_segment"
      ],
      "type": "string"
    },
    "status": {
      "enum": [
        "created",
        "processing",
        "completed",
        "failed"
      ],
      "type": "string"
    },
    "preview": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "source_observations",
            "unique_identities",
            "duplicate_observations",
            "expired_identities",
            "suppressed_identities",
            "already_present",
            "net_additions"
          ],
          "properties": {
            "net_additions": {
              "type": "number"
            },
            "already_present": {
              "type": "number"
            },
            "unique_identities": {
              "type": "number"
            },
            "expired_identities": {
              "type": "number"
            },
            "source_observations": {
              "type": "number"
            },
            "suppressed_identities": {
              "type": "number"
            },
            "duplicate_observations": {
              "type": "number"
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "failure_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "collection_id": {
      "type": "string"
    },
    "identity_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "failure_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "target_segment_id": {
      "type": "string"
    },
    "materialization_id": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
build_saved_integration_segment annotations
{
  "title": "Build Segment from Saved Integration Matches",
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": true
}
get_saved_integration_segment_build — Get Saved Integration Segment Build
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check a saved-match segment materialization by materialization_id after build_saved_integration_segment. Returns aggregate progress/status and the durable segment ID once complete; it does not start another build. Requires 'discovery' scope.

get_saved_integration_segment_build input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "materialization_id"
  ],
  "properties": {
    "materialization_id": {
      "type": "string",
      "description": "Materialization ID returned by build_saved_integration_segment"
    }
  }
}
get_saved_integration_segment_build output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "materialization_id",
    "collection_id",
    "mode",
    "status",
    "target_segment_id",
    "preview",
    "identity_count",
    "failure_code",
    "failure_message"
  ],
  "properties": {
    "mode": {
      "enum": [
        "new_segment",
        "add_to_segment"
      ],
      "type": "string"
    },
    "status": {
      "enum": [
        "created",
        "processing",
        "completed",
        "failed"
      ],
      "type": "string"
    },
    "preview": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "source_observations",
            "unique_identities",
            "duplicate_observations",
            "expired_identities",
            "suppressed_identities",
            "already_present",
            "net_additions"
          ],
          "properties": {
            "net_additions": {
              "type": "number"
            },
            "already_present": {
              "type": "number"
            },
            "unique_identities": {
              "type": "number"
            },
            "expired_identities": {
              "type": "number"
            },
            "source_observations": {
              "type": "number"
            },
            "suppressed_identities": {
              "type": "number"
            },
            "duplicate_observations": {
              "type": "number"
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "failure_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "collection_id": {
      "type": "string"
    },
    "identity_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "failure_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "target_segment_id": {
      "type": "string"
    },
    "materialization_id": {
      "type": "string"
    }
  },
  "additionalProperties": {}
}
get_saved_integration_segment_build annotations
{
  "title": "Get Saved Integration Segment Build",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_file_match_jobs — List File Match Jobs
Advertised by the server during the last successful anonymous check.
Advertised read-only

List async file-based identity resolution jobs for the org. Each job corresponds to a matched segment created via create_segment(subtype=matched). Returns match_id, name, status, matching_status, input_record_count, match_count, match_rate, file_format, compression, segment_id, audience_id, audience_status, created_at, expires_at. Matching capacity consumption is reported after the first successful delivery. Its monetary estimate is denominated in USD and covers the matching component separately from delivery. audience_status (active/archived/null) reports whether the linked audience is still open-able in Library — job history itself always persists, even after the segment or audience is deleted. Cursor-paginated. Filter by status to find pending/active/failed jobs. Requires 'discovery' scope.

list_file_match_jobs input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum jobs to return (default 30, max 100)"
    },
    "before": {
      "type": "string",
      "description": "Legacy ISO timestamp cursor for pagination"
    },
    "cursor": {
      "type": "string",
      "description": "Opaque next_cursor from the preceding page; mutually exclusive with before"
    },
    "status": {
      "enum": [
        "pending",
        "active",
        "failed",
        "archived",
        "expired"
      ],
      "type": "string",
      "description": "Filter by job status"
    }
  }
}
list_file_match_jobs output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "jobs",
    "has_more"
  ],
  "properties": {
    "jobs": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "match_id",
          "status"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "match_id": {
            "type": "string"
          }
        },
        "additionalProperties": {}
      }
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "has_more": {
      "type": "boolean"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
list_file_match_jobs annotations
{
  "title": "List File Match Jobs",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_file_match_job — Get File Match Job
Advertised by the server during the last successful anonymous check.
Advertised read-only

Retrieve a single file-based identity resolution job by its match_id (= segment_id). Returns full details including matching_status, file_format, compression, field_counts, source_job_id, audience_id, audience_status, and error_message if failed. Matching capacity consumption is reported after the first successful delivery. Its monetary estimate is denominated in USD and covers the matching component separately from delivery. audience_status (active/archived/null) reports whether the linked audience is still open-able in Library. mapping_warnings lists problems with how the file's columns were used (code nested_addresses means the addresses column was ignored in whole or part) — tell the user about any entries. Use to check job progress after create_segment(subtype=matched), or to retrieve the audience_id for delivery. Requires 'discovery' scope.

get_file_match_job input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "match_id"
  ],
  "properties": {
    "match_id": {
      "type": "string",
      "description": "The match_id (segment_id) returned by create_segment(subtype=matched) or list_file_match_jobs"
    }
  }
}
get_file_match_job output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "match_id",
    "status"
  ],
  "properties": {
    "status": {
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "match_id": {
      "type": "string"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_file_match_job annotations
{
  "title": "Get File Match Job",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_segment — Get Segment
Advertised by the server during the last successful anonymous check.

Fetch one segment by segment_id. Returns its customer-facing subtype, status, count, and subtype-specific fields. Filter segments include the complete filter_groups definition and current_version; matched and model-generated segments expose their own relevant fields. An expired segment may have its stored status synchronized to expired during this read; no build or count is started. Requires 'discovery' scope.

get_segment input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id"
  ],
  "properties": {
    "segment_id": {
      "type": "string",
      "description": "The segment ID to retrieve"
    }
  }
}
get_segment output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "segment_id",
    "name",
    "subtype",
    "status"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "subtype": {
      "enum": [
        "filter",
        "matched",
        "custom"
      ],
      "type": "string"
    },
    "guidance": {
      "type": "string",
      "description": "Interpretation or recovery guidance for this result"
    },
    "count_unit": {
      "type": "string",
      "const": "records"
    },
    "page_count": {
      "type": "integer",
      "maximum": 9007199254740991,
      "minimum": -9007199254740991,
      "description": "Number of objects on this page, not the organization total"
    },
    "segment_id": {
      "type": "string"
    },
    "count_state": {
      "enum": [
        "unknown",
        "available"
      ],
      "type": "string",
      "description": "Unknown means no count; available does not guarantee freshness. Recount for a current value."
    },
    "next_actions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "tool",
          "arguments",
          "reason"
        ],
        "properties": {
          "tool": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "arguments": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "description": "Suggested next calls using returned IDs and available scopes. Not executed and not user consent."
    },
    "record_count": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored count; null means unknown. Call count_segment for a current count."
    },
    "record_limit": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Maximum members; null means no explicit cap"
    },
    "filter_groups": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "combinator",
          "filters"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Caller-chosen group ID, for example geography; prefix _exclude:: to subtract this group"
          },
          "filters": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "op"
              ],
              "properties": {
                "op": {
                  "enum": [
                    "=",
                    "!=",
                    "<",
                    "<=",
                    ">",
                    ">=",
                    "IN",
                    "NOT IN",
                    "BETWEEN",
                    "LIKE",
                    "ARRAY_CONTAINS",
                    "ARRAY_CONTAINS_ANY",
                    "IS NULL",
                    "IS NOT NULL"
                  ],
                  "type": "string"
                },
                "field": {
                  "type": "string",
                  "minLength": 1,
                  "description": "field_name from get_field_catalog; ZIP5 also accepts zip, zip_code or postal_code. Use published operators and enum_values"
                },
                "value": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          }
                        ]
                      }
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Scalar for comparisons; array for IN/NOT IN; ARRAY_CONTAINS_ANY matches any listed value; [lower, upper] inclusive for BETWEEN; LIKE uses % for any sequence and _ for one character; omit for IS NULL/IS NOT NULL. Use enum_values codes, not display labels"
                },
                "text_comparison": {
                  "enum": [
                    "exact",
                    "case_insensitive"
                  ],
                  "type": "string",
                  "description": "STRING =, !=, IN, NOT IN, LIKE and ARRAY<STRING> ARRAY_CONTAINS, ARRAY_CONTAINS_ANY. Default exact. case_insensitive applies Unicode case folding to stored text and the supplied value; use when capitalization is incidental."
                },
                "trim_whitespace": {
                  "type": "boolean",
                  "description": "Supported STRING or ARRAY<STRING> comparisons only. Trim leading/trailing whitespace on both sides; default false."
                }
              },
              "additionalProperties": {}
            }
          },
          "combinator": {
            "enum": [
              "AND",
              "OR"
            ],
            "type": "string",
            "description": "Join to the preceding included group; ignored for the first group. AND binds before OR. Exclusion groups always subtract."
          }
        },
        "additionalProperties": {}
      },
      "description": "Complete saved filter definition; one AND group also represents a simple flat filter list"
    },
    "current_version": {
      "type": "number"
    },
    "population_input": {
      "type": "object",
      "description": "Population input used for the preview; IDs refer to their current saved definitions",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "additionalProperties": {}
}
get_segment annotations
{
  "title": "Get Segment",
  "readOnlyHint": false,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (75 of 75 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1103 ms
95th percentile latency
1296 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 888 ms · 57 tool(s); protected-resource metadata advertises OAuth
  • · probe · passed · 1317 ms · metadata changed · 57 tool(s); protected-resource metadata advertises OAuth
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http infinite-audience-mcp https://mcp.infiniteaudience.ai/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add infinite-audience-mcp --url https://mcp.infiniteaudience.ai/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable infinite-audience-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "infinite-audience-mcp": {
      "url": "https://mcp.infiniteaudience.ai/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "infinite-audience-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.infiniteaudience.ai/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start infinite-audience-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "infinite-audience-mcp": {
      "type": "http",
      "url": "https://mcp.infiniteaudience.ai/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http infinite-audience-mcp https://mcp.infiniteaudience.ai/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.infiniteaudience.ai/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "infinite-audience-mcp": {
      "serverUrl": "https://mcp.infiniteaudience.ai/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Infinite Audience MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Infinite Audience MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing