iOS active app
ios_active_appGet the currently active (foreground) app on an iOS device. Returns bundleId, name, and pid. Requires an active iOS automation session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | iOS device UDID |
ios_active_appGet the currently active (foreground) app on an iOS device. Returns bundleId, name, and pid. Requires an active iOS automation session.
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | iOS device UDID |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds a genuine behavioral constraint — the session prerequisite — that annotations do not convey, though it says nothing about failure modes when no session exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, front-loaded with the action and return shape, then the prerequisite. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description usefully enumerates the return fields (bundleId, name, pid) and the session requirement. Only minor gap is the absence of any error/no-session behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% for the single udid parameter, and the description adds no format or sourcing detail beyond the schema. Baseline 3 is appropriate when the schema does all parameter work.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb+resource ('Get the currently active (foreground) app on an iOS device') with an explicit scope qualifier ('currently active/foreground') that separates it from launch/list siblings like ios_list_apps or ios_launch_app.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States the prerequisite clearly: 'Requires an active iOS automation session.' That tells the agent when the call is valid, but it does not name alternatives or note when-not-to-use this versus ios_list_apps or device_current_app.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.