Skip to main content
Glama

Google Ads & Meta Ads

Meta: List Ad Accounts

meta_list_ad_accounts
Read-onlyIdempotent

List the Meta (Facebook/Instagram) ad accounts connected to this account, including which of them this user can actually change (as opposed to only read) and, when the connection allows it, which Business owns each one. To work in an account, pass its id or name as ad_account_id to any other tool — no dashboard change needed. Filter with name_contains when the list is long.

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": "meta_list_ad_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
name_containsNoOnly accounts whose name, id or Business name contains this text, ignoring case.

Output Schema

NameRequiredDescriptionDefault
adAccountsYesConnected Meta ad accounts.
allSwitchedOffYesTrue when every ad account this connection reaches is unticked, so nothing here can be read or changed until the user switches one back on.
switchedOffCountYesAd accounts this connection reaches that the user unticked on the connections page, so they are left out of the list entirely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real behavioral value beyond that: the result distinguishes accounts the user can modify from read-only ones, and Business ownership is only reported when the connection permits it — both are non-obvious conditional behaviors.

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?

Three sentences, each carrying distinct information: what it lists, what to do with the output, and how to narrow results. The purpose is front-loaded and there is no filler or restatement of the title.

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 single-parameter read-only listing tool with full annotation coverage and an output schema, the definition supplies everything an agent needs: scope, permission-flag meaning, the ownership caveat, and the handoff into other tools. Return-value detail is correctly left to the output schema.

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 one parameter at 100% schema coverage, the schema already defines case-insensitive matching across name, id, and Business name. The description adds the decision rule the schema lacks — apply name_contains specifically when the list is long — which is meaning beyond the field definition.

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?

States a specific verb and resource ('List the Meta (Facebook/Instagram) ad accounts connected to this account') and immediately scopes it to the Meta platform, which separates it from the gads_ and linkedin_ list siblings. It also names what the response includes (change vs. read permission, owning Business), so an agent knows exactly what it gets without opening the schema.

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 concrete downstream guidance: 'pass its id or name as ad_account_id to any other tool' plus the conditional 'Filter with name_contains when the list is long.' That is clear when-to-use context, though it does not explicitly exclude or compare against other list-all-accounts tools in the catalog.

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