tiktok_ads_switch_ad_account
Switch to a different advertiser account, DO NOT try to switch advertiser account automatically, only if user ask to switch
This record as markdown: /tools/adsmcp-tiktok-ads-mcp-server/tiktok-ads-switch-ad-account.md
What tiktok_ads_switch_ad_account does on TikTok Ads MCP Server
AI agents use tiktok_ads_switch_ad_account to create or update resources in TikTok Ads MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your TikTok Ads MCP Server environment.
Why tiktok_ads_switch_ad_account is rated Medium
This tool changes application state (the active advertiser account) in a reversible manner. While it does not create, delete, or modify ad campaigns directly, it updates the session/context state to point to a different account. This is a Write operation because it modifies application state.
From the tool's definition Tool description states it 'switch[es] to a different advertiser account'. Switching accounts changes the active context for subsequent operations, modifying the state of the user's session and which ad account will receive subsequent commands.
Attacks that exploit this kind of access
The rule that runs tiktok_ads_switch_ad_account safely
PolicyLayer is an MCP gateway: it sits between your AI agents and TikTok Ads MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For tiktok_ads_switch_ad_account, this is the rule to start with:
tiktok_ads_switch_ad_account stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect TikTok Ads MCP Server, apply this rule, and every tiktok_ads_switch_ad_account call is checked against it from then on.
Questions about tiktok_ads_switch_ad_account
Switch to a different advertiser account, DO NOT try to switch advertiser account automatically, only if user ask to switch. It is categorised as a Write tool in the TikTok Ads MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the TikTok Ads MCP Server MCP server in PolicyLayer and add a rule for tiktok_ads_switch_ad_account: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches TikTok Ads MCP Server. Nothing to install.
tiktok_ads_switch_ad_account is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the tiktok_ads_switch_ad_account rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for tiktok_ads_switch_ad_account. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
tiktok_ads_switch_ad_account is provided by the TikTok Ads MCP Server MCP server (adsmcp/tiktok-ads-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on TikTok Ads MCP Server, and thousands of servers like it.
This server
Across the catalogue