Skip to main content
Glama

Robot Actions — Remote Device Control

Device file pull

device_file_pull

Pull a file from the device. Returns base64-encoded content. Default size cap 5242880 bytes (5MB); pass maxSizeBytes to override up to 20971520 bytes (20MB). Refuses directories and oversized files before transferring. Returns { ok, remotePath, sizeBytes, content (base64) }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesDevice serial number (UDID)
remotePathYesAbsolute path of the file to pull
maxSizeBytesNoOverride the default 5MB cap; max 20MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The description discloses behavior well beyond the annotations: base64 return format, a 5MB default cap with a 20MB override ceiling, and that directories and oversized files are rejected before transfer. Annotations already cover safety (destructiveHint=false), so this is a solid additive layer. Minor note: readOnlyHint=false sits slightly oddly against a read-style operation, though it does not directly contradict anything stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the purpose, then return format, limits, and return shape. The only waste is mild repetition of the base64 return ('Returns base64-encoded content' and 'content (base64)' in the shape).

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?

With no output schema, the description usefully supplies the return shape { ok, remotePath, sizeBytes, content }. It covers purpose, limits, and refusal behavior; the main gap is operational context such as session/connection prerequisites and how errors surface.

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 the baseline is 3. The description restates maxSizeBytes' default cap and override ceiling, which the schema already documents, adding little new semantic detail for udid or remotePath beyond the schema text.

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 verb 'pull' plus the resource 'file from the device' is specific and directionally distinguishes it from siblings like device_file_push, device_file_copy, and device_file_stat. It stops short of naming those siblings or explicitly contrasting itself, so it is clear but not fully differentiated.

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 implied (retrieve a file's bytes from the device) and the 'refuses directories' clause implicitly steers directory inspection to device_file_list. However, there is no explicit when-to-use guidance, no mention of prerequisites (e.g. an active session), and no named alternatives.

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