Skip to main content
Glama

Honeyfield Marketing MCP

LinkedIn Ads: Create conversion

linkedin_create_conversion

Conversion-Regel im LinkedIn-Werbekonto anlegen (Insight-Tag-Conversion) und zurücklesen. Bestehende Regeln vorher mit linkedin_list_conversions prüfen, um keine Dubletten anzulegen. conversion_type: z. B. LEAD, DOWNLOAD, SIGN_UP, PURCHASE, ADD_TO_CART, KEY_PAGE_VIEW, INSTALL, CONTACT, SUBMIT_APPLICATION, QUALIFIED_LEAD, OTHER. Zwei Arten:

  • Seitenaufruf-Regel: url_rules angeben, zählt, sobald der Insight Tag eine passende URL sieht. Format [[{"match_type": "CONTAINS", "value": "/danke"}], …] (äußere Liste ODER, innere UND) oder flach [{"match_type": …, "value": …}, …] (ODER). match_type: EXACT, STARTS_WITH, CONTAINS; value ohne https://.

  • Ereignis-Regel: url_rules weglassen. Zählt erst, wenn die Website lintrk('track', {conversion_id}) aufruft — die Rückgabe enthält event_snippet für einen GTM-Tag (nur mit Marketing-Consent auslösen). campaign_ids: diese Kampagnen zuordnen (müssen zum Werbekonto gehören, max. 20); nur zugeordnete Kampagnen zählen die Conversion. Alternativ auto_associate: ALL_CAMPAIGNS (bis 200 Kampagnen) oder OBJECTIVE_BASED (passend zum Kampagnenziel). post_click_window_days / view_through_window_days: 1, 7 oder 30 (Default 30/7; für manche Typen auch 90, 180, 365). value_amount: fester Wert je Conversion in Kontowährung (setzt value_type FIXED, wenn nicht anders angegeben); value_type: FIXED, DYNAMIC (Wert kommt mit dem Ereignis), NO_VALUE. attribution_type: LAST_TOUCH_BY_CAMPAIGN (Default, je Kampagne einmal) oder LAST_TOUCH_BY_CONVERSION (nur eine Kampagne bekommt die Conversion). validate_only: True prüft Eingaben und Kampagnen, zeigt would_create, legt nichts an. Rückgabe: conversion_id, method (url_rules | event), conversion (wie gespeichert, Format wie linkedin_list_conversions), verified (zurückgelesen; Abweichungen in not_applied, fehlende Zuordnungen in campaigns_missing), bei Ereignis-Regeln event_snippet. Löschen geht per API nicht; falsch angelegte Regeln im Campaign Manager deaktivieren. workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

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>",
      "conversion_type": "<conversion_type>"
    },
    "name": "linkedin_create_conversion"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
url_rulesNo
workspaceNo
value_typeNo
campaign_idsNo
value_amountNo
validate_onlyNo
auto_associateNo
conversion_typeYes
attribution_typeNoLAST_TOUCH_BY_CAMPAIGN
post_click_window_daysNo
view_through_window_daysNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds substantial context beyond that, including that deletion is not possible via API and misconfigured rules must be deactivated in Campaign Manager, plus the read-back verification with not_applied and campaigns_missing. It does not restate the annotation claims or contradict them.

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 with purpose and the pre-check instruction, then organized parameter-by-parameter so it is scannable despite its length. It is long, and the return-value paragraph partially duplicates what the output schema already provides, which is the only real waste.

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 mutation tool with branching modes, 12 undocumented parameters and non-reversible side effects, the description covers input formats, limits, defaults, dry-run behavior and post-write verification. Although an output schema exists, the added note about event_snippet and verification fields is directly relevant to agent follow-up steps.

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% with 12 parameters and no declared enums, so the description carries the full burden and does: it enumerates conversion_type values, specifies the url_rules nesting format with a concrete example, lists auto_associate options with campaign caps, gives allowed window values and defaults, and explains value_amount/value_type and attribution_type interactions.

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: create an Insight-Tag conversion rule in the LinkedIn ad account and read it back. It further distinguishes the two creation modes (page-view rule via url_rules vs. event rule), so an agent knows exactly which variant of the operation it is invoking.

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 instructs to check existing rules with linkedin_list_conversions first to avoid duplicates, names the alternative tool, and gives clear selection criteria between the two rule types (provide url_rules for URL rules, omit them for event rules). It also explains when to use validate_only as a dry run before committing.

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.

Resources