Skip to main content
Glama

get_app_info

Read-only

Check whether an Android or iOS app is installed and retrieve its version details; omit the package to inspect the foreground app.

Instructions

Check whether an app is installed and get its version (Android: versionName/versionCode from dumpsys; iOS simulator: CFBundle versions).

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

Input Schema

NameRequiredDescriptionDefault
packageNoApp package name (Android, e.g. com.example.app) or bundle ID (iOS). Optional — defaults to the app currently in the foreground.
platformNoTarget platform. Inferred if omitted.
device_idNoDevice ID. Omit for the connected device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

A3.7/5.0
Behavior4/5

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

readOnlyHint already tells the agent this is a safe read, so the description doesn't need to. It does add real context beyond the annotations: the underlying source of the version values (dumpsys versionName/versionCode vs. CFBundle versions), which is important with no output schema because it tells the agent what fields and semantics to expect per platform.

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?

A single sentence leads with the primary verb and objective, then appends platform detail compactly in parentheses. No filler or repetition of the tool name.

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?

All three parameters are optional and fully documented, and the description covers the success return values that an absent output schema leaves unexplained. It does not state what happens when the app is not installed (error vs. negative result) or what form the version data takes, which matters for an existence-check tool.

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 coverage is 100%, with package, platform, and device_id each documented including the foreground default and platform inference. The description adds platform-specific return semantics but nothing new about the parameters, so the baseline 3 applies.

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+resource pair: checks install status and returns app version. It implicitly contrasts with get_current_app by offering an optional package argument for arbitrary apps, but it never names that sibling or explains the division of labor, so the differentiation is left to inference.

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?

Usage is only implied by the capability itself (verify installation, read version). There is no explicit when-to-use, no exclusions, and no pointer to get_current_app for the foreground-app case even though 'defaults to the app currently in the foreground' overlaps with that sibling's obvious role.

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