Skip to main content
Glama

Robot Actions — Remote Device Control

iOS file find

ios_file_find
Read-onlyIdempotent

Search an iOS device subtree for files and folders whose NAME matches a query. The walk runs on the device side, so this is the right way to locate a file — far cheaper than listing directories one by one. query is a case-insensitive substring, unless it contains *, ? or [, in which case it is treated as a glob (e.g. *.log, app-?.db). Results carry both the path within the root and the real absolute path on the device. truncated: true means the limit stopped the walk — report it as "the first N matches", not as everything that exists. Same bundleId root selection as ios_file_list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesiOS device UDID
limitNoMaximum matches to return (default 200)
queryYesName substring, or a glob if it contains * ? or [
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.
maxDepthNoMaximum depth to descend (default unlimited)
remotePathYesAbsolute path of the subtree to search

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description adds genuinely useful behavior beyond them: results carry both relative and absolute paths, and truncated:true means the walk was stopped by the limit and must be reported as 'first N matches'. This is real disclosure the annotations do not provide.

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?

Five tightly packed sentences, front-loaded with the core purpose and the query semantics, then result semantics, then the truncation caveat. No filler; every sentence conveys a distinct fact an agent needs.

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?

No output schema exists, so the description correctly compensates by describing the return payload (relative + absolute paths) and the truncation flag. Combined with 100% schema coverage and safety annotations, nothing an agent needs to call it correctly is 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 meaning the schema lacks: it states the match is case-insensitive, gives glob examples (*.log, app-?.db), and clarifies the limit's interaction with results. It does not explain maxDepth or udid beyond the schema, keeping it from a 5.

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 ('Search an iOS device subtree for files and folders whose NAME matches a query') and explicitly positions it against the sibling ios_file_list ('far cheaper than listing directories one by one'). An agent can distinguish it from ios_file_list and device_file_find 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?

Gives clear context for when this is the right choice over directory-by-directory listing, and points to ios_file_list for the shared root-selection semantics. It stops short of explicit when-not-to-use guidance (e.g. searching a single known directory), so it is strong but not exhaustive.

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