Skip to main content
Glama

Mobilebox: Cloud phones for your agents

Pull file

pull_file
Read-only

Read a file from the phone's shared storage (/sdcard), e.g. a log, export or save an app wrote: text comes back as text and anything else as base64, up to 100 KB; PNG and JPEG as an image, up to 1 MB (larger files: GET /v1/phones/{id}/files over REST). A folder path lists its files and folders; no path lists /sdcard/Download.

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": {
      "phone_id": "<phone_id>"
    },
    "name": "pull_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoA file or folder: a name in /sdcard/Download, or a path under /sdcard/
phone_idYesPhone id, ph_…

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint=true, it discloses the concrete behavioral envelope: text returned as text, other formats as base64, a 100 KB text cap and 1 MB image cap, PNG/JPEG rendered as images, and an escape hatch for oversized files. These limits materially affect how an agent should call it and are not derivable from annotations or schema.

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?

A single dense sentence, front-loaded with verb and resource, with the path-variant rules following in a readable order. It is packed with clauses but each one carries real information, so nothing is padding.

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?

Covers formats, size ceilings, listing behavior, defaults, and a fallback for large files — essentially everything needed to invoke it correctly for a two-parameter read tool. Only minor gaps remain, such as what happens on a nonexistent path or permission denial.

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 baseline is 3, but the description adds semantics the schema does not: path may be a folder (triggers a listing) and omitting path has a defined default of /sdcard/Download. That changes how the optional parameter should be used, so it earns above baseline.

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?

Opens with a specific verb and resource ("Read a file from the phone's shared storage") and scopes it to /sdcard, making it clearly the read counterpart to push_file. The three path behaviors (file, folder, no path) are spelled out so the agent knows exactly what it is calling.

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 concrete routing: folder path lists contents, no path defaults to /sdcard/Download, and files too large for the inline limits are redirected to the REST endpoint. It does not explicitly contrast with push_file, but the read/write split is unambiguous from the text.

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.