Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

ios_add_media

Adds photos or videos from a local file path to an iOS Simulator photo library using the simulator UDID and media path.

Instructions

Add photos or videos to the Simulator photo library.

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": {
      "deviceId": "<deviceId>",
      "localPath": "<localPath>"
    },
    "name": "ios_add_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdYesSimulator UDID
localPathYesLocal path to the media file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden. 'Add' implies a mutation and a side effect on the library, but nothing is said about overwrite behavior, requirements that the device be running, path validity errors, or whether the call is idempotent.

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?

A single tight sentence with zero filler, and the core action is front-loaded. Nothing can be trimmed without losing meaning.

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?

SOBRE

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 coverage is 100%, so both deviceId and localPath are already documented in the schema. The description only confirms that the local path refers to a media file, adding no format, constraint, or example detail beyond structured data.

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 names a concrete verb ('Add') and resource ('photos or videos to the Simulator photo library'), so an agent knows exactly what the tool does. It does not, however, distinguish itself from file-push style siblings such as adb_push or adb_screenshot beyond the word 'Simulator'.

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?

Usage is only implied: the phrase 'Simulator photo library' signals this is for iOS Simulator media, implicitly steering agents away from Android equivalents. There is no explicit when-to-use guidance, no stated prerequisites (e.g. simulator must be booted), and no named alternative.

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