Skip to main content
Glama

list_app_files

Read-only

List files in a development-signed app’s data container, including Documents, Library, and tmp, to inspect app storage over USB.

Instructions

List files in an app's data container (Documents, Library, tmp…). Works for development-signed apps only.

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": {
      "bundleId": "<bundleId>"
    },
    "name": "list_app_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device.
bundleIdYesApp bundle ID, e.g. com.example.MyApp (see list_apps)
subdirectoryNoe.g. Documents

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • addedInput schema / properties / bundleId / description
      Added value: +"App bundle ID, e.g. com.example.MyApp (see list_apps)"
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered, but the description adds a genuine behavioral precondition — that only development-signed apps are supported — which the agent cannot learn from structured fields. It leaves out failure behavior and whether listing is recursive, so it is not a 5.

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?

Two compact sentences with zero filler, and the core operation is front-loaded ahead of the eligibility caveat. Nothing repeats and nothing could be cut without losing content.

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 read-only listing tool with full schema coverage and no output schema, the description covers operation, scope, and the key eligibility restriction. The remaining gap — whether results are recursive and how entries are shaped — is minor but real, since no output schema exists to explain the return value.

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 100%, so device, bundleId, and subdirectory are all documented with examples in the schema itself. The description's mention of container subdirectories (Documents, Library, tmp) echoes rather than extends the schema's "e.g. Documents" hint, so 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 and resource — "List files in an app's data container" — and names the concrete directories (Documents, Library, tmp) plus the app-scoping constraint, which is enough to distinguish it from list_apps (which enumerates apps, not files). It stops short of naming any sibling explicitly, so it lands just under the top mark.

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?

The "development-signed apps only" clause is a real usage constraint that tells the agent when this tool will fail, but there is no explicit guidance on when to choose this over pull_file for retrieving file content, and no stated prerequisites or exclusions beyond the signing restriction.

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