Skip to main content
Glama

drozer_connect

Connect to a Drozer console on an Android device for security testing. Session persists across tool calls; disconnect manually to end it.

Instructions

Open a Drozer console session against the connected Android device.

Requires the Drozer agent APK to be running on the device and ADB port forwarding in place: adb forward tcp:31415 tcp:31415.

Subsequent tool calls will reuse this session. Call drozer_disconnect to close it explicitly; otherwise the session lives as long as this MCP server process. If the underlying console dies, the next tool call will transparently reconnect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description fully handles behavioral transparency: session reuse, explicit disconnection, lifetime tied to MCP server process, and transparent reconnection if console dies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three concise sentences, each earning its place. It is front-loaded with the purpose and includes essential details without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and an output schema (provided externally), the description covers all necessary context: prerequisites, session lifecycle, and behavior on console death.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so the schema coverage is 100%. Baseline is 4 for no parameters; the description adds no parameter info because none are needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb+resource 'Open a Drozer console session' and clearly distinguishes the tool from siblings like drozer_disconnect and other Drozer tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states prerequisites (Drozer agent running, ADB port forwarding) and when to use the alternative drozer_disconnect to close the session. It also explains session reuse.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prathx0/drozer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server