Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Create Meta Custom Conversion

create_meta_custom_conversion

Creates a custom conversion on a pixel. Give url_contains (visitors whose page URL contains this, e.g. '/tesekkurler' — the classic thank-you / lead-page conversion), or event (a standard pixel event name), or BOTH (that event fired on that page).

event must be a STANDARD Meta pixel event and is matched case-sensitively; any casing you pass is normalized: PageView, ViewContent, Search, AddToCart, AddToWishlist, InitiateCheckout, AddPaymentInfo, Purchase, Lead, CompleteRegistration, Contact, CustomizeProduct, Donate, FindLocation, Schedule, StartTrial, SubmitApplication, Subscribe.

custom_event_type categorizes it for reporting/optimization (PURCHASE | LEAD | COMPLETE_REGISTRATION | ADD_TO_CART | CONTENT_VIEW | SEARCH | OTHER); leave it out and it is derived from the event. pixel_id from list_meta_pixels. confirm=false = preview.

An EVENT rule always carries a URL condition, because Meta rejects an event-only rule: if you pass no url_contains, an all-pages condition is added so the conversion means "this event anywhere on the site". custom_event_type must match the event, so leave it out and it is set correctly for you.

DELETING IS NOT POSSIBLE THROUGH THE API: Meta refuses custom-conversion deletion for this app (OAuthException 200), so a wrong one can only be removed by the user in Meta Events Manager → Custom conversions. Confirm the name and rule with the user BEFORE calling with confirm=true, and do not create throwaway test conversions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
eventNo
confirmNo
pixel_idYes
account_idYes
url_containsNo
custom_event_typeNoOTHER

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the annotations (which only say readOnly=false, destructive=false, idempotent=false) by disclosing that deletion is impossible via the API (OAuthException 200), that event-only rules get an implicit all-pages condition, that casing is normalized, and that custom_event_type is auto-derived. These are exactly the hidden behaviors an agent needs. Minor gap: it does not state auth/permission requirements or whether the call is safe to retry.

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-loaded and dense — the rule-construction logic comes first, then the irreversibility warning. Slightly redundant: the 'leave custom_event_type out and it is derived/set for you' point is made twice in adjacent paragraphs.

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?

An output schema exists, so return values need not be explained, and the description covers everything else an agent needs: valid inputs, auto-applied defaults, preview vs commit, and the irreversibility constraint. Nothing material is missing for correct invocation.

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 description coverage is 0%, so the description carries the full burden, and it does: it documents the full enum of standard pixel events (absent from the schema), the meaning and derivation of custom_event_type, the semantics of url_contains, pixel_id's source, and confirm as preview. Only account_id and name are left without explicit semantics.

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?

Specific verb + resource ('Creates a custom conversion on a pixel') with the object of creation named precisely. It is clearly distinguishable from sibling update_meta_custom_conversion and list_meta_custom_conversions, and the description immediately scopes what a custom conversion consists of (URL rule and/or event rule).

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 states when to pass url_contains, when to pass event, and that both can be combined ('that event fired on that page'). It names the prerequisite source (pixel_id from list_meta_pixels), explains confirm=false as preview, and mandates confirming name/rule with the user before confirm=true.

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.