Skip to main content
Glama

pinch

Sends a two-finger scale gesture around a target on a supported iOS device to zoom views or manipulate content. Use screenshots or element listings to find the center coordinates and scale.

Instructions

Send a two-finger scale gesture around a target on a supported device. Use take_screenshot for the center coordinates or list_elements for a reference.

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": {
      "center": "<center>",
      "scale": "<scale>"
    },
    "name": "pinch"
  }
}

Input Schema

NameRequiredDescriptionDefault
scaleYes
centerYes
device_idNo
timeout_msNo
duration_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 the 'supported device' caveat, hinting at platform limitations, but says nothing about whether the call blocks, how duration_ms/timeout_ms affect behavior, or what happens on failure.

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 sentences with the action stated first and the sourcing hint second – front-loaded and free of filler. Minor looseness from the vague 'supported device' phrasing keeps it just below top marks.

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?

A 5-parameter gesture tool with no schema descriptions and no output schema needs more: direction of scaling, timing parameters, device targeting, and expected result are all absent. The description covers purpose and one parameter's provenance but not enough for reliable invocation.

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%, so the description must carry the burden. It only helps with the center parameter (where to obtain coordinates or a ref); the required 'scale' parameter's direction/zoom semantics, the 0.25-4 bounds, and the roles of device_id, timeout_ms and duration_ms are left entirely unexplained.

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?

The description opens with a specific verb and resource: 'Send a two-finger scale gesture around a target on a supported device.' That is concrete enough to distinguish it from siblings like drag or scroll, though it never explicitly contrasts itself with those gesture tools.

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

Usage Guidelines3/5

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

It names two sibling tools for sourcing the center value (take_screenshot for coordinates, list_elements for a reference), which is genuine routing guidance. However, it says nothing about when to prefer pinch over scroll/drag, or when pinch is inappropriate, so usage is only partially implied.

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