Critical Risk →

flow_generate_image

⚠️ CES IMAGES CONSOMMENT DES CRÉDITS. Par défaut (auto_confirm=false): remplit le prompt, sélectionne le modèle/ratio, prend un screenshot et retourne

How to control flow_generate_image ↓

What flow_generate_image does on Google Flow Browser MCP

AI agents use flow_generate_image to commit financial operations through Google Flow Browser MCP — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Critical Risk

Why flow_generate_image needs a policy

The tool explicitly states it consumes credits when generating images, making each invocation a financial commitment. Misuse by an AI agent could rapidly deplete a user's credit balance, placing this firmly in the Financial category with high severity.

From the tool's definition CES IMAGES CONSOMMENT DES CRÉDITS — 'these images consume credits', indicating financial cost per use

Documented attack patterns abuse exactly the kind of access flow_generate_image gives an agent:

How to control flow_generate_image

PolicyLayer is an MCP gateway — it sits between your AI agents and Google Flow Browser MCP, and nothing reaches the server without passing your rules. This is the rule we recommend for flow_generate_image:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "flow_generate_image": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}

Any call to flow_generate_image is blocked until a human approves it. The rest of the server keeps working.

  1. Create a free account and register Google Flow Browser MCP — nothing to install.
  2. Add this policy — paste it, or build it visually.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
GATE THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about flow_generate_image

What does the flow_generate_image tool do? +

⚠️ CES IMAGES CONSOMMENT DES CRÉDITS. Par défaut (auto_confirm=false): remplit le prompt, sélectionne le modèle/ratio, prend un screenshot et retourne. It is categorised as a Financial tool in the Google Flow Browser MCP MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on flow_generate_image? +

Register the Google Flow Browser MCP server in PolicyLayer and add a rule for flow_generate_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 Google Flow Browser MCP. Nothing to install.

What risk level is flow_generate_image? +

flow_generate_image is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit flow_generate_image? +

Yes. Add a rate_limit block to the flow_generate_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.

How do I block flow_generate_image completely? +

Set action: deny in the PolicyLayer policy for flow_generate_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.

What MCP server provides flow_generate_image? +

flow_generate_image is provided by the Google Flow Browser MCP server (tmsss05/google-flow-browser-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Google Flow Browser MCP tool call.

Start from Google Flow Browser MCP, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.

Free to start. No card required.

17 Google Flow Browser MCP tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.