Skip to main content
Glama

MQScript MCP Server

by allegiant

mqscript_if

Generate conditional logic in MQScript to execute different code blocks based on specified conditions for mobile automation workflows.

Instructions

Create an If statement structure

Input Schema

NameRequiredDescriptionDefault
conditionYesCondition to evaluate
elseBodyNoCode to execute if condition is false (optional)
thenBodyNoCode to execute if condition is true // Then body

Input Schema (JSON Schema)

{ "properties": { "condition": { "description": "Condition to evaluate", "type": "string" }, "elseBody": { "default": "", "description": "Code to execute if condition is false (optional)", "type": "string" }, "thenBody": { "default": " // Then body", "description": "Code to execute if condition is true", "type": "string" } }, "required": [ "condition" ], "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