Skip to main content
Glama
raihan675

OpenAI Ads & Conversion Intelligence MCP Server

by raihan675

Send Test Conversion Event (CAPI Dispatcher)

send_test_conversion_event

Dispatches a conversion event to the OpenAI Conversions API, auto-hashing emails and phones with SHA-256 and adding deduplication tokens to prevent double counting. Use it to test or record key actions like orders, leads, or registrations.

Instructions

Dispatches a test or live server-side conversion event (e.g., 'order_created', 'lead_created', 'add_to_cart') via the OpenAI Conversions API. Automatically hashes plain emails/phones with SHA-256 and attaches deduplication tokens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
obrefNoOpenAI ad click reference token (if captured from click URL)
valueNoMonetary conversion value (e.g. 49.99)
currencyNoCurrency code (e.g. 'USD')USD
event_idNoUnique event ID for deduplication with pixel (defaults to auto-generated UUID)
order_idNoE-commerce transaction or order ID
event_nameYesStandard conversion event name or 'custom'
user_emailNoCustomer email (will be SHA-256 hashed automatically)
user_phoneNoCustomer phone number (will be normalized and hashed)
action_sourceNoAction source channelwebsite

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the disclosure burden. It usefully reveals automatic SHA-256 hashing of emails/phones and deduplication token attachment, and it notes both test and live dispatch. However, it does not disclose authentication needs, response behavior, failure modes, or whether test events are actually stored or counted.

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 two sentences with no filler. The action, event examples, and key automatic behaviors are front-loaded, making it easy to scan and immediately useful.

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

Completeness3/5

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

This is an external write action with 9 parameters, no annotations, and no output schema, so the agent needs more context about prerequisites and expected results. The description explains what happens to the inputs but not what the tool returns, whether setup is required first, or how failures are surfaced.

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 coverage is 100%, so each parameter is already documented in the schema. The description adds some meaningful context around hashing and deduplication that relates to user_email, user_phone, and event_id, but it largely restates 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?

The description states a specific action (dispatches a server-side conversion event) with concrete examples and a clear scope qualifier ('test or live'). It is easily distinguished from sibling conversion-management tools, none of which actually send conversion events.

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?

The core use case is clearly implied: use this when you need to send a conversion event. However, it never explicitly names alternatives or prerequisites, such as needing a Conversions API key or settings configured via sibling tools like create_conversions_api_key or create_conversion_event_setting.

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