Skip to main content
Glama

Android Permission Advisor

android_permission_advisor
Read-only

Query Android permissions to get type, runtime request need, Play Store restrictions, and correct request pattern before declaring in AndroidManifest.xml.

Instructions

Complete Android permissions reference. Returns type (normal/dangerous/special/removed), whether runtime request is needed, Play Store restrictions, and the correct ActivityResultContracts request pattern. Call before declaring any in AndroidManifest.xml. Examples: 'CAMERA', 'POST_NOTIFICATIONS', 'ACCESS_FINE_LOCATION', 'WRITE_EXTERNAL_STORAGE'. Query 'runtime pattern' for the official Compose + Activity permission request code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
permissionNoPermission name (e.g. 'CAMERA', 'POST_NOTIFICATIONS'). Leave empty to list all. Query 'runtime pattern' for request code.
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the description doesn't need to reinforce safety. It adds value by specifying what data is returned (type, runtime request, etc.) without contradicting annotations. No contradiction present.

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 a single, well-structured paragraph. It front-loads the purpose, then details return information, examples, and a special query. No redundant or wasted sentences.

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 the absence of an output schema, the description thoroughly explains the return values and even includes a special query for runtime pattern. It covers all necessary contexts for a single-parameter, read-only tool.

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?

Schema coverage is 100% with a clear description of the 'permission' parameter, including examples and special query hints. The description adds examples and usage guidance, but the schema already carries the semantic weight, so a 4 is appropriate.

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 it is a 'Complete Android permissions reference' and lists the specific information it returns (type, runtime request, Play Store restrictions, request pattern). This distinguishes it from sibling tools like android_api_level_check or android_play_policy_advisor.

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?

Explicitly says 'Call before declaring any <uses-permission> in AndroidManifest.xml,' providing clear when-to-use guidance. While it doesn't mention when not to use or explicitly name alternatives, the context is strong enough for an agent to understand its role.

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/VIKAS9793/AndroJack-mcp'

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