Skip to main content
Glama

vphone_ipa_install_confirm

Executes an IPA installation with a valid preview token and matching path, completing the preview-verified install and returning installation results and app details.

Instructions

Execute an IPA installation after preview confirmation.

Installs the IPA file that was previously previewed. The preview token must be valid, not expired, and match the IPA path exactly.

Args: ipa_path: Absolute path to the IPA file on the guest filesystem. preview_token: Token returned by vphone_ipa_install_preview.

Returns: IPAInstallConfirmOutput with installation result and app details

Raises: PathSecurityError: If path validation fails VPhoneError: If preview token is invalid or installation fails 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>",
      "preview_token": "<preview_token>"
    },
    "name": "vphone_ipa_install_confirm"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipa_pathYesPath to the IPA file on the guest
preview_tokenYesToken from the preview step

Output Schema

NameRequiredDescriptionDefault
messageNo
successYes
bundle_idNo
install_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it names three concrete failure classes (PathSecurityError for path validation, VPhoneError for invalid token or failed install, NotConnectedError for bridge state) and states the token/path-matching invariant. It stops short of saying whether an install replaces an existing app or is repeatable, which is the main residual gap.

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?

Front-loaded with the action, then constraints, then structured Args/Returns/Raises sections. The second sentence ('Installs the IPA file that was previously previewed') largely restates the opening line, which is the only wasted wording.

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?

Covers purpose, prerequisites, parameters, return type, and error conditions for a two-parameter confirm step. The Returns section is mild padding given an output schema exists, but nothing an agent needs in order to call this correctly appears to be missing.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema's terse strings: ipa_path must be an absolute path on the guest filesystem, and preview_token must be unexpired and match that path exactly. That constraint linking the two parameters is not expressed anywhere in the schema.

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?

States a specific verb and resource ('Execute an IPA installation') and immediately scopes it to a prior preview step, which cleanly separates it from the sibling vphone_ipa_install_preview. An agent can tell which of the two install tools to call without opening either schema.

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 prerequisite chain is explicit: the action only applies after a preview, and the token 'must be valid, not expired, and match the IPA path exactly', with the token attributed to vphone_ipa_install_preview. It lacks an explicit when-not statement, but the required-call ordering is unambiguous.

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