Skip to main content
Glama

system_gesture

Invoke supported system gestures—Home, Control Center, app switcher, or notification center—and inspect the device afterward to confirm it opened.

Instructions

Invoke a supported system gesture, such as Home, Control Center, or the app switcher. Inspect the device afterward to confirm it opened.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gesture": "<gesture>"
    },
    "name": "system_gesture"
  }
}

Input Schema

NameRequiredDescriptionDefault
gestureYes
device_idNo
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds a genuinely useful trait beyond that: gestures have no returned confirmation, so the caller must re-inspect the device to verify the effect. It says nothing about what happens on timeout, failure modes, or whether an unsupported gesture errors or is silently ignored.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences, front-loaded with the action and followed by the one operational caveat that matters. No padding, though the example list could be trimmed since the enum already enumerates the values.

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

Completeness4/5

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

For a three-parameter, no-output-schema action tool with a full enum on the required parameter, the definition covers the essential call shape plus the verify-afterward workflow. The gaps are the undocumented device_id and timeout_ms behavior and the unaddressed failure path.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description bears the burden and largely does not carry it. It names three of the four enum values (omitting notification_center) and says nothing at all about device_id or timeout_ms, leaving their semantics, defaults, and units undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Invoke a supported system gesture, such as Home, Control Center, or the app switcher" gives a specific verb (invoke) plus the resource class (system-level gestures) with concrete examples that distinguish it from element-level gestures like double_tap or long_press. It stops short of naming which sibling to prefer when a system-level outcome is also reachable via go_back or press_button.

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

Usage Guidelines2/5

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

The only guidance is "Inspect the device afterward to confirm it opened," which is a verification step, not a selection rule. There is no statement of when to call this instead of go_back, press_button, or open_settings, and no exclusions or prerequisites.

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