Skip to main content
These tools help you list, select, and check the status of your advertising accounts.
Analytics tools are read-only. Editing/updating campaigns/ads and ad-writing features are Coming Soon.

meta_accounts_list

List all accessible Meta ad accounts for the authenticated user.

Description

Returns all ad accounts you have access to, including their names, status, currency, and timezone. Use this when you first connect to see your available accounts.

Parameters

This tool takes no parameters.

Example Prompts

List my Meta ad accounts
Show me all my Facebook ad accounts
What ad accounts do I have access to?

Response

{
  "success": true,
  "total": 3,
  "accounts": [
    {
      "id": "act_123456789",
      "name": "My Business Account",
      "status": "ACTIVE",
      "currency": "USD",
      "timezone": "America/New_York"
    },
    {
      "id": "act_987654321",
      "name": "Client Account",
      "status": "ACTIVE",
      "currency": "EUR",
      "timezone": "Europe/London"
    }
  ]
}

Response Fields

FieldTypeDescription
totalnumberTotal number of accounts
accountsarrayList of account objects
accounts[].idstringAccount ID (format: act_XXXXX)
accounts[].namestringAccount display name
accounts[].statusstringAccount status (ACTIVE, DISABLED, etc.)
accounts[].currencystringAccount currency code
accounts[].timezonestringAccount timezone

meta_accounts_select

Select a Meta ad account to work with.

Description

Sets the active ad account for subsequent operations. You must select an account before using most other tools.

Parameters

ParameterTypeRequiredDescription
ad_account_idstringYesThe ad account ID to set as active (format: act_XXXXX)

Example Prompts

Select the account act_123456789
Use my "My Business Account" account
Switch to the Client Account

Response

{
  "success": true,
  "selected_account": {
    "id": "act_123456789",
    "name": "My Business Account",
    "currency": "USD",
    "timezone": "America/New_York"
  }
}

Response Fields

FieldTypeDescription
selected_account.idstringThe selected account ID
selected_account.namestringAccount display name
selected_account.currencystringAccount currency
selected_account.timezonestringAccount timezone
After selecting an account, all subsequent queries will use this account until you select a different one.

meta_context_get

Check which ad account is currently active.

Description

Returns information about the currently selected ad account. Use this to verify which account you’re working with.

Parameters

This tool takes no parameters.

Example Prompts

Which account am I using?
What's my current ad account?
Check my active account

Response (Account Selected)

{
  "success": true,
  "has_active_account": true,
  "active_account": {
    "id": "act_123456789",
    "name": "My Business Account",
    "currency": "USD",
    "timezone": "America/New_York",
    "selected_at": "2024-01-15T10:30:00Z"
  }
}

Response (No Account Selected)

{
  "success": true,
  "has_active_account": false
}

Response Fields

FieldTypeDescription
has_active_accountbooleanWhether an account is currently selected
active_accountobjectAccount details (only present if selected)
active_account.selected_atstringWhen this account was selected

meta_admin_diagnose_user

Diagnose a user’s Meta connection and account discovery.
Admin-only tool. Most users will never need this.

Description

This is intended for internal debugging/support. It never returns raw tokens.

Parameters

ParameterTypeRequiredDescription
auth_user_idstringNoSupabase auth user id to diagnose
emailstringNoEmail to diagnose

Example Prompts

Diagnose the Meta connection for user owner@example.com

Typical Workflow

Here’s a typical flow when starting a session:
1

List available accounts

List my Meta ad accounts
2

Select an account

Select the account "My Business Account"
3

Verify selection

Which account am I using?
4

Start querying

Show me my campaign performance
Your account selection persists across conversations. You only need to select an account once until you want to switch.