Skip to main content
Glama

Honeyfield Marketing MCP

LinkedIn Ads: List leads

linkedin_list_leads
Read-only

Leads aus LinkedIn-Lead-Gen-Formularen (Anzeigen) des Werbekontos, neueste zuerst — personenbezogene Daten (Namen, E-Mail, Telefon, Firma, Antworten). Nur wenn im Portal für den Workspace „Lead-Daten freigeben“ (LinkedIn Ads) aktiv ist, sonst error=lead_data_disabled. Nicht speichern oder weitergeben, ohne dass der Nutzer es ausdrücklich verlangt. form_id: optional nur Leads dieses Formulars (id aus linkedin_list_lead_forms), sonst alle Formulare des Werbekontos. days: Eingang in den letzten N Tagen (1–90). limit: max. Leads (Default 100, max. 500); mehr gibt es → warning und Ergebnis in result. test_leads_only: True nur Test-Leads aus dem Campaign Manager; sonst alle, Test-Leads mit test_lead=true. Je Lead: id, submitted_at (UTC), form_id, form_version, form_name, campaign_id, campaign_name, creative_id, test_lead, answers (Feldname → Antwort, z. B. firstName, email, company, eigene Fragen; Auswahlfragen als Optionstext), consents (consent_id, accepted). Voraussetzungen: LinkedIn-Verbindung mit Lead-Leserecht (sonst error=missing_scope → im Portal neu verbinden); das verbundene Profil braucht eine Rolle im Werbekonto und auf der Unternehmensseite (Administrator, Lead-Gen-Formular-Manager, Curator, Content-Admin oder Analyst), sonst error=linkedin_permission_denied. Anzahl der Leads ohne personenbezogene Daten: linkedin_performance_report (leads). workspace: Slug des Kunden-Workspace (optional bei nur einem Workspace).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "linkedin_list_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
limitNo
form_idNo
workspaceNo
test_leads_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already say readOnly and openWorld, but the description adds substantial operational context: privacy handling, permission roles, reconnect flow for missing scope, specific error codes, over-limit warning behavior, and deterministic ordering.

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 definition is front-loaded and clearly structured around purpose, parameters, prerequisites, and errors. It is somewhat redundant in listing per-lead return fields even though an output schema exists, but that redundancy also reinforces the sensitive-data scope.

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 sensitive lead-data tool with external prerequisites and an available output schema, the description is complete enough to call safely. It covers access gates, permissions, errors, filtering behavior, data sensitivity, and result handling.

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?

With zero schema description coverage, the description carries the parameter burden and does so for all five parameters: form_id source and fallback, days range, limit default and maximum with warning behavior, test_leads_only semantics, and workspace optionality.

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 states a specific verb and resource: leads from LinkedIn lead-gen forms for the ad account, newest first, including personal data. It also distinguishes the tool from linkedin_list_lead_forms and linkedin_performance_report by explaining their different roles.

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?

It gives explicit preconditions, including that sharing lead data must be enabled in the workspace, and names error states when it is not. It also points to linkedin_list_lead_forms for form IDs and linkedin_performance_report for non-personal lead counts, with clear handling restrictions.

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