Skip to main content
Glama

meta_ads_conversions_send

Send batch conversion events to Meta Conversions API for attribution. Supports standard and custom events with user data hashing. Returns Meta response including events_received and warnings.

Instructions

Sends a batch of arbitrary conversion events to the Meta Conversions API. Returns Meta's response including events_received and messages (warnings for missing fields). Mutating on Meta's side — events become part of the pixel's attribution stream. For common event types prefer the dedicated meta_ads_conversions_send_purchase or send_lead helpers, which enforce required fields and fewer mistakes. For other event names (AddToCart, InitiateCheckout, CompleteRegistration, custom events) use this generic tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
pixel_idYesMeta Pixel ID the event is attributed to. Find via meta_ads_pixels_list. CAPI events flow into the same pixel as browser events; dedupe happens on event_id if one is supplied in user_data / custom_data.
eventsYesEvent payloads to send. Meta batches are typically ≤1000 events per call.
test_event_codeNoMeta Events Manager test_event_code. When set, the event is routed to the test event stream visible in Events Manager instead of production reporting. Use for validation; drop the field once verified. Get the code from Events Manager → Test Events tab.
Behavior5/5

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

States it's mutating and events become part of attribution stream. Discloses response content (events_received, messages for warnings). Covers hashing behavior for PII. No annotation contradiction.

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?

Three sentences: purpose+response, alternatives, and constraints. Front-loaded with core info, no wasted words.

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?

Covers batching, mutations, response format, hashing, field requirements, and validation. Complete for a tool with no output schema.

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

Parameters5/5

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

Schema has 100% coverage, but description adds key context: user_data explains mureo hashes raw PII, event_source_url required for website events, test_event_code source, and deduplication hints.

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?

Clearly states it sends arbitrary conversion events to Meta Conversions API and returns Meta's response. Distinguishes from dedicated helpers (send_purchase, send_lead) which enforce required fields.

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?

Explicitly advises when to use generic vs dedicated tools, mentions batching limit (≤1000 events), fallback for account_id, deduplication via event_id, and how to use test_event_code for validation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server