Skip to main content
Glama

permissions_set

Grant or revoke a runtime permission for an Android app, with approval required before applying the change.

Instructions

Approval-required grant or revoke of a requested runtime permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
approvedNo
permissionYes
package_nameYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses that the operation is 'Approval-required,' which is a meaningful behavioral trait, but it does not explain side effects, prerequisites, or what occurs if approval is denied. For a mutation tool, this leaves significant ambiguity.

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, succinct sentence that communicates the core function without redundancy. It is front-loaded and every word contributes to the message, though this brevity sacrifices necessary detail.

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?

This is a mutation tool with no annotations, no output schema, and 4 parameters, yet the description fails to address the approval flow, side effects, or usage context. It is minimally viable but leaves major gaps that an agent would need to resolve elsewhere.

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

Parameters2/5

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

With 0% schema description coverage, the description must compensate for the parameters. It only implies the 'action' (grant/revoke) and the concept of a permission, but it does not explain package_name, the permission string, or the approved boolean. This is insufficient for an agent to correctly map the schema fields to the intended use.

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 action (grant or revoke) and the resource (a requested runtime permission), using specific verbs. It distinguishes from the sibling permissions_list tool, which lists permissions rather than modifying them.

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

Usage Guidelines3/5

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

The description implies the tool is used to change runtime permissions, but it does not provide explicit when-to-use guidance, exclusions, or alternatives. The 'Approval-required' hint suggests a workflow, but the description lacks clarity on when to invoke this tool versus others.

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/EF-Code/scrcpy-mcp'

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