traffic_clear

清空所有捕获的流量

Server Android Proxy MCP zhizhuodemao/android_proxy_mcp
Category Destructive
Risk class Critical
Parameters 00 required

What traffic_clear does on Android Proxy MCP

AI agents call traffic_clear to permanently remove resources in Android Proxy MCP — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why traffic_clear needs a policy

This tool permanently removes stored traffic capture data. While the data itself is not the user's primary business data, it represents forensic/analytical records that cannot be recovered once deleted. An AI agent misusing this could erase critical evidence or analysis logs needed for debugging, security investigation, or compliance purposes.

From the tool's definition Tool name 'traffic_clear' and description '清空所有捕获的流量' (clears all captured traffic) - irreversibly deletes accumulated network traffic data with no undo mechanism.

Questions about traffic_clear

What does the traffic_clear tool do? +

清空所有捕获的流量. It is categorised as a Destructive tool in the Android Proxy MCP MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on traffic_clear? +

Register the Android Proxy MCP server in PolicyLayer and add a rule for traffic_clear: 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 Android Proxy MCP. Nothing to install.

What risk level is traffic_clear? +

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

Can I rate-limit traffic_clear? +

Yes. Add a rate_limit block to the traffic_clear 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 traffic_clear completely? +

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

traffic_clear is provided by the Android Proxy MCP server (zhizhuodemao/android_proxy_mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.