Skip to main content
Glama
shapeyourphone

shapeyourphone

by rachitkj

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

shapeyourphone changes a real Android phone over adb. Before anything else in a new session, call the playbook tool and follow it. Hard rules: change the phone only through these tools; never set owner_approved=true until the phone's owner has seen the preview and said yes; never try to work around a BLOCKED package; keep the owner's preferences file current with preferences_write.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
playbookA

Read this first: how to run a session with the phone's owner, and the safety rules.

doctorB

Check adb, the connected phone and the Shape launcher.

phonesC

Phones already set up on this computer.

initA

First step with a new phone: save its profile and a full backup, create its preferences file.

scanB

Find bloat (tiered safe/recommended/optional, with what each loses) and unknown preinstalled apps.

privacyC

Which apps can use location, camera, mic, contacts; accessibility services, device admins.

plan_debloatA

Write a reviewable debloat plan file. Show it to the owner, then apply_plan.

apply_planA

Apply a plan file (from plan_debloat or clone). Every change is logged with its undo.

tweakA

Named reversible tweak: animations , dark-mode yes|no|auto, font-scale , screen-timeout , private-dns adguard|mullvad|cloudflare|cloudflare-family|quad9||off, restrict-background , notifications-off , notifications-on .

change_permissionC

Grant or revoke one app permission (e.g. android.permission.CAMERA).

change_packagesB

Disable, remove (for this user, reversible) or re-enable specific packages.

keep_packagesB

Record packages the owner never wants touched (or remove them from that list).

list_changesB

Every change made to this phone, with ids for undo.

undoB

Undo specific changes by id, or the last N.

restore_everythingA

Undo every change, newest first (also hands the home screen back and removes Shape).

driftC

Changes the phone has reverted on its own, e.g. after a system update.

reapplyC

Re-apply drifted changes.

reportC

Before/after summary. share=true gives anonymous markdown for a GitHub device report.

preferences_readA

The owner's preferences file (their wishes in plain words). Read it at the start of every session.

preferences_writeA

Replace the owner's preferences file with updated markdown. Keep their words; add, don't erase.

suggestC

Suggestions from real usage (most-used apps not in reach, heavy use, unused apps). Changes nothing.

cloneB

Set this phone up like another saved phone (see phones): same changes, notes, keep list and home screen.

launcher_installB

Install the Shape launcher and make it the home screen (the old launcher stays installed).

launcher_statusC

Launcher version, whether it's the home screen, active rules.

launcher_appsC

Installed apps: name → package.

launcher_get_configB

The home-screen config currently on the phone (JSON). Format: docs/launcher-config.md.

launcher_set_configB

Replace the whole home-screen config (validated first; preview shows a summary).

launcher_editB

Small home-screen edits by app name. command + args mirror the CLI, e.g. hide ['Instagram','--days','weekdays','--from','09:00','--to','18:00'] · unhide ['Instagram'] · search-only ['TikTok'] · dock ['WhatsApp','Spotify'] · home-apps ['Maps','--style','grid'] · theme ['--icons','grayscale','--background','wallpaper'] · gesture ['doubleTap','Spotify'] · rename ['WhatsApp','Chats'] · pause ['Instagram','--seconds','10'] · rule-remove ['Night'] · usage-access [].

launcher_rulesC

Time rules on the home screen (● = active now).

launcher_previewA

What a config would look like at a given time, e.g. at='fri 22:30'. Changes nothing.

launcher_historyC

Every home-screen config pushed to this phone.

launcher_rollbackC

Go back to an earlier home screen (default: the previous one).

launcher_uninstallB

Give the home screen back to the previous launcher and remove Shape.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 33 tools

Disambiguation4/5

Most tools target clear, distinct operations (scan, privacy, change_permission, undo, launcher_install). A few boundaries blur: plan_debloat/apply_plan vs change_packages, and tweak's notifications-off/restrict-background vs change_packages disabling; undo/restore_everything/reapply also require reading descriptions to separate. Still, the descriptions generally make the intended choice clear.

Naming Consistency3/5

The launcher_* family is consistent, as are preferences_read/write and plan_debloat/apply_plan. But bare nouns (playbook, doctor, phones, scan, privacy, drift, report) mix with verb_noun (change_permission, keep_packages, restore_everything) and inverted forms (preferences_read), so the set has mixed conventions while remaining readable.

Tool Count2/5

33 tools is heavy for a single server, even one covering phone debloating plus launcher management. Several tools could be consolidated (e.g. change_packages/tweak, undo/restore_everything/reapply) without losing capability, so the surface feels over-expanded.

Completeness4/5

The lifecycle is well covered: setup/init, scanning, reviewable plans, applying changes, undo/restore, drift detection and reapply, preferences, and full launcher install/config/history/rollback/uninstall. Minor gaps exist around a standalone full-backup restore and richer privacy remediation, but core workflows have no dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues