Skip to main content
Glama

chatgpt_ads_pixels_create

Creates a web conversion pixel for ChatGPT Ads and returns its id for linking conversion events plus a pixel_id for initialising the JavaScript Pixel.

Instructions

Creates one web conversion pixel; it cannot be edited or deleted through the API. Returns the new platform object unchanged: id (pass it as source_id to chatgpt_ads_conversion_events_create) and pixel_id (to initialise the JavaScript Pixel). Mutates the account. client_type is always 'web', the only documented value. No idempotency key is offered: if the answer is lost, check chatgpt_ads_pixels_list before creating another. No reversal is recorded. Answers feature_not_enabled when conversions are not enabled for the account.

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

Input Schema

NameRequiredDescriptionDefault
nameYesPixel name: 3 to 1000 characters on one line, not all spaces.
reasonNoWhy this change is being made: one or two sentences naming the evidence and the expected effect. Stored in the journal and on the action_log entry this call produces, for the operator and the next session.
approvalNoExternal approval this change carries out (recorded and shown, never verified)
expectedNoExpected effects [{metric, direction, target?, horizon_days?, primary?}], exactly one primary:true when several; metric cpa/cpc/cpl/cpm/conversions/cvr/ctr/roas/cost/spend/clicks/impressions; direction up/down/hold.
decision_idNoA proposed decision this change carries out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the single readOnlyHint=false annotation: discloses that the account is mutated, that the object cannot be edited or deleted through the API, that no idempotency key exists, that no reversal is recorded, and that the call answers feature_not_enabled when conversions are not enabled. This is exactly the safety and retry context an agent needs for an irreversible write.

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?

Front-loads the action and immutability, then layers return contract, mutation warning, retry advice, and error code. Every sentence carries distinct information; the telegraphic phrasing ('Mutates the account.') is dense but not padded.

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?

No output schema exists, and the description compensates by explaining the returned object's key fields and their downstream uses. Combined with the error case and no-idempotency warning, an agent has everything needed to call this correctly and to recover safely from a failed response.

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 100%, so the baseline is 3, and the description adds a small amount on top: it notes client_type is always 'web' (the only documented value) and explains the return-field contract (id for source_id, pixel_id for JS initialisation). It adds nothing on reason, approval, expected, or decision_id, but the schema already documents those fully.

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?

States a specific verb and resource ('Creates one web conversion pixel') and immediately scopes it further by declaring the object is immutable via the API, which distinguishes it from the sibling list/create tools. An agent knows exactly what object this produces and that it is a one-shot creation.

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?

Gives concrete operational guidance: use chatgpt_ads_pixels_list to check before retrying after a lost answer, and pass the returned id as source_id to chatgpt_ads_conversion_events_create. It does not explicitly exclude the other pixel-creation siblings (e.g. meta_ads_pixels_create), but the 'web conversion pixel' scoping plus the retry guidance covers the main decision points.

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

Deploy Server

Other Tools