Skip to main content
Glama

setup_chatgpt_ads_conversions

Destructive

Set up ChatGPT Ads conversion reporting (server-side Conversions API, no browser pixel): creates in the ad account a conversion source, a Conversions API key (stored in the vault as conversions_api_key) and event settings for lead_created, appointment_scheduled and order_created (30-day window), stores pixel_id and the ids in the openai_ads integration, then sends one validate_only test event (checked by OpenAI, not saved). Re-running only creates what is missing. Afterwards report_ad_conversion really sends for leads with ad_source openai_ads and marketing consent. Company integration: admins or whoever may manage openai_ads.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "setup_chatgpt_ads_conversions"
  }
}

Input Schema

NameRequiredDescriptionDefault
test_onlyNoOnly send the validate_only test event with the stored setup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses where the key lands (vault entry conversions_api_key), where the ids land (openai_ads integration), the 30-day attribution window, that a validate_only test event is sent and discarded by OpenAI, and that reruns are incremental. These are the exact side effects an agent needs before invoking a destructive, non-idempotent 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?

Purpose and scope are front-loaded and nearly every clause carries real information (storage locations, event names, window, rerun behavior, permissions). It is a dense single paragraph that could be broken into setup steps vs. side effects for faster scanning.

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?

For a one-parameter mutation tool with no output schema, the description covers what gets created, what gets persisted and where, the test-event behavior, rerun semantics, authorization, and the downstream effect on report_ad_conversion. Nothing material an agent needs to call it safely is missing.

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

Parameters3/5

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

Schema description coverage is 100% and the single test_only parameter is documented in the schema, so baseline 3 applies. The description mentions the validate_only test event but does not explicitly state that test_only=true performs only that step without creating the sources, leaving the parameter's effect to the schema.

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 (set up ChatGPT Ads conversion reporting via server-side Conversions API) and enumerates the concrete artifacts created: conversion source, API key, event settings for three named events, stored pixel_id/ids. It is clearly distinguishable from sibling report_ad_conversion, which it names as the downstream consumer.

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?

It implies the when: run this before report_ad_conversion will actually send anything, and it explicitly states that re-running creates only what is missing. It also names the permission requirement (admins or whoever may manage openai_ads). It stops short of explicitly contrasting the alternative of not using an API key / browser pixel path or pointing at a repair tool.

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.