Skip to main content
Glama

Get Meta lead forms

get_lead_forms
Read-onlyIdempotent

Read form metadata, never leads, for exactly one connected Facebook Page in the site's organization. Supply page_id or account and ad_id to resolve creative.pageId. No fallback to an ads connection. Up to three cursor pages of 100 forms; complete is false on truncation or read failure.

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>"
    },
    "name": "get_lead_forms"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNo
accountNo
page_idNo
site_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, and non-open-world behavior, while the description adds important operational constraints: exactly one Page, no ads-connection fallback, a three-page/100-form limit, and a complete flag set false on truncation or read failure. These details materially help an agent anticipate behavior beyond the annotations. It does not discuss permissions or authentication requirements.

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 dense sentences with no filler, and the core read scope is front-loaded. Each sentence adds operational information about scope, resolution, fallback, or limits.

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?

For a moderate-complexity read tool with annotations and no output schema, the description covers the key invocation constraints and truncation behavior. It leaves some gaps around full parameter semantics and the shape of returned form metadata, but provides enough to call the tool correctly.

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 0%, so the description must carry the semantic burden. It explains the roles of page_id, account, and ad_id in resolving creative.pageId, and implies site_id scopes the site's organization. The phrase "page_id or account and ad_id" is somewhat ambiguous, and site_id is not explicitly described.

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?

The description states a specific verb and resource: "Read form metadata, never leads." It also scopes the operation to exactly one connected Facebook Page, which is more precise than the tool name alone. It does not explicitly distinguish itself from the sibling get_lead_form, so it is clear but not fully sibling-differentiated.

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

Usage Guidelines3/5

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

It gives conditional guidance for resolving the Page via page_id or account and ad_id, and rules out fallback to an ads connection. However, it does not explicitly say when to use this tool versus get_lead_form or other Page-related tools. Usage is implied rather than fully specified.

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