Skip to main content
Glama

Robot Actions — Remote Device Control

iOS file push

ios_file_push
Destructive

Write a file onto an iOS device from base64 content, creating parent directories as needed. Same bundleId root selection as ios_file_list — pass it to seed an app's own container with fixture data, a config file or a test database before launching it. Overwrites an existing file at that path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesiOS device UDID
contentYesFile content as a base64 string
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 destination path within the chosen root

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the bar is lower. The description still adds real behavioral detail beyond them: it creates parent directories automatically and overwrites any existing file at the destination path, which tells the agent exactly what state it is about to clobber.

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 with the core action front-loaded, followed by the use-case rationale and then the destructive overwrite warning. No filler, no repetition of schema 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 mutation tool with full annotation coverage and no output schema, the description covers the essential what, why, and the overwrite caveat. It does not mention error/failure behavior or permission requirements, but nothing critical for correct invocation is missing.

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 the schema already documents udid, content, bundleId, and remotePath in detail, making 3 the baseline. The description only cross-references bundleId root selection to ios_file_list and frames it by use case; it adds no syntax or format detail the schema lacks.

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 ('Write a file onto an iOS device from base64 content'), names the content format, and clearly separates it from the reverse-direction sibling ios_file_pull and the shared device_file_push family. An agent can identify the operation without opening the 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 a concrete when-to-use scenario (seeding an app's own container with fixture data, config, or a test database before launching) and routes the agent to ios_file_list for bundleId root semantics. It does not explicitly name the inverse tool or state when NOT to use it, so it stops short of a 5.

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