Skip to main content
Glama
Meta Ads MCP

Meta Ads MCP

List ad accounts

list_ad_accounts

Retrieves the Meta ad accounts accessible with the resolved token, including Business Manager portfolio, currency, and timezone, and can target a specific client via client_id.

Instructions

Lists the Meta ad accounts accessible with the resolved token (a specific client's token if client_id is given, otherwise the default META_ACCESS_TOKEN), including which Business Manager portfolio each belongs to, its currency and timezone.

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

Input Schema

NameRequiredDescriptionDefault
client_idNoClient identifier from accounts.config.json. Omit to use the default META_ACCESS_TOKEN.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the important behavior: the tool is a read that enumerates accounts accessible to the resolved token, and token resolution differs based on client_id. It also reveals the shape of returned data (portfolio, currency, timezone). It does not address permission requirements, pagination, or empty results, which keeps it short of a 5.

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?

It is a single front-loaded sentence that identifies the resource first and then qualifies the token source, with no filler. The nested parenthetical makes it slightly dense to parse, but every clause contributes scope or return-value information.

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 one-optional-parameter read tool with no output schema, the description compensates by describing the return fields inline and explaining token resolution. What remains unstated, pagination or account-volume behavior and permission prerequisites, is minor but not zero for a token-scoped listing call.

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?

There is only one optional parameter, and its schema description already states the same thing (client identifier from accounts.config.json, omit to use the default token). The description restates this relationship without adding format, validation, or failure-mode detail, so the 100% schema coverage baseline of 3 applies.

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?

Names a specific verb and resource ('Lists the Meta ad accounts') and pins the scope to the token that resolves from client_id or the default META_ACCESS_TOKEN. It also states what is returned (Business Manager portfolio, currency, timezone), which is enough for an agent to distinguish this listing tool from the campaign/adset/insight siblings without opening any schema.

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?

Usage is only implied: the parenthetical tells the agent that supplying client_id switches to a client's token and omitting it falls back to META_ACCESS_TOKEN, which effectively hints at when to pass the parameter. There is no explicit statement of when to call this tool versus doing something else, nor any prerequisites such as scope or permission needs.

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