Skip to main content
Glama
Immmmmmortal1

UI-dbugbridge-mcp

set_text

Set text in iOS text fields by DebugBridge ID, focusing the control and firing editing-change events. Supports waiting for page or element criteria after the action.

Instructions

Replace text in a UITextField or UITextView by stable DebugBridge ID, focusing the control and firing editing-change events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDebug element identifier, for example photoComment.input.
textYesExact text to set.
timeoutMsNoHow long to wait for post-action page availability or target criteria. Defaults to 8000.
intervalMsNoPolling interval after setting text. Defaults to 300.
waitAfterMsNoDelay after setting text before reading the next page. Defaults to 350.
waitForLabelNoOptional exact element label to wait for after setting text.
waitForPageIDNoOptional pageID to wait for after setting text.
waitForElementNoOptional element criteria to wait for after setting text.
waitForPageIDsNoOptional acceptable pageIDs to wait for after setting text.
waitForElementIDNoOptional element ID to wait for after setting text.
waitForLabelIncludesNoOptional element label substring to wait for after setting text.
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It mentions focusing the control and firing editing-change events, which are important side effects. However, it does not describe post-action waiting behavior or potential issues, despite the schema including many wait parameters.

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 a single sentence with no filler, efficiently communicating the core action, target, and side effects. It is appropriately concise and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite the core action being clear, the description lacks context on when to use this tool versus type_text and does not mention the built-in waiting/timeout behavior after setting text—important given the many wait-related parameters. No output schema exists, so the description should have provided more post-condition context.

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 description coverage is 100%, so the schema fully documents all 11 parameters. The description adds little beyond the schema, only clarifying that 'id' is a stable identifier and the action is to replace text. It does not elaborate on timeout or wait parameters, but the schema already does.

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 action (replace text), target (UITextField/UITextView), method (by stable DebugBridge ID), and side effects (focusing, firing editing-change events). This specificity distinguishes it from siblings like type_text, which likely simulates typing rather than replacing.

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

Usage Guidelines2/5

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

No explicit guidance is provided on when to use this tool versus alternatives like type_text or tap_element. The description does not state prerequisites, exclusions, or preferred scenarios, leaving the agent to infer usage from the name and schema.

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/Immmmmmortal1/UI-dbugbridge-mcp'

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