Skip to main content
Glama
ghl-mcp-server-v2

ghl-mcp-server-v2

by zackscriven

ghl_ad_li_lead_form_create

Create a new LinkedIn lead generation form for an ad account, including questions, headline, legal consent, and post-submission details.

Instructions

Create lead form Create a new LinkedIn lead gen form for an ad account. Deprecated: use POST /ad-publishing/linkedin/accounts/{accountId}/form with header version: v4. Endpoint: POST /ad-publishing/linkedin/{accountId}/form (Version header: v3; source: v3/ad-publishing-v3.json) OAuth scopes: adPublishing.write

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": {
      "locationId": "<locationId>",
      "accountId": "<accountId>",
      "body": "<body>"
    },
    "name": "ghl_ad_li_lead_form_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
accountIdYesAccount identifier
locationIdYesLocation identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.1.0
    • changedInput schema / properties / accountId / description
      Previous value: -"Path parameter (inferred from the URL template; the official spec omits its declaration)."New value: +"Account identifier"
    • addedInput schema / properties / accountId / example
      Added value: +"12345678"
    • changedInput schema / properties / body / properties / content / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "description": {
      -        "allOf": [
      -          {
      -            "properties": {
      -              "localized": {
      -                "description": "Locale-keyed string map",
      -                "example": {
      -                  "en_US": "Hello"
      -                },
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "localized"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "Form description",
      -        "example": {
      -          "localized": {
      -            "en_US": "Fill out this quick form"
      -          }
      -        }
      -      },
      -      "headline": {
      -        "allOf": [
      -          {
      -            "properties": {
      -              "localized": {
      -                "description": "Locale-keyed string map",
      -                "example": {
      -                  "en_US": "Hello"
      -                },
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "localized"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "Form headline",
      -        "example": {
      -          "localized": {
      -            "en_US": "Get in touch"
      -          }
      -        }
      -      },
      -      "legalInfo": {
      -        "allOf": [
      -          {
      -            "properties": {
      -              "consents": {
      -                "description": "Consent entries",
      -                "example": [
      -                  {
      -                    "checkRequired": true,
      -                    "consent": {
      -                      "localized": {
      -                        "en_US": "I agree to terms"
      -                      }
      -                    },
      -                    "id": 1
      -                  }
      -                ],
      -                "items": {
      -                  "properties": {
      -                    "checkRequired": {
      -                      "description": "Whether consent checkbox is required",
      -                      "example": true,
      -                      "type": "boolean"
      -                    },
      -                    "consent": {
      -                      "allOf": [
      -                        {
      -                          "properties": {
      -                            "localized": {
      -                              "description": "Locale-keyed string map",
      -                              "example": {
      -                                "en_US": "Hello"
      -                              },
      -                              "type": "object"
      -                            }
      -                          },
      -                          "required": [
      -                            "localized"
      -                          ],
      -                          "type": "object"
      -                        }
      -                      ],
      -                      "description": "Consent text",
      -                      "example": {
      -                        "localized": {
      -                          "en_US": "I agree to receive marketing communications"
      -                        }
      -                      }
      -                    },
      -                    "id": {
      -                      "description": "Consent identifier",
      -                      "example": 1,
      -                      "type": "number"
      -                    }
      -                  },
      -                  "required": [
      -                    "checkRequired",
      -                    "id",
      -                    "consent"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "legalDisclaimer": {
      -                "allOf": [
      -                  {
      -                    "properties": {
      -                      "localized": {
      -                        "description": "Locale-keyed string map",
      -                        "example": {
      -                          "en_US": "Hello"
      -                        },
      -                        "type": "object"
      -                      }
      -                    },
      -                    "required": [
      -                      "localized"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ],
      -                "description": "Legal disclaimer text",
      -                "example": {
      -                  "localized": {
      -                    "en_US": "By submitting, you accept our Privacy Policy"
      -                  }
      -                }
      -              },
      -              "privacyPolicyUrl": {
      -                "description": "Privacy policy URL",
      -                "example": "https://example.com/privacy",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "consents",
      -              "privacyPolicyUrl"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "Legal information",
      -        "example": {
      -          "consents": [
      -            {
      -              "checkRequired": true,
      -              "consent": {
      -                "localized": {
      -                  "en_US": "I agree"
      -                }
      -              },
      -              "id": 1
      -            }
      -          ],
      -          "privacyPolicyUrl": "https://example.com/privacy"
      -        }
      -      },
      -      "postSubmissionInfo": {
      -        "allOf": [
      -          {
      -            "properties": {
      -              "callToAction": {
      -                "allOf": [
      -                  {
      -                    "properties": {
      -                      "callToActionLabel": {
      -                        "description": "Call to action label",
      -                        "enum": [
      -                          "VISIT_COMPANY_WEBSITE",
      -                          "DOWNLOAD_NOW",
      -                          "TRY_NOW",
      -                          "VIEW_NOW",
      -                          "LEARN_MORE"
      -                        ],
      -                        "example": "LEARN_MORE",
      -                        "type": "string"
      -                      },
      -                      "callToActionTarget": {
      -                        "allOf": [
      -                          {
      -                            "properties": {
      -                              "landingPageUrl": {
      -                                "description": "Landing page URL",
      -                                "example": "https://example.com/thank-you",
      -                                "type": "string"
      -                              }
      -                            },
      -                            "required": [
      -                              "landingPageUrl"
      -                            ],
      -                            "type": "object"
      -                          }
      -                        ],
      -                        "description": "Call to action target",
      -                        "example": {
      -                          "landingPageUrl": "https://example.com/thank-you"
      -                        }
      -                      }
      -                    },
      -                    "required": [
      -                      "callToActionTarget",
      -                      "callToActionLabel"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ],
      -                "description": "Post-submission call to action",
      -                "example": {
      -                  "callToActionLabel": "LEARN_MORE",
      -                  "callToActionTarget": {
      -                    "landingPageUrl": "https://example.com/thank-you"
      -                  }
      -                }
      -              },
      -              "message": {
      -                "allOf": [
      -                  {
      -                    "properties": {
      -                      "localized": {
      -                        "description": "Locale-keyed string map",
      -                        "example": {
      -                          "en_US": "Hello"
      -                        },
      -                        "type": "object"
      -                      }
      -                    },
      -                    "required": [
      -                      "localized"
      -                    ],
      -                    "type": "object"
      -                  }
      -                ],
      -                "description": "Thank-you message",
      -                "example": {
      -                  "localized": {
      -                    "en_US": "Thank you!"
      -                  }
      -                }
      -              }
      -            },
      -            "required": [
      -              "message",
      -              "callToAction"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "Post-submission info",
      -        "example": {
      -          "callToAction": {
      -            "callToActionLabel": "LEARN_MORE",
      -            "callToActionTarget": {
      -              "landingPageUrl": "https://example.com/thank-you"
      -            }
      -          },
      -          "message": {
      -            "localized": {
      -              "en_US": "Thank you!"
      -            }
      -          }
      -        }
      -      },
      -      "questions": {
      -        "description": "Form questions",
      -        "example": [
      -          {
      -            "name": "firstName",
      -            "question": {
      -              "localized": {
      -                "en_US": "First name"
      -              }
      -            },
      -            "questionDetails": {
      -              "textQuestionDetails": {}
      -            }
      -          }
      -        ],
      -        "items": {
      -          "properties": {
      -            "name": {
      -              "description": "Question field name",
      -              "example": "firstName",
      -              "type": "string"
      -            },
      -            "predefinedField": {
      -              "description": "Predefined field identifier",
      -              "example": "FIRST_NAME",
      -              "type": "string"
      -            },
      -            "question": {
      -              "allOf": [
      -                {
      -                  "properties": {
      -                    "localized": {
      -                      "description": "Locale-keyed string map",
      -                      "example": {
      -                        "en_US": "Hello"
      -                      },
      -                      "type": "object"
      -                    }
      -                  },
      -                  "required": [
      -                    "localized"
      -                  ],
      -                  "type": "object"
      -                }
      -              ],
      -              "description": "Question text",
      -              "example": {
      -                "localized": {
      -                  "en_US": "What is your first name?"
      -                }
      -              }
      -            },
      -            "questionDetails": {
      -              "allOf": [
      -                {
      -                  "properties": {
      -                    "multipleChoiceQuestionDetails": {
      -                      "allOf": [
      -                        {
      -                          "properties": {
      -                            "options": {
      -                              "description": "Choice options",
      -                              "example": [
      -                                {
      -                                  "id": 1,
      -                                  "text": {
      -                                    "localized": {
      -                                      "en_US": "Yes"
      -                                    }
      -                                  }
      -                                }
      -                              ],
      -                              "items": {
      -                                "properties": {
      -                                  "id": {
      -                                    "description": "Option ID",
      -                                    "example": 1,
      -                                    "type": "number"
      -                                  },
      -                                  "text": {
      -                                    "allOf": [
      -                                      {
      -                                        "properties": {
      -                                          "localized": {
      -                                            "description": "Locale-keyed string map",
      -                                            "example": {
      -                                              "en_US": "Hello"
      -                                            },
      -                                            "type": "object"
      -                                          }
      -                                        },
      -                                        "required": [
      -                                          "localized"
      -                                        ],
      -                                        "type": "object"
      -                                      }
      -                                    ],
      -                                    "description": "Option text",
      -                                    "example": {
      -                                      "localized": {
      -                                        "en_US": "Yes"
      -                                      }
      -                                    }
      -                                  }
      -                                },
      -                                "required": [
      -                                  "id",
      -                                  "text"
      -                                ],
      -                                "type": "object"
      -                              },
      -                              "type": "array"
      -                            }
      -                          },
      -                          "required": [
      -                            "options"
      -                          ],
      -                          "type": "object"
      -                        }
      -                      ],
      -                      "description": "Multiple choice question details",
      -                      "example": {
      -                        "options": [
      -                          {
      -                            "id": 1,
      -                            "text": {
      -                              "localized": {
      -                                "en_US": "Yes"
      -                              }
      -                            }
      -                          }
      -                        ]
      -                      }
      -                    },
      -                    "textQuestionDetails": {
      -                      "description": "Text question details (empty object for text questions)",
      -                      "example": {},
      -                      "type": "object"
      -                    }
      -                  },
      -                  "type": "object"
      -                }
      -              ],
      -              "description": "Question type details",
      -              "example": {
      -                "textQuestionDetails": {}
      -              }
      -            }
      -          },
      -          "required": [
      -            "question",
      -            "name",
      -            "questionDetails"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "questions",
      -      "headline",
      -      "postSubmissionInfo",
      -      "legalInfo"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "description": {
      +        "allOf": [
      +          {
      +            "properties": {
      +              "localized": {
      +                "description": "Locale-keyed string map",
      +                "example": {
      +                  "en_US": "Hello"
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "localized"
      +            ],
      +            "title": "LocalizedStringDTO",
      +            "type": "object"
      +          }
      +        ],
      +        "description": "Form description",
      +        "example": {
      +          "localized": {
      +            "en_US": "Fill out this quick form"
      +          }
      +        }
      +      },
      +      "headline": {
      +        "allOf": [
      +          {
      +            "properties": {
      +              "localized": {
      +                "description": "Locale-keyed string map",
      +                "example": {
      +                  "en_US": "Hello"
      +                },
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "localized"
      +            ],
      +            "title": "LocalizedStringDTO",
      +            "type": "object"
      +          }
      +        ],
      +        "description": "Form headline",
      +        "example": {
      +          "localized": {
      +            "en_US": "Get in touch"
      +          }
      +        }
      +      },
      +      "legalInfo": {
      +        "allOf": [
      +          {
      +            "properties": {
      +              "consents": {
      +                "description": "Consent entries",
      +                "example": [
      +                  {
      +                    "checkRequired": true,
      +                    "consent": {
      +                      "localized": {
      +                        "en_US": "I agree to terms"
      +                      }
      +                    },
      +                    "id": 1
      +                  }
      +                ],
      +                "items": {
      +                  "properties": {
      +                    "checkRequired": {
      +                      "description": "Whether consent checkbox is required",
      +                      "example": true,
      +                      "type": "boolean"
      +                    },
      +                    "consent": {
      +                      "allOf": [
      +                        {
      +                          "properties": {
      +                            "localized": {
      +                              "description": "Locale-keyed string map",
      +                              "example": {
      +                                "en_US": "Hello"
      +                              },
      +                              "type": "object"
      +                            }
      +                          },
      +                          "required": [
      +                            "localized"
      +                          ],
      +                          "title": "LocalizedStringDTO",
      +                          "type": "object"
      +                        }
      +                      ],
      +                      "description": "Consent text",
      +                      "example": {
      +                        "localized": {
      +                          "en_US": "I agree to receive marketing communications"
      +                        }
      +                      }
      +                    },
      +                    "id": {
      +                      "description": "Consent identifier",
      +                      "example": 1,
      +                      "type": "number"
      +                    }
      +                  },
      +                  "required": [
      +                    "checkRequired",
      +                    "id",
      +                    "consent"
      +                  ],
      +                  "title": "ConsentDTO",
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "legalDisclaimer": {
      +                "allOf": [
      +                  {
      +                    "properties": {
      +                      "localized": {
      +                        "description": "Locale-keyed string map",
      +                        "example": {
      +                          "en_US": "Hello"
      +                        },
      +                        "type": "object"
      +                      }
      +                    },
      +                    "required": [
      +                      "localized"
      +                    ],
      +                    "title": "LocalizedStringDTO",
      +                    "type": "object"
      +                  }
      +                ],
      +                "description": "Legal disclaimer text",
      +                "example": {
      +                  "localized": {
      +                    "en_US": "By submitting, you accept our Privacy Policy"
      +                  }
      +                }
      +              },
      +              "privacyPolicyUrl": {
      +                "description": "Privacy policy URL",
      +                "example": "https://example.com/privacy",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "consents",
      +              "privacyPolicyUrl"
      +            ],
      +            "title": "LegalInfoDTO",
      +            "type": "object"
      +          }
      +        ],
      +        "description": "Legal information",
      +        "example": {
      +          "consents": [
      +            {
      +              "checkRequired": true,
      +              "consent": {
      +                "localized": {
      +                  "en_US": "I agree"
      +                }
      +              },
      +              "id": 1
      +            }
      +          ],
      +          "privacyPolicyUrl": "https://example.com/privacy"
      +        }
      +      },
      +      "postSubmissionInfo": {
      +        "allOf": [
      +          {
      +            "properties": {
      +              "callToAction": {
      +                "allOf": [
      +                  {
      +                    "properties": {
      +                      "callToActionLabel": {
      +                        "description": "Call to action label",
      +                        "enum": [
      +                          "VISIT_COMPANY_WEBSITE",
      +                          "DOWNLOAD_NOW",
      +                          "TRY_NOW",
      +                          "VIEW_NOW",
      +                          "LEARN_MORE"
      +                        ],
      +                        "example": "LEARN_MORE",
      +                        "type": "string"
      +                      },
      +                      "callToActionTarget": {
      +                        "allOf": [
      +                          {
      +                            "properties": {
      +                              "landingPageUrl": {
      +                                "description": "Landing page URL",
      +                                "example": "https://example.com/thank-you",
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "landingPageUrl"
      +                            ],
      +                            "title": "PostSubmissionCallToActionTargetDTO",
      +                            "type": "object"
      +                          }
      +                        ],
      +                        "description": "Call to action target",
      +                        "example": {
      +                          "landingPageUrl": "https://example.com/thank-you"
      +                        }
      +                      }
      +                    },
      +                    "required": [
      +                      "callToActionTarget",
      +                      "callToActionLabel"
      +                    ],
      +                    "title": "PostSubmissionCallToActionDTO",
      +                    "type": "object"
      +                  }
      +                ],
      +                "description": "Post-submission call to action",
      +                "example": {
      +                  "callToActionLabel": "LEARN_MORE",
      +                  "callToActionTarget": {
      +                    "landingPageUrl": "https://example.com/thank-you"
      +                  }
      +                }
      +              },
      +              "message": {
      +                "allOf": [
      +                  {
      +                    "properties": {
      +                      "localized": {
      +                        "description": "Locale-keyed string map",
      +                        "example": {
      +                          "en_US": "Hello"
      +                        },
      +                        "type": "object"
      +                      }
      +                    },
      +                    "required": [
      +                      "localized"
      +                    ],
      +                    "title": "LocalizedStringDTO",
      +                    "type": "object"
      +                  }
      +                ],
      +                "description": "Thank-you message",
      +                "example": {
      +                  "localized": {
      +                    "en_US": "Thank you!"
      +                  }
      +                }
      +              }
      +            },
      +            "required": [
      +              "message",
      +              "callToAction"
      +            ],
      +            "title": "PostSubmissionInfoDTO",
      +            "type": "object"
      +          }
      +        ],
      +        "description": "Post-submission info",
      +        "example": {
      +          "callToAction": {
      +            "callToActionLabel": "LEARN_MORE",
      +            "callToActionTarget": {
      +              "landingPageUrl": "https://example.com/thank-you"
      +            }
      +          },
      +          "message": {
      +            "localized": {
      +              "en_US": "Thank you!"
      +            }
      +          }
      +        }
      +      },
      +      "questions": {
      +        "description": "Form questions",
      +        "example": [
      +          {
      +            "name": "firstName",
      +            "question": {
      +              "localized": {
      +                "en_US": "First name"
      +              }
      +            },
      +            "questionDetails": {
      +              "textQuestionDetails": {}
      +            }
      +          }
      +        ],
      +        "items": {
      +          "properties": {
      +            "name": {
      +              "description": "Question field name",
      +              "example": "firstName",
      +              "type": "string"
      +            },
      +            "predefinedField": {
      +              "description": "Predefined field identifier",
      +              "example": "FIRST_NAME",
      +              "type": "string"
      +            },
      +            "question": {
      +              "allOf": [
      +                {
      +                  "properties": {
      +                    "localized": {
      +                      "description": "Locale-keyed string map",
      +                      "example": {
      +                        "en_US": "Hello"
      +                      },
      +                      "type": "object"
      +                    }
      +                  },
      +                  "required": [
      +                    "localized"
      +                  ],
      +                  "title": "LocalizedStringDTO",
      +                  "type": "object"
      +                }
      +              ],
      +              "description": "Question text",
      +              "example": {
      +                "localized": {
      +                  "en_US": "What is your first name?"
      +                }
      +              }
      +            },
      +            "questionDetails": {
      +              "allOf": [
      +                {
      +                  "properties": {
      +                    "multipleChoiceQuestionDetails": {
      +                      "allOf": [
      +                        {
      +                          "properties": {
      +                            "options": {
      +                              "description": "Choice options",
      +                              "example": [
      +                                {
      +                                  "id": 1,
      +                                  "text": {
      +                                    "localized": {
      +                                      "en_US": "Yes"
      +                                    }
      +                                  }
      +                                }
      +                              ],
      +                              "items": {
      +                                "properties": {
      +                                  "id": {
      +                                    "description": "Option ID",
      +                                    "example": 1,
      +                                    "type": "number"
      +                                  },
      +                                  "text": {
      +                                    "allOf": [
      +                                      {
      +                                        "properties": {
      +                                          "localized": {
      +                                            "description": "Locale-keyed string map",
      +                                            "example": {
      +                                              "en_US": "Hello"
      +                                            },
      +                                            "type": "object"
      +                                          }
      +                                        },
      +                                        "required": [
      +                                          "localized"
      +                                        ],
      +                                        "title": "LocalizedStringDTO",
      +                                        "type": "object"
      +                                      }
      +                                    ],
      +                                    "description": "Option text",
      +                                    "example": {
      +                                      "localized": {
      +                                        "en_US": "Yes"
      +                                      }
      +                                    }
      +                                  }
      +                                },
      +                                "required": [
      +                                  "id",
      +                                  "text"
      +                                ],
      +                                "title": "MultipleChoiceOptionDTO",
      +                                "type": "object"
      +                              },
      +                              "type": "array"
      +                            }
      +                          },
      +                          "required": [
      +                            "options"
      +                          ],
      +                          "title": "MultipleChoiceQuestionDetailsDTO",
      +                          "type": "object"
      +                        }
      +                      ],
      +                      "description": "Multiple choice question details",
      +                      "example": {
      +                        "options": [
      +                          {
      +                            "id": 1,
      +                            "text": {
      +                              "localized": {
      +                                "en_US": "Yes"
      +                              }
      +                            }
      +                          }
      +                        ]
      +                      }
      +                    },
      +                    "textQuestionDetails": {
      +                      "description": "Text question details (empty object for text questions)",
      +                      "example": {},
      +                      "type": "object"
      +                    }
      +                  },
      +                  "title": "QuestionDetailsDTO",
      +                  "type": "object"
      +                }
      +              ],
      +              "description": "Question type details",
      +              "example": {
      +                "textQuestionDetails": {}
      +              }
      +            }
      +          },
      +          "required": [
      +            "question",
      +            "name",
      +            "questionDetails"
      +          ],
      +          "title": "LeadFormQuestionDTO",
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "questions",
      +      "headline",
      +      "postSubmissionInfo",
      +      "legalInfo"
      +    ],
      +    "title": "LeadFormContentDTO",
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / body / properties / content / example / questions
      Previous value: -[]New value: +[
      +  {
      +    "label": "Last name",
      +    "name": "lastName",
      +    "predefinedField": "LAST_NAME",
      +    "responseRequired": true
      +  }
      +]
    • changedInput schema / properties / body / properties / creationLocale / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "country": {
      -        "description": "Country code",
      -        "example": "US",
      -        "type": "string"
      -      },
      -      "language": {
      -        "description": "Language code",
      -        "example": "en",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "country",
      -      "language"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "country": {
      +        "description": "Country code",
      +        "example": "US",
      +        "type": "string"
      +      },
      +      "language": {
      +        "description": "Language code",
      +        "example": "en",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "country",
      +      "language"
      +    ],
      +    "title": "CreationLocaleDTO",
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / body / properties / hiddenFields / items / title
      Added value: +"HiddenFieldDTO"
    • changedInput schema / properties / body / properties / owner / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "sponsoredAccount": {
      -        "description": "Sponsored account URN",
      -        "example": "urn:li:sponsoredAccount:123456",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "sponsoredAccount"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "sponsoredAccount": {
      +        "description": "Sponsored account URN",
      +        "example": "urn:li:sponsoredAccount:123456",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "sponsoredAccount"
      +    ],
      +    "title": "SponsoredAccountOwnerDTO",
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / body / title
      Added value: +"LinkedInCreateLeadFormBodyDTO"
    • removedInput schema / properties / isDraft
      Removed value: -{
      -  "description": "Is draft",
      -  "example": true,
      -  "type": "boolean"
      -}
  2. First observedv2.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already disclose readOnly=false, openWorld=true, idempotent=false, and destructive=false. The description adds useful context beyond annotations: the deprecated v3 endpoint, version header requirement, and OAuth scope adPublishing.write.

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?

The purpose is front-loaded and the text is compact, with endpoint, version, and OAuth scope efficiently presented. There is minor redundancy between the first line and the full sentence, and source-file metadata is not essential.

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

Completeness4/5

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

Given the complex nested body and no output schema, the description supplies endpoint, version, auth scope, and deprecation context. It does not describe the response, but the schema carries the detailed request structure and annotations already cover the mutation profile.

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 the schema already documents locationId, accountId, and the nested body. The description adds no additional parameter meaning beyond saying it applies to an ad account, so the baseline of 3 is appropriate.

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 gives a specific verb and resource: "Create a new LinkedIn lead gen form for an ad account." It is clearly distinct from the sibling list operation and names the LinkedIn ad-account context directly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides an important usage constraint via the deprecation note and points to a v4 endpoint alternative. It does not explicitly compare against sibling MCP tools, but the create-vs-list distinction is implied by the purpose statement.

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

Deploy Server

Other Tools