Set the current working profile context. This profile will be used automatically for all subsequent campaign, keyword, and performance queries.
AI agents use set_current_profile to create or update resources in Amazon Ads MCP — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Amazon Ads MCP environment.
This tool writes/modifies application state (the current profile context) in a reversible manner. While it does not directly modify Amazon Ads campaign data, it changes configuration that subsequent operations depend on. The severity is medium because incorrect profile selection could cause queries and operations to target the wrong advertiser account, but the change is reversible (can set a different profile).
From the tool's definition Tool description states 'Set the current working profile context' and 'will be used automatically for all subsequent' operations. This modifies the active profile state that affects downstream operations.
Attacks that exploit this kind of access
Set the current working profile context. This profile will be used automatically for all subsequent campaign, keyword, and performance queries. It is categorised as a Write tool in the Amazon Ads MCP MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Amazon Ads MCP server in PolicyLayer and add a rule for set_current_profile: 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 Amazon Ads MCP. Nothing to install.
set_current_profile 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 set_current_profile 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 set_current_profile. 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.
set_current_profile is provided by the Amazon Ads MCP server (ppcprophet/amazon-ads-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
set_current_profile is one line of Amazon Ads's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →