Skip to main content
Glama

adb_revoke_permission

Revokes a runtime permission from an Android app to reset its permission state, enabling testing of first-run flows or denial handling.

Instructions

Revoke a runtime permission from a package. Useful for resetting permission state to test first-run flows or denial handling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packageNameYesPackage name (e.g., 'com.example.app')
permissionYesFull permission string (e.g., 'android.permission.CAMERA')
deviceNoDevice serial
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the action without mentioning prerequisites (e.g., permission must be granted first), side effects, or error conditions. This is insufficient for a mutation tool.

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 extremely concise with two sentences, no unnecessary words, and is front-loaded with the primary action. Every sentence earns its place.

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

Completeness2/5

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

Given the tool has 3 parameters, no output schema, and no annotations, the description is too minimal. It does not cover return values, expected behavior when the permission is not granted, or the optionality of the device parameter.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description does not add extra meaning beyond the schema; it does not explain parameter relationships or constraints. It simply repeats the action.

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 clearly states the tool revokes a runtime permission from a package, using the verb 'revoke' and specifying the resource. It distinguishes itself from the sibling tool adb_grant_permission by contrasting actions.

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

Usage Guidelines4/5

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

The description provides a use case: 'resetting permission state to test first-run flows or denial handling,' which guides the agent on when to use it. However, it does not explicitly state when not to use it or compare with alternatives like adb_grant_permission.

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/fullread/DeepADB'

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