Skip to main content
Glama

Android Prefs MCP Server

add_preference

Adds a new user preference to the Android Prefs MCP Server by specifying the name, value, type, device ID, app ID, and filename. Streamlines preference management for Android applications.

Instructions

Adds a new preference given the name, value and type.

Input Schema

NameRequiredDescriptionDefault
appIdYesThe application's package name.
deviceIdYesThe device's serial number.
filenameYesThe filename with or without the extension.
nameYesThe name/key of the user preference
typeYesThe type of the preference value: integer, boolean, float, double, long or string
valueYesThe value of user preference

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "appId": { "description": "The application's package name.", "type": "string" }, "deviceId": { "description": "The device's serial number.", "type": "string" }, "filename": { "description": "The filename with or without the extension.", "type": "string" }, "name": { "description": "The name/key of the user preference", "type": "string" }, "type": { "description": "The type of the preference value: integer, boolean, float, double, long or string", "type": "string" }, "value": { "description": "The value of user preference", "type": "string" } }, "required": [ "name", "value", "type", "deviceId", "appId", "filename" ], "type": "object" }

You must be authenticated.

Other Tools from Android Prefs MCP Server

Related Tools

    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/charlesmuchene/pref-editor-mcp-server'

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