adb_screencap

Capture the device screen. Saves native PNG to a temp file on the host and returns the file path, dimensions, and size. Rate-limited to 1 capture per 10 seconds.

Server Adb sfaizi24/adb-mcp-server
Category Read
Risk class Low
Parameters 00 required

What adb_screencap does on Adb

AI agents call adb_screencap to retrieve information from Adb without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why adb_screencap needs a policy

This tool only reads/captures the current screen state and saves it as a PNG file. It has no side effects on the device and does not modify, delete, or execute anything. The only output is a file path and metadata about the captured image.

From the tool's definition Capture the device screen. Saves native PNG to a temp file on the host and returns the file path, dimensions, and size.

Questions about adb_screencap

What does the adb_screencap tool do? +

Capture the device screen. Saves native PNG to a temp file on the host and returns the file path, dimensions, and size. Rate-limited to 1 capture per 10 seconds. It is categorised as a Read tool in the Adb MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on adb_screencap? +

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

What risk level is adb_screencap? +

adb_screencap is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit adb_screencap? +

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

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

adb_screencap is provided by the Adb MCP server (sfaizi24/adb-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.