Skip to main content
Glama

Open URL

open_url

Opens a URL or deep link with an ACTION_VIEW intent to jump to a deep-linked Android screen, optionally targeting a specific package or device serial.

Instructions

Open a URL or deep link via an ACTION_VIEW intent (am start) — the way to jump straight to a deep-linked screen. Optionally target a specific package.

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": {
      "url": "<url>"
    },
    "name": "open_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL or deep link to open (ACTION_VIEW).
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
packageNoOptional package to target the intent at.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare openWorldHint and destructiveHint=false; the description adds real behavioral context by disclosing that this is an ACTION_VIEW intent issued via am start, so an agent knows it hands off to whatever app resolves the link rather than controlling the target itself. It does not cover what happens when nothing resolves the URL, but the mechanism disclosure is substantive.

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?

A single front-loaded sentence states the action, the mechanism, and the optional package in one pass with no filler. The em-dash aside is slightly loose but still earns its place by clarifying the deep-link use case.

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 tool with full schema coverage and safety annotations, the description covers the essentials: what it does, how it dispatches the intent, and device/package targeting. Only failure semantics for unresolvable links are absent, a minor gap given the tool's simplicity.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters are already documented. The description only echoes that a package can optionally be targeted, adding no syntax examples or behavioral notes about how pinning a package interacts with link resolution.

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 specific verb and resource ('Open a URL or deep link') and names the underlying mechanism (ACTION_VIEW / am start), which clearly separates it from launching an app package or opening a dev menu. It stops short of explicitly naming the sibling it differs from (e.g. launch_app), so it lands just under the top band.

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?

The clause 'the way to jump straight to a deep-linked screen' implies the use case but never states when to prefer this over launch_app or open_dev_menu, nor any exclusions. Usage has to be inferred from the phrasing.

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