Skip to main content
Glama

Sergio by Serviche

Meta Lead Ads connection

meta_leads_status
Idempotent

Answers whether Meta Lead Ads is connected natively, and once signed in, grant (the Facebook permissions granted, declined and missing, and the Page ids the person picked; no token): the connected Pages (needsReconnect true means Facebook refused that Page and its leads wait until it is connected again), connectUrl (the Connections page where your user presses Connect Meta and signs in with Facebook in their own browser; an agent cannot do that step), and, once signed in, connectablePages to pass to connect_facebook_page. Changes nothing. Pass an idempotency_key.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "meta_leads_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

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?

Substantial disclosure beyond annotations: no token is returned, connectUrl is a human-only OAuth step an agent cannot perform, needsReconnect true means Facebook refused that Page and its leads queue until reconnected. The only friction is 'Changes nothing,' which sits oddly against readOnlyHint=false, though the idempotency requirement and connectablePages handoff make a non-trivial state story plausible.

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

Conciseness3/5

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

The core answer is front-loaded, which is good, but the whole definition is a single sprawling sentence with three levels of nested parentheses that force the reader to parse clause-by-clause. The information earns its place; the structure does not.

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?

With no output schema, the description carries the burden of describing the return shape and does so field by field (grant, connected Pages, needsReconnect, connectUrl, connectablePages). For a single-parameter status tool this is close to complete; only the interaction with disconnect_facebook_leads and the reason for the idempotency key on a 'changes nothing' call are unaddressed.

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?

Only one parameter and the schema already documents it at 100% coverage, including the retry-reuse rule and the character pattern. The description merely says 'Pass an idempotency_key,' adding no semantics the schema lacks, so the high-coverage baseline of 3 applies.

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 opening clause names a specific question the tool answers ('whether Meta Lead Ads is connected natively') and enumerates the payload (grant, connected Pages, connectUrl, connectablePages), which is far beyond a restatement of the name. It also implicitly separates itself from connect_facebook_page by stating that its output feeds that tool. The run-on parenthetical packaging keeps it from being a clean 5.

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?

The description makes the workflow explicit: this reports state, the human must press Connect in their own browser because 'an agent cannot do that step', and connectablePages is then passed to connect_facebook_page. That is real routing guidance. It doesn't explicitly say when not to call it (e.g., whether it is safe to poll, or how it relates to disconnect_facebook_leads).

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