Skip to main content
Glama

go_back

Navigates back on a connected iPhone, iPad, or iOS simulator using a navigation element or edge gesture, and reports the strategy used or when no supported target exists.

Instructions

Go back using a supported navigation element or edge gesture. The result identifies the strategy used or reports that no supported target exists.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "go_back"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategyNo
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, destructiveHint=false, openWorldHint=true and non-idempotency, which conveys the device-interaction nature. The description adds a genuinely useful behavioral detail: it may legitimately fail to find a supported target and reports that rather than erroring. It does not mention that the outcome depends on foreground app state or what happens on timeout.

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?

Two tightly written sentences with the action first and the result semantics second. No filler or redundancy.

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

Completeness3/5

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

For a simple UI action tool with no output schema, the definition covers what it does and what the result indicates, which is adequate. However, with 0% schema coverage and no guidance on strategy selection or timeout behavior, an agent must guess on two of three parameters.

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 3 parameters, so the description must carry the burden. It only obliquely maps to the 'strategy' enum via 'navigation element or edge gesture'; device_id and timeout_ms are entirely unexplained, as is the meaning of the 'auto' default.

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 states a specific action verb ('go back') and its mechanism scope ('navigation element or edge gesture'), and adds the outcome shape (strategy used or no supported target). It is clearly distinct from siblings like double_tap or press_key, though it never explicitly says so.

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?

There is no when-to-use or when-not-to-use guidance. Nothing tells the agent whether to prefer go_back over press_button or press_key with a back key, nor when a non-default strategy should be selected.

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