Skip to main content
Glama

Robot Actions — Remote Device Control

ios_notifications_capture

Watch which notifications an iOS device receives and return them. Use this to confirm an app actually got a push or alert — for example waiting for a one-time passcode to arrive after triggering a login. Reports WHICH app was notified, WHEN, whether the notification contained a one-time code, and whether it was actually shown or silently suppressed. It CANNOT return the notification text: the device keeps the title and body private. To read the words, capture while the banner is on screen and use ios_page_source. By default it returns as soon as the first notification arrives, so trigger the action first and call this straight after (or run it while the action happens). No automation session required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesiOS device UDID
secondsNoHow long to wait at most (default 30, max 45)
bundleIdNoOnly notifications for this app, e.g. "com.example.app" (exact match)
oneTimeCodeNoDetect whether each notification contains a one-time passcode. Off by default because it makes the device report far more detail and costs noticeably more; turn it on for OTP tests.
waitForFirstNoReturn as soon as the first matching notification arrives (default true). Set false to collect everything for the whole window.
oneTimeCodeOnlyNoOnly return notifications containing a one-time code. Implies oneTimeCode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and meets it: it discloses what is reported (app, time, OTC presence, shown/silently suppressed), the hard limitation (no text), the default early-return behavior, and that no automation session is required. This goes well beyond the name and schema.

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 dense but every sentence earns its place: purpose, motivating example, output contents, explicit limitation, alternative, and timing. The most important scoping details are front-loaded.

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?

Given there is no output schema and no annotations, the description is unusually complete: it states the returned data categories, the key limitation, the alternative path, the default wait behavior, and session requirements. An agent can decide when to call it and what to expect.

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?

All six parameters already have descriptive schema text, so the baseline is 3. The description's mention of returning as soon as the first notification arrives merely restates waitForFirst's documented default and adds usage timing rather than new parameter meaning.

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 opening sentence names a specific action (watch/return notifications), a concrete resource (iOS device notifications), and an explicit use case (confirming an app received a push/OTP). It also draws a clear boundary by warning it cannot return notification text and pointing to ios_page_source for that, so an agent can tell it apart from capture/read tools.

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

Usage Guidelines5/5

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

Gives explicit when-to-use context ('confirm an app actually got a push or alert', OTP arrival after login) and precise timing instructions (trigger action first, call immediately or run while action happens). It also states what the tool cannot do and names the alternative, covering both selection and invocation.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources