Skip to main content
Glama

Android Preference Editor MCP Server

add_preference

Adds a new user preference with specified name, value, and type to an Android app via the Android Preference Editor MCP Server. Requires device ID, app package name, and filename for precise configuration during development.

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" }

Other Tools from Android Preference Editor 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