MCP tools

List my ad accounts

Real list of ad accounts the current user can access (one per brand).

Tool name: list-my-ad-accounts.

Real list of ad accounts the current user can access (one per brand). Use this WHENEVER you need to know which ad account to act on and the user has not explicitly named one, typically when on the 'all accounts' dashboard view, or when the user mentions an account name you cannot match. NEVER invent account names; always call this first and then ask the user to choose from the real options it returns. Read-only. Output is keyed by brandId; connected: false means the brand has no ad account attached.

When to use

Call before any per-account work when account scope is unknown. Its rows are the options to offer the user when in isAllAccountsView mode. Do not hallucinate accounts, only use names returned by this tool.

Access

PropertyValue
Required scoperead
PublishesNo
Read-onlyYes
DestructiveNo
IdempotentYes
Open worldNo

Input

FieldTypeRequiredDescription
cursorstringNoOpaque cursor from the previous page's nextCursor. Omit for the first page.
limitintegerNoRows per page, 1-100. Defaults to 50 when paging. Minimum 1, maximum 100.

Output

FieldTypeRequiredDescription
accountsobject[]Yes
nextCursorstring | nullYesPass as cursor to read the next page. Null when there is no next page.

REST equivalent

GET /v1/brands, List my ad accounts. CLI: koast list-my-ad-accounts.

On this page