Skip to main content
Glama

press

Simulates Android hardware and navigation buttons such as back, home, recents, notifications, and quick settings to move between screens or open system panels.

Instructions

Press one of Android's system buttons: back (leave the current screen or close a dialog or the keyboard), home (go to the home screen), recents (the recent apps list), notifications (pull down the notification shade), quick_settings (open Quick Settings). To switch apps, open_app is faster than home and recents. Returns "Pressed" or "Could not press".

Input Schema

NameRequiredDescriptionDefault
buttonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose the return contract ('Pressed' or 'Could not press'), which usefully signals that failure is possible and confirmation is weak. It does not state prerequisites (accessibility service, screen state) or whether back can discard unsaved state, leaving some behavioral gaps.

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?

One dense sentence of value definitions, one routing hint, one return-value note. Every clause earns its place and the core action is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A single-parameter tool with no output schema; the description supplies value semantics, an alternative route, and the return strings an agent needs to interpret results. Nothing material is missing.

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

Parameters5/5

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

Schema coverage is 0% and the schema only lists bare enum strings, so the description must compensate — and it does, defining the real-world effect of every one of the five values rather than repeating the enum tokens.

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?

Specific verb (press) plus resource (Android system buttons) with all five button values enumerated and explained in plain language. An agent can distinguish it from long_press, tap, and scroll from the text alone.

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

Usage Guidelines5/5

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

Each button value carries its own when-to-use gloss (back closes dialogs/keyboard, home goes to home screen, etc.), and it explicitly names an alternative and the condition that selects it: 'To switch apps, open_app is faster than home and recents.'

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.