High Risk →

wanx-t2i-image-generation

使用阿里云万相文生图大模型的文生图能力,由于图片生成耗时比较久,需要调用 wanx-t2i-image-generation-result 工具获取结果

How to control wanx-t2i-image-generation ↓

What wanx-t2i-image-generation does on Tongyi Wanxiang MCP Server

AI agents invoke wanx-t2i-image-generation to trigger actions in Tongyi Wanxiang MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.

High Risk

Why wanx-t2i-image-generation needs a policy

This tool triggers an external API call to Alibaba Cloud's text-to-image generation service. It initiates an asynchronous operation (image generation) on an external platform. This is an Execute category action as it invokes an external service/API whose effects depend on the input arguments.

From the tool's definition 使用阿里云万相文生图大模型的文生图能力 (uses Alibaba Cloud Wanxiang text-to-image model capability); triggers an async image generation task requiring a follow-up tool call

Documented attack patterns abuse exactly the kind of access wanx-t2i-image-generation gives an agent:

How to control wanx-t2i-image-generation

PolicyLayer is an MCP gateway — it sits between your AI agents and Tongyi Wanxiang MCP Server, and nothing reaches the server without passing your rules. This is the rule we recommend for wanx-t2i-image-generation:

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "wanx-t2i-image-generation": {
      "limits": [
        {
          "counter": "wanx-t2i-image-generation_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}

wanx-t2i-image-generation stays usable, but rate-capped — a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.

  1. Create a free account and register Tongyi Wanxiang MCP Server — 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.
RATE-LIMIT THIS TOOL →

Free to start. No card required.

Related tools and policies

Go deeper

Questions about wanx-t2i-image-generation

What does the wanx-t2i-image-generation tool do? +

使用阿里云万相文生图大模型的文生图能力,由于图片生成耗时比较久,需要调用 wanx-t2i-image-generation-result 工具获取结果. It is categorised as a Execute tool in the Tongyi Wanxiang MCP Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

How do I enforce a policy on wanx-t2i-image-generation? +

Register the Tongyi Wanxiang MCP Server MCP server in PolicyLayer and add a rule for wanx-t2i-image-generation: 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 Tongyi Wanxiang MCP Server. Nothing to install.

What risk level is wanx-t2i-image-generation? +

wanx-t2i-image-generation is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit wanx-t2i-image-generation? +

Yes. Add a rate_limit block to the wanx-t2i-image-generation 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 wanx-t2i-image-generation completely? +

Set action: deny in the PolicyLayer policy for wanx-t2i-image-generation. 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 wanx-t2i-image-generation? +

wanx-t2i-image-generation is provided by the Tongyi Wanxiang MCP Server MCP server (suixinlei/tongyi-wanx-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

Enforce policy on every Tongyi Wanxiang MCP Server tool call.

Start from Tongyi Wanxiang MCP Server, 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.

4 Tongyi Wanxiang MCP Server 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.