Skip to main content
Glama
YPYT1

frida-ios-mcp

by YPYT1

screen_snapshot

Capture and filter on-screen UI elements from iOS apps. Compare snapshots to detect changes, search by text or regex, and limit output for efficient inspection.

Instructions

Read screen → generation-scoped refs (g3t8). PRIMARY read tool. Defaults: onScreenOnly=true, limit=40 (token-safe). TikTok: texts only (tree blocked). search= substring by default; a|b auto-enables regex. showDiff=true compares to previous snapshot. Do not parallelize app acts (tap/swipe/type).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoTikTok forced to texts
limitNoMax nodes printed, default 40
searchNoSubstring filter; use searchRegex:true or a|b for regex alternation
showDiffNoSummarize +/− vs previous snapshot
searchRegexNoForce regex (default auto if search contains |)
onScreenOnlyNoDefault true: hide off-screen nodes from output
Behavior5/5

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

With no annotations, the description fully carries the burden of behavioral disclosure. It discloses the tool is read-only, specifies default behavior (onScreenOnly, limit), a platform restriction (TikTok blocks tree mode), search semantics, diff functionality, and a parallelism constraint. This is exhaustive for the given complexity.

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?

The description is extremely concise: four short sentences, each serving a distinct purpose (purpose, defaults, TikTok constraint, search behavior, diff, warning). It is front-loaded with the primary action and immediately provides differentiating context.

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?

Given 6 parameters and no output schema, the description covers defaults, platform constraints, search variants, diff, and a parallelism restriction. It lacks explicit mention of error handling or return format, but the combination of schema descriptions and tool description is sufficient for an agent to invoke the tool correctly.

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% already, so baseline is 3. The description adds value by clarifying default values (onScreenOnly=true, limit=40), the auto-enable of regex when search contains '|', and the purpose of showDiff. It does not repeat schema descriptions but augments them.

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?

The description clearly states the tool reads the screen and returns generation-scoped refs, positioning it as the 'PRIMARY read tool.' This distinguishes it from sibling tools like screen_window, screen_search, and screen_shot, which are alternative read tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use and when-not-to-use guidance: it covers default parameter values, TikTok constraints (forced texts mode), search behavior (substring vs regex), comparison feature (showDiff), and a critical warning not to parallelize app acts. This leaves little ambiguity for the agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YPYT1/frida-ios-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server