Skip to main content
Glama

Get Meta lead form details

get_lead_form
Read-onlyIdempotent

Read Meta form metadata and copy_check with supported create-field mappings and non-copyable settings. Supply form_id plus page_id or account and ad_id. Uses only the exact connected Facebook Page of the site's organization. Never reads leads or test leads, creates forms or approves changes.

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": {
      "site_id": "<site_id>",
      "form_id": "<form_id>"
    },
    "name": "get_lead_form"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNo
accountNo
form_idYes
page_idNo
site_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly=true, idempotent=true, openWorld=false, so the safety profile is covered. The description adds real value beyond them: the Page-scoping constraint (exact connected Page only) and the explicit non-operations (does not read leads or test leads, does not create or approve). What it leaves unexplained is what 'copy_check' actually reports and its failure modes.

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?

Three short sentences, front-loaded with the action, then the input rule, then the scope/safety limits. No filler. The second sentence's 'copy_check with supported create-field mappings and non-copyable settings' is dense and packs jargon without a definition, which costs a bit of clarity.

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

Completeness3/5

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

There is no output schema, so the description is the only place an agent can learn what comes back; it names 'metadata' and 'copy_check' without saying what the copy check contains or how non-copyable settings are flagged. For a read-only single-object fetch with annotations covering safety, the operational essentials are present, but the return-value picture stays vague.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description must carry the load, and it does the most important part: it explains that form_id combines with either page_id or account+ad_id — an either/or relationship the schema itself cannot express, since it only lists them as optional properties. site_id's role is implied by 'the site's organization' Page. ad_id and account remain explained only by their regex patterns.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Read Meta form metadata and copy_check' — a single-form metadata read with copy-field mapping info. It implicitly separates itself from sibling get_lead_forms (plural) and propose_lead_form through the explicit 'never creates forms' clause, though it does not name those siblings. The term 'copy_check' is domain jargon an agent may not resolve from the description alone.

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?

Gives a concrete usage condition — 'Supply form_id plus page_id or account and ad_id' — and a hard prerequisite: the tool uses only the exact connected Facebook Page of the site's organization. It also carves out exclusions (no leads, no test leads, no form creation, no approvals). It stops short of naming the alternative tool to use for those excluded operations.

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