Skip to main content
Glama

Google Ads & Meta Ads

Meta: Add or Remove Audience Members

meta_update_audience_users
DestructiveIdempotent

Add people to, or remove them from, a customer-list custom audience in your Meta ad account, by email, phone number (with country code) or mobile advertiser id. Emails and phones are normalized and SHA-256 hashed on the server before they are sent to Meta; already-hashed values are accepted. Up to 10,000 values per call. Meta matches them to its users over the next hours. Use only data you are allowed to use for advertising.

Tool call template

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

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "audience_id": "<audience_id>",
      "operation": "<operation>",
      "identifier_type": "<identifier_type>",
      "values": "<values>"
    },
    "name": "meta_update_audience_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesThe emails, phone numbers or ids. Max 10,000.
operationYesADD or REMOVE.
audience_idYesCustomer-list audience (see meta_list_audiences).
ad_account_idNoMeta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then.
identifier_typeYesEMAIL, PHONE (digits with country code) or MADID.

Output Schema

NameRequiredDescriptionDefault
sentYesValues sent to Meta after removing blanks and duplicates.
invalidNoValues Meta rejected as malformed.
receivedNoValues Meta says it received.
operationYesADD or REMOVE.
audienceIdYesAudience changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses important behavior: emails and phones are normalized and SHA-256 hashed server-side, already-hashed values are accepted, calls are capped at 10,000 values, and Meta matches values over the next hours. It also notes data-use compliance, which is useful context for a destructive mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded, beginning with the add/remove action and audience scope before covering identifiers, hashing, limits, and matching latency. Every sentence contributes operational or compliance-relevant information without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a mutation tool with five parameters, an output schema, and rich annotations, the description supplies the remaining operational context an agent needs: supported identifier formats, hashing behavior, batch limit, asynchronous matching, and data-permission caution. No critical gap remains for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is already 100%, so the baseline is 3, but the description adds meaningful semantics by explaining normalization/hashing behavior, acceptance of already-hashed values, phone country-code formatting, and the 10,000-value limit. It does not add much beyond the schema on ad_account_id fallback behavior, but the processing details are valuable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb pair (add/remove) and a precise resource: people in a customer-list custom audience in a Meta ad account. It also names the supported identifier types, making the scope distinguishable from broader audience-management siblings such as meta_update_audience.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear operational context: use ADD/REMOVE for audience membership, supply identifiers by email, phone with country code, or mobile advertiser id, and respect per-call limits. It does not explicitly compare against sibling tools like meta_update_audience, so it falls short of full when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources