Skip to main content
Glama
YPYT1

frida-ios-mcp

by YPYT1

wait_until_texts

Poll screen snapshots until on-screen text matches a custom pattern or multi-locale preset, with configurable timeout and interval.

Instructions

Poll screen_snapshot until on-screen text matches pattern or preset (or timeout). TikTok: prefer preset "tiktok_feed" (EN/ZH-Hant/ZH-Hans/JA/KO) — do not hardcode one language. Custom pattern still allowed for page-specific probes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
presetNoBuilt-in multi-locale set, e.g. "tiktok_feed"
patternNoCustom text; "|" auto-regex. Prefer preset for TikTok land.
timeoutMsNoDefault 15000
intervalMsNoPoll interval, default 800
searchRegexNoForce regex; default auto when pattern contains |
onScreenOnlyNoDefault true
Behavior4/5

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

No annotations provided, so description carries full burden. Discloses polling behavior, default timeout (15000), interval (800), and auto-regex for '|'. No side effects mentioned but not expected.

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?

Two sentences, zero wasted words. First sentence defines purpose, second gives critical guidance. Highly efficient.

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 tool with 6 parameters and no output schema, description covers polling behavior, defaults, and critical use-case (TikTok). Could mention when to use alternative tools like 'screen_search', but still complete enough.

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 has 100% coverage, but description adds context: default values (timeoutMs=15000, intervalMs=800), preset concept, and auto-regex for pattern. Enhances understanding beyond schema.

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?

Description states it polls screen_snapshot until text matches pattern or preset, with specific TikTok guidance. Verb 'poll' and resource 'screen_snapshot' clearly define action. Distinguishes from siblings like 'wait'.

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?

Explicitly prefers preset for TikTok and warns against hardcoding language. Mentions custom pattern for page-specific probes. No exclusion of when not to use, but context is clear.

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