Skip to main content
Glama

Robot Actions — Remote Device Control

ios_file_list

List files and directories on an iOS device. Returns each entry with its name, type (file/dir/link), size and modification time. Pass bundleId to browse a specific app's own container — that is where an app under test keeps its database, caches and logs — or omit it to browse the shared media directory (photos, downloads). Use depth above 1 to recurse. An entry that could not be read comes back with type: null and an error, so one bad child never hides the rest of the listing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesiOS device UDID
depthNoRecursion depth (default 1 = the directory itself)
bundleIdNoBundle id of an app whose OWN container to browse (Documents/, Library/, tmp/) — the files the app itself reads and writes. Omit to use the shared media directory (photos, downloads) instead. Only apps built for testing expose a container; store-installed apps cannot.
remotePathYesAbsolute path within the chosen root, e.g. "/Documents"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well. It discloses the return fields, the effect of `depth` recursion, and especially error handling: unreadable entries come back as `type: null` with an `error`, so one bad child doesn't hide the rest—this is critical context not present in schema or annotations.

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?

Three sentences, front-loaded with the core action Scientific, then the two optional parameters, then error behavior. No fluff or repetition of schema details that are already clear. Every sentence earns its place.

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

Completeness5/5

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

For a 4-parameter tool with no output schema, the description gives enough to call correctly: required params are implied by schema (udid, remotePath), optional params are explained precisely, and the return format is described. The error-handling behavior is a notable asset that fills the gap left by the absent output schema.

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 description coverage is 100%, so the baseline is 3. The description adds meaningful nuance beyond the schema: it explains why `bundleId` matters (database, caches, logs) and clarifies that `depth` > 1 triggers recursion prepared—the schema says 'default 1 = the directory itself' but doesn't emphasize the recursion trigger. This is helpful but not exhaustive, so a 4 is appropriate.

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?

The description opens with a specific verb and resource: 'List files and directories on an iOS device.' It clarifies what each entry returns (name, type, size, modification time) and immediately distinguishes the two browsing modes (app container vs. shared media), which sets it apart from generic file-listing siblings like device_file_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit conditional guidance: pass `bundleId` to browse an app's own container (and explains why that matters for app under test), omit it for shared media, and use `depth` above 1 to recurse. This tells an agent exactly when and how to invoke the tool, though it does not name alternative listing tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources