Skip to main content
Glama

MQScript MCP Server

by allegiant

mqscript_instr

Locate the position of a substring within a string for mobile automation scripting, enabling precise text manipulation and UI interaction control.

Instructions

Find position of substring in string

Input Schema

NameRequiredDescriptionDefault
resultVariableNoVariable name to store resultresult
searchTextYesText to search for
startPosNoStarting position (optional, 1-based)
textYesString to search in

Input Schema (JSON Schema)

{ "properties": { "resultVariable": { "default": "result", "description": "Variable name to store result", "type": "string" }, "searchText": { "description": "Text to search for", "type": "string" }, "startPos": { "default": 1, "description": "Starting position (optional, 1-based)", "type": "number" }, "text": { "description": "String to search in", "type": "string" } }, "required": [ "text", "searchText" ], "type": "object" }

Other Tools from MQScript MCP Server

Related Tools

    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/allegiant/MQScript_MCP'

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