Skip to main content
Glama

Honeyfield Marketing MCP

LinkedIn Ads: Create lead form

linkedin_create_lead_form

Lead-Gen-Formular im LinkedIn-Werbekonto anlegen (für Kampagnen mit Ziel LEAD_GENERATION) und zurücklesen. Danach lead_form_id an linkedin_create_ad bzw. linkedin_create_ad_from_post übergeben.

name: interner Formularname. headline: Überschrift im Formular (max. 60 Zeichen). description: Angebotstext (optional, max. 160). questions: Liste, mindestens ein Eintrag; je Eintrag

  • ein vordefiniertes Feld (von LinkedIn aus dem Profil vorausgefüllt): "FIRST_NAME", "LAST_NAME", "EMAIL", "WORK_EMAIL", "PHONE_NUMBER", "WORK_PHONE_NUMBER", "COMPANY_NAME", "JOB_TITLE", "JOB_FUNCTION", "SENIORITY", "COMPANY_SIZE", "INDUSTRY", "CITY", "STATE", "COUNTRY", "ZIP_CODE", "LINKEDIN_PROFILE_LINK", "DEGREE", "FIELD_OF_STUDY", "SCHOOL", "START_DATE", "GRADUATION_DATE", "GENDER" — oder als Objekt {"field": "EMAIL", "required": false, "question": "eigener Fragetext"};

  • eine eigene Textfrage: {"question": "Ihr Anliegen?", "max_length": 300};

  • eine Auswahlfrage: {"question": "Teamgröße?", "options": ["1–10", "11–50"]} (2–15 Optionen). required ist überall Default true; name optional. Die Reihenfolge im Formular legt LinkedIn teils selbst fest (im Live-Test beobachtet: vordefinierte Felder umsortiert) — dann question_order_changed=true mit question_note; das ist kein Fehler. privacy_policy_url: Link zur Datenschutzerklärung des Kunden (Pflicht). locale: Sprache des Formulars, Default de_DE (en_US, de_AT …). Nicht-englische Formulare laufen nur in Kampagnen mit derselben Sprache. consents: zusätzliche Einwilligungs-Häkchen, z. B. ["Ich möchte den Newsletter erhalten."] oder [{"text": "…", "required": true}]. legal_disclaimer: eigener Rechtstext (optional, max. 2000). thank_you_message + landing_url: Danke-Seite nach dem Absenden mit Knopf „Website besuchen“ auf landing_url (Text max. 300; ohne Text ein Standard-Dank). hidden_fields: versteckte Werte für die Zuordnung (max. 20), z. B. {"kampagne": "Herbst-Aktion"} oder [{"name": …, "value": …}]. validate_only: True prüft nur lokal und liefert would_create.

Rückgabe: lead_form_id, adform_urn, state, review_status, questions, verified (Name, Eigentümer, Überschrift, Fragen, Datenschutz-Link, Einwilligungen und Danke-Seite zurückgelesen; Fragen je Name verglichen, unabhängig von der Reihenfolge; Abweichungen in not_applied, bei Fragen Details in question_issues; verified=null mit readback_failed, wenn nur das Zurücklesen scheiterte — dann nicht erneut anlegen, sondern mit linkedin_list_lead_forms prüfen), note, question_order_changed/question_note (nur Hinweis). ad_scope_missing=true mit ad_scope_note (auch bei validate_only): der LinkedIn-Verbindung fehlt das Recht für linkedin_create_ad (sonst error=missing_scope) — dem Nutzer das Neuverbinden aus ad_scope_note nennen oder linkedin_create_ad_from_post mit lead_form_id nehmen. Das Formular entsteht als Entwurf (state DRAFT). Ob LinkedIn es mit dem Aktivieren der Anzeige selbst veröffentlicht, ist nicht bestätigt — bleibt es DRAFT, im Campaign Manager veröffentlichen (note). Ändern geht über diesen MCP nicht, nur im Campaign Manager (vollständig nur, solange das Formular Entwurf ist oder nur an Anzeigen in Entwurfskampagnen hängt). Die eingegangenen Leads liefert dieser MCP nicht (bräuchte LinkedIns Lead-Sync-Freigabe); Anzahl der Leads: linkedin_campaign_performance. 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>",
      "headline": "<headline>",
      "questions": "<questions>",
      "privacy_policy_url": "<privacy_policy_url>"
    },
    "name": "linkedin_create_lead_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
localeNode_DE
consentsNo
headlineYes
questionsYes
workspaceNo
descriptionNo
landing_urlNo
hidden_fieldsNo
validate_onlyNo
legal_disclaimerNo
thank_you_messageNo
privacy_policy_urlYes

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?

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true), the description discloses that the form is created as DRAFT, that LinkedIn's self-publication on ad activation is unconfirmed, that question order may be reshuffled (question_order_changed is not an error), how the readback verification works (not_applied, question_issues, readback_failed), and how a missing ad scope surfaces as ad_scope_missing instead of error=missing_scope. The only gap is any note on rate limits or idempotency of repeated creation.

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 downstream hand-off are front-loaded, then parameters, then return values — a logical order with no filler sentences. It is dense and long, and the return-value paragraph partly duplicates what the output schema already conveys, but the length is largely earned by 13 undocumented parameters.

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 13-parameter, open-world creation tool with a 0%-documented schema, nothing material is missing: required vs optional fields, format constraints, draft state, verification semantics, scope failure handling, and non-editable follow-up are all covered. Return-value explanation is partly redundant given the output schema, but that is surplus rather than a gap.

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 does so: it documents all 13 parameters, including the enumerated predefined question fields, the three question shapes (string, custom text with max_length, choice with 2–15 options), required defaults, character limits for headline/description/thank_you_message/legal_disclaimer, the hidden_fields max of 20, locale behavior, and validate_only returning would_create. This is meaning well beyond the bare JSON 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?

The first sentence states a specific verb and resource ('Lead-Gen-Formular im LinkedIn-Werbekonto anlegen ... und zurücklesen') and scopes it to campaigns with objective LEAD_GENERATION, which distinguishes it from linkedin_list_lead_forms and the meta_* form tools. It even names the downstream siblings (linkedin_create_ad, linkedin_create_ad_from_post) that consume the returned lead_form_id.

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?

Explicit routing is provided on multiple branches: use it for LEAD_GENERATION campaigns, pass lead_form_id to linkedin_create_ad or linkedin_create_ad_from_post afterwards, do NOT retry creation when verified=null but check with linkedin_list_lead_forms instead, and get lead counts from linkedin_campaign_performance. It also states the exclusions: this MCP cannot edit forms (Campaign Manager only) and cannot deliver the collected leads.

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