This record as markdown: /tools/hermoso/set-product-image.md
What set_product_image does on Hermoso
AI agents use set_product_image to create or update resources in Hermoso, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hermoso environment.
Why set_product_image is rated Medium
This tool modifies ad content by setting/locking a product image within an advertisement. This is a reversible change (the image can be changed again) with no permanent deletion or data loss, fitting the Write category. Severity is medium because misuse could result in incorrect ad creatives being deployed, affecting campaign effectiveness and brand reputation, but the change can be undone.
From the tool's definition Tool description states 'Lock an image as the ad' which indicates modifying ad configuration by designating a specific image as part of the advertisement creative.
Attacks that exploit this kind of access
The rule that runs set_product_image safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hermoso, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For set_product_image, this is the rule to start with:
set_product_image 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 Hermoso, apply this rule, and every set_product_image call is checked against it from then on.
Questions about set_product_image
Lock an image as the ad. It is categorised as a Write tool in the Hermoso MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Hermoso MCP server in PolicyLayer and add a rule for set_product_image: 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 Hermoso. Nothing to install.
set_product_image 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_product_image 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_product_image. 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_product_image is provided by the Hermoso MCP server (https://app.hermoso.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hermoso, and thousands of servers like it.
This server
Across the catalogue