Skip to main content
Glama

Current app

current_app
Read-onlyIdempotent

Returns the bundle ID or process name of the foreground app on a connected iPhone or iPad so an agent can identify the active app before automating actions.

Instructions

The app (bundle ID / process) currently in the foreground.

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": "current_app"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is fully covered by structured data. The description adds no behavior beyond those annotations—it does not say what happens when no app is foreground, whether the result can be empty, or in what form the bundle ID and process are returned. With the low bar set by rich annotations, it still contributes essentially nothing.

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 short clause with zero filler and the key qualifier ('currently in the foreground') up front. It is efficient, though its elliptical fragment form ('The app ... currently in the foreground.') omits the verb that would make it a complete, unambiguous sentence.

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 zero-parameter read tool with an empty schema and full annotation coverage, the description is adequate but thin. With no output schema, the description is the only place the return shape could be described, and 'bundle ID / process' is suggestive but not explicit about whether both are returned, one, or in what structure.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4. The description has no parameters to explain and correctly introduces none, leaving nothing misleading about the input contract.

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 names a specific resource—the foreground app—and clarifies it is identified by bundle ID or process name, which is concrete enough to distinguish it from sibling tools like list_apps. However, it is a noun-phrase fragment with no verb, so it never explicitly states that it retrieves/returns that value; the agent must infer the read action.

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 guidance at all: nothing says to call this before screenshot or page_source, and nothing distinguishes it from device_info or list_apps. The single clause about 'foreground' is scoping, not usage guidance.

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