Skip to main content
Glama

meta_ads_lead_forms_create

Creates a Facebook lead form for a Page. Define ordered questions (standard or custom), set privacy policy URL, and optionally add a follow-up URL. Returns the new form ID.

Instructions

Creates a new lead form on a Facebook Page. Returns the new form_id. Mutating, reversible via rollback_apply (rollback archives the form rather than deleting submitted leads). Questions is an ordered list of standard Meta types (FULL_NAME, EMAIL, PHONE_NUMBER, COMPANY_NAME, JOB_TITLE, CITY, STATE, ZIP_CODE, COUNTRY, DATE_OF_BIRTH) or CUSTOM (requires key, label, and options for dropdowns). Meta requires a privacy_policy_url by policy.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNoMeta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required.
page_idYesFacebook Page ID that will own the form.
nameYesForm name shown in Ads Manager and Page Lead Center.
questionsYesOrdered question list. Standard-type questions only need `type`; CUSTOM questions require `key`, `label`, and (for dropdowns) `options`.
privacy_policy_urlYesHTTPS URL of the advertiser's privacy policy. Required by Meta policy — forms without one are rejected.
follow_up_action_urlNoOptional URL the user is redirected to after submission (e.g. thank-you page). Omit to show Meta's default confirmation only.
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool is 'Mutating, reversible via rollback_apply' and explains the rollback behavior (archives form, does not delete leads). It also mentions Meta's policy requirement for privacy_policy_url. This is good behavioral transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences long, front-loaded with purpose, and includes critical behavioral notes (mutability, reversibility, policy requirement). Every sentence contributes value with no wasted words.

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 no output schema, the description explains the return value (form_id). It covers mutation, reversibility, and policy constraints. For a create tool, it provides sufficient context for an agent to understand the action and side effects.

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 description coverage is 100%, so baseline is 3. The description adds context about question ordering and standard types, but the schema already describes each parameter thoroughly. The description does not add significant new meaning beyond summarizing key requirements.

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 clearly states 'Creates a new lead form on a Facebook Page' and notes the return of form_id. This is a specific verb+resource pairing that distinguishes it from sibling tools like meta_ads_lead_forms_get and meta_ads_lead_forms_list.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives. It lacks context about prerequisites, when not to use, or comparisons to other lead form tools (e.g., when to create vs. get vs. list).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/logly/mureo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server