Skip to main content
Glama

install_app

Installs an app from an approved local file path on a connected device and requests approval or destructive confirmation when replacing an existing app.

Instructions

Install an app from an approved local file path. Obtain approval for installation or destructive confirmation if you request replacement.

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": {
      "artifact_path": "<artifact_path>"
    },
    "name": "install_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
replaceNo
device_idNo
timeout_msNo
artifact_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true; the description adds genuinely new operational context by disclosing that installation requires approval and that replace requests trigger a destructive confirmation. There is mild tension with destructiveHint=false when replace=true, but the description clarifies rather than contradicts. It does not describe failure modes or rate/time limits.

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?

Two tight sentences with the core action and source constraint front-loaded. The second sentence is slightly awkward in phrasing ('Obtain approval for installation or destructive confirmation if you request replacement'), but nothing is redundant.

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 mutating, non-idempotent install tool with no output schema, the definition covers the approval precondition but omits what happens on failure, how the installed app is identified in the result, and whether device_id has a default when there are multiple devices. Adequate minimum, with clear gaps.

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 description coverage is 0%, so the description carries the burden. It adds real meaning for two of four parameters — artifact_path must be an approved local path, and replace implies overwriting with destructive confirmation — but device_id and timeout_ms are left entirely undefined in both schema and description.

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 states a specific verb+resource ('Install an app') and constrains the source ('from an approved local file path'), which cleanly separates it from siblings like launch_app or uninstall_app. It stops short of explicitly naming a sibling to contrast against, so it lands at 4 rather than 5.

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?

Implied guidance is present: the path must already be 'approved', and replacement requests require destructive confirmation, which tells the agent this is a mutating step needing user consent. However, there is no explicit statement of when to choose this over alternatives (e.g., download_app_container first, or build_and_run) and no note on the approval flow mechanics.

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