Skip to main content
Glama

iph_button

Presses an iPhone hardware button—home, lock, volume up, or volume down—to automate physical device controls over USB or Wi-Fi.

Instructions

Press a hardware button.

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": {
      "button": "<button>"
    },
    "name": "iph_button"
  }
}

Input Schema

NameRequiredDescriptionDefault
buttonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and delivers almost nothing. It does not state whether the press is blocking, whether it works while the device is locked, whether it requires an established connection, or what happens on failure; 'Press' implies a one-shot mutation but nothing about reversibility or side effects is disclosed.

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

Conciseness3/5

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

A single short sentence with zero padding, properly front-loaded, but it is terse to the point of under-specification rather than efficiently informative. Nothing is wasted, yet almost nothing is said.

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

Completeness2/5

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

The tool is mechanically simple (one enum parameter, no output schema), which lowers the bar, but with no annotations the description should still cover connection prerequisites, blocking behavior, and expected device response. None of that is present, leaving an agent to guess at operational context.

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 coverage is 0% and the description adds no meaning to the single `button` parameter beyond the noun 'button'. The enum values (home, lock, volume_up, volume_down) are self-documenting in the schema, which prevents a 1, but the description contributes nothing about defaults, unsupported values, or device-specific behavior.

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?

States a concrete verb+resource: "Press a hardware button." The word "hardware" distinguishes it from on-screen interaction siblings like iph_tap or iph_swipe, so an agent can tell roughly what class of action this is, though it never enumerates which buttons exist (the enum does that).

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?

No when-to-use guidance at all. The description does not say that this is for physical device buttons (home/lock/volume) as opposed to UI elements, nor does it point to iph_tap or iph_launch as alternatives for in-app actions, nor mention any prerequisite such as an active device connection.

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