Skip to main content
Glama
ghost-in-the-droid

ghost-in-the-droid

Official

web_search

Opens a web search on the device's default browser to retrieve information not on the current screen, bypassing manual navigation.

Instructions

Open a web search in whatever browser is on the device.

Faster than: launch Chrome → tap address bar → type → submit. Useful when the user asks "search for X" or you need to look up info that's not on the current screen. Picks the first installed browser from a fallback chain (Chrome → Firefox → Samsung Internet → Edge → Brave → Opera → Vivaldi → DuckDuckGo Browser → system default), so it works even if Chrome is missing.

Args: device: ADB serial or ios:. query: Free-text search terms (don't pre-escape — handled here). engine: "google" (default), "ddg" / "duckduckgo", "bing", or "brave". bundle_id: Optional iOS browser bundle id override, e.g. com.google.chrome.ios.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
deviceYes
engineNogoogle
bundle_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It discloses the browser fallback chain (Chrome → Firefox → ... → system default), explains that the query is not pre-escaped, and mentions the default engine and optional bundle_id override. This adds meaningful behavioral context beyond what structured fields could convey.

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?

The description is well-structured: a one-sentence purpose, a usage/speed note, the fallback chain, and a concise Args list. Every sentence adds value—no redundancy or filler. The length is appropriate for the four parameters and behavioral nuances.

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

Completeness5/5

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

The description is complete for the tool's complexity: it covers all four parameters, explains browser selection behavior, gives usage context, and even includes an example for bundle_id. Since an output schema exists, no return-value explanation is required. There are no obvious gaps that would leave an agent uncertain.

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

Parameters5/5

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

The input schema has 0% description coverage, but the Args section compensates fully by explaining each parameter: device format ('ADB serial or ios:<udid>'), query semantics ('Free-text search terms'), engine values ('google', 'ddg', 'bing', 'brave'), and bundle_id purpose ('Optional iOS browser bundle id override'). This is exactly the kind of clarification an agent needs.

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

Purpose5/5

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

The description clearly states the tool's function: 'Open a web search in whatever browser is on the device.' It goes beyond a generic verb by specifying the resource (web search) and the mechanism (browser on device). It also distinguishes itself from related tools like launch_app or open_url by focusing on search queries and the 'search for X' use case.

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

Usage Guidelines4/5

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

The description provides explicit usage guidance: 'Useful when the user asks "search for X" or you need to look up info that's not on the current screen.' It also compares the tool to a slower manual sequence (launch Chrome → tap address bar → type → submit), which helps the agent choose this over manual UI steps. It doesn't explicitly name sibling tools as alternatives, but the context is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ghost-in-the-droid/android-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server