Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PAD_STUDY_ADBNoExplicit path to the `adb` binary (otherwise auto-detected from `PATH` & standard Android SDK locations on macOS/Linux/Windows).
PAD_STUDY_PORTNoDefault ADB TCP port when a bare IP is supplied (default `5555`).5555
PAD_STUDY_DEVICENoExplicit USB serial or wireless `<ip>:5555` target (takes priority when multiple Android devices are attached).
PAD_STUDY_IP_CACHENoFile containing a cached wireless/Tailscale IP (defaults to `~/.config/pad-study-mcp/device`).~/.config/pad-study-mcp/device
PAD_STUDY_EXTRA_APPSNoComma-separated extra Android package names to allowlist as study apps.
PAD_STUDY_BLOCKED_APPSNoComma-separated extra package names or `*glob*` patterns to always hard-block.
PAD_STUDY_ALLOW_BLOCKEDNoSet to `1` only if you explicitly want to permit overriding `BLOCKED_PACKAGES` / `FLAG_SECURE` (default off).0

Instructions

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

Fast, privacy-guarded reader for the user's Android study tablet. Call pad_peek() directly when checking handwritten math, accounting, finance, or study notes — no need to list devices first. Pass if_changed_since= on follow-up turns in the same conversation to avoid re-sending unchanged images.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pad_statusB

Fast (~0.2-0.4s) health & privacy check of the Android study tablet (transport, lock state, visible apps, battery).

pad_peekA

Capture the user's study tablet canvas with privacy guard, ink auto-crop, and ETag diff check.

Args: auto_crop: Crop empty infinite-canvas margins & toolbars around handwritten ink for sharper OCR. max_size: Max output image edge in pixels (clamped to 128-4096, default 1200). if_changed_since: Optional canvas_hash returned by a previous pad_peek call in this chat. If the canvas has not changed, skips sending image bytes (0 image tokens!). allow_any_app: Relaxes the study-app allowlist when the user explicitly asks to view another non-sensitive app. Never bypasses blocked sensitive apps, FLAG_SECURE, or NotificationShade. device: Optional explicit ADB serial or ip:port override.

pad_zoomB

Capture a zoomed crop of a specific region on the tablet screen (in full screen coordinates).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a distinct operation: pad_status checks device health/privacy, pad_peek captures the full canvas, and pad_zoom captures a specific region. Their descriptions clearly delineate when to use each, with no overlapping responsibilities.

Naming Consistency5/5

All tools use a consistent snake_case pad_ prefix followed by a concise action verb/noun (status, peek, zoom). The pattern is predictable and easy to extend.

Tool Count5/5

Three tools are well-scoped for a focused tablet inspection server: health/status, full capture, and regional capture. Each tool has a clear purpose and earns its place without redundancy.

Completeness4/5

The surface covers status checking, full canvas capture, and zoomed inspection, which are the core lifecycle operations for a study-tablet monitoring MCP. Minor gaps exist around structured text/OCR extraction or explicit app-list retrieval, but these can be worked around via existing capture and status tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues