Skip to main content
Glama

Adbloop Meta Ads

create_website_audience

Destructive

Create a custom audience of people who visited your website (from the account's Meta pixel) in the last N days, optionally only pages whose URL contains some text. Pro. WRITES live (audiences cost nothing until used in an ad).

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": {
      "meta_account_id": "<meta_account_id>",
      "name": "<name>"
    },
    "name": "create_website_audience"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pixel_idNoOptional — defaults to the account's connected pixel.
url_containsNoOptional — only visitors of URLs containing this text (e.g. 'checkout').
retention_daysNo1-180. Default 30.
meta_account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=false, so the write nature is known. The description adds real value beyond that: 'WRITES live' confirms immediate persistence, 'audiences cost nothing until used in an ad' calibrates the destructive flag by explaining there is no spend impact, and 'Pro' discloses a plan gate the annotations do not cover. It stops short of saying whether the creation is reversible or what happens on a duplicate name.

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

Conciseness4/5

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

Three short sentences, front-loaded with the population definition, then the plan note, then the write/cost caveat. Every sentence carries information, though the telegraphic 'Pro.' fragment reads as a bullet squeezed into prose and would be clearer as 'Requires a Pro plan'.

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

Completeness4/5

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

For a 5-parameter destructive mutation with no output schema, the definition covers the essentials an agent needs to call it correctly: what population is built, the source pixel, the retention window, the URL filter, plan gating, and cost impact. No explanation of the returned audience identifier is required given the absence of an output schema.

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?

Coverage is 60%, and the description compensates for the gaps: 'in the last N days' maps to retention_days, 'only pages whose URL contains some text' maps to url_contains, and 'from the account's Meta pixel' explains the pixel_id default. Only meta_account_id and name are left to the schema's own labels.

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 gives a specific verb + resource ('Create a custom audience') and immediately defines the exact population: website visitors from the account's Meta pixel within N days, optionally filtered by URL substring. That precision tells an agent it is not create_lookalike_audience (no source seed) and not list_custom_audiences, without needing either schema.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent can infer this is the tool for pixel-based retargeting, and the 'Pro' marker signals a plan prerequisite. However, there is no explicit when-not guidance, no mention of what to do if a similar audience already exists, and no pointer to delete_custom_audience or the lookalike alternative.

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