Skip to main content
Glama

chatgpt_ads_conversion_events_create

Create a permanent conversion event setting in ChatGPT Ads; verify all arguments first because it cannot be edited or deleted.

Instructions

Creates one conversion event setting, permanently: the API offers no edit or delete, so check every argument first. Returns the new platform object unchanged. Mutates the account. Documented event_type values: app_installed, app_opened, appointment_scheduled, checkout_started, contents_viewed, custom, items_added, lead_created, order_created, page_viewed, registration_completed, subscription_created, trial_started; custom needs custom_event_name. source_id is a pixel's id from chatgpt_ads_pixels_list (not its pixel_id); an answer 'Client data source not found' means it is not a pixel of this account. attribution_window_days is always 30, the only documented value. No idempotency key is offered: if the answer is lost, check chatgpt_ads_conversion_events_list before creating another. No reversal is recorded.

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>",
      "event_type": "<event_type>",
      "source_id": "<source_id>"
    },
    "name": "chatgpt_ads_conversion_events_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEvent setting name: 1 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.
source_idYesPixel (conversion source) id as the API returns it (e.g. 'clidsrc_123'). Find it with the matching list tool.
event_typeYesThe standard event to count (e.g. 'order_created'), or 'custom' for an event of your own named by custom_event_name.
decision_idNoA proposed decision this change carries out.
custom_event_nameNoRequired when event_type is 'custom', refused otherwise: 1-64 letters, digits, '_' or '-', starting and ending with a letter or digit, not a standard event name. The platform lowercases it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.46.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations supply only readOnlyHint=false, so the description carries the burden and does so: it discloses irreversibility ("no edit or delete", "No reversal is recorded"), absence of an idempotency key, that it mutates the account, and the return shape ("Returns the new platform object unchanged"). These are the exact failure modes an agent needs before a destructive 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?

The permanence warning is correctly front-loaded and nearly every sentence carries operational value. It arrives as one dense block of semicolon-joined clauses, which makes the parameter-specific facts harder to scan than a short structured list would be.

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 an 8-parameter, nested-object mutation with no output schema, the description covers irreversibility, idempotency, source_id provenance, error interpretation, and the return value. It omits permission or scope requirements for the write and does not describe rate limiting, which are the remaining unknowns for an agent invoking it.

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 coverage is 100%, so the baseline is 3; the description earns above that by enumerating the accepted event_type values (the schema declares no enums), stating that 'custom' requires custom_event_name, and clarifying that source_id is the pixel id rather than the pixel_id. Minor deduction for referencing attribution_window_days, which is not present in the schema, and for not elaborating on the nested approval or expected objects beyond what the schema already says.

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?

"Creates one conversion event setting, permanently" names a specific verb and resource, and the permanence clause plus "the API offers no edit or delete" distinguishes it immediately from chatgpt_ads_conversion_events_list and from the generic create siblings. An agent can tell what this does without opening the schema.

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

Usage Guidelines5/5

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

It states preconditions ("check every argument first"), where to obtain source_id (chatgpt_ads_pixels_list), what to do on ambiguity ("if the answer is lost, check chatgpt_ads_conversion_events_list before creating another"), and how to interpret the "Client data source not found" error. That is explicit when-to-use and duplicate-avoidance guidance with named alternatives.

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