Skip to main content
Glama

vphone_ipa_install_preview

Validates an IPA file and returns installation preview details plus a token for confirming the install within five minutes.

Instructions

Preview an IPA installation.

Validates the IPA file and returns installation preview information. The preview token must be used to confirm the installation within 5 minutes.

Args: ipa_path: Absolute path to the IPA file on the guest filesystem. Must be within an allowed directory. registration: Registration type for the app - "User" or "System". User registration installs for the current user. System registration installs for all users.

Returns: IPAInstallPreviewOutput with preview token and app information

Raises: PathSecurityError: If path validation fails FileNotFoundError: If IPA file does not exist VPhoneError: If registration type is invalid NotConnectedError: If not connected to bridge

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ipa_path": "<ipa_path>"
    },
    "name": "vphone_ipa_install_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipa_pathYesPath to the IPA file on the guest
registrationNoRegistration type - User or SystemUser

Output Schema

NameRequiredDescriptionDefault
pathYes
versionNo
app_nameNo
bundle_idNo
expires_atYes
size_bytesNo
preview_tokenYes
would_overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that the file is validated, that a token with a 5-minute lifetime is issued, and it enumerates four failure modes (PathSecurityError, FileNotFoundError, VPhoneError, NotConnectedError). It does not state whether the preview itself has side effects or whether issuing a new preview invalidates prior tokens.

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?

The core action and the token-expiry constraint are front-loaded, and the Args/Returns/Raises structure is scannable. The Returns block is slightly redundant given an output schema exists, but overall there is little waste.

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

Completeness4/5

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

For a two-parameter, no-annotation tool with an output schema, the description covers purpose, parameter constraints, error conditions, and the time-sensitive workflow handoff. The only real gap is the absence of any statement about side effects or token lifecycle when previews are called repeatedly.

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?

Schema coverage is already 100%, so the baseline is 3; the description goes further by specifying ipa_path must be absolute and inside an allowed directory, and by explaining that 'User' registers for the current user while 'System' registers for all users — meaningful semantics the schema lacks, and notably the only place the allowed enum values are spelled out since the schema declares no enum.

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 opens with a specific verb+resource ('Preview an IPA installation') and clarifies it validates the file and returns preview information, which separates it from a plain install. It gestures at the confirm step ('preview token must be used to confirm the installation') but never names vphone_ipa_install_confirm, so sibling differentiation is implied rather than explicit.

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 5-minute token expiry clearly frames this as a mandatory pre-step before confirmation, giving the agent a concrete usage context. It stops short of explicitly stating 'call this before vphone_ipa_install_confirm' or describing when a preview is unnecessary, so it is clear context without full exclusion guidance.

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