logicapps-mcp
v0.4.3MCP server for Azure Logic Apps - debug workflows, manage runs, and authoring
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_subscriptions
List all Azure subscriptions accessible to the authenticated user. Use this first to discover available subscriptions, then use list_logic_apps to find Logic Apps.
list_logic_apps
List all Logic Apps in a subscription or resource group. Returns both Consumption and Standard SKUs. Consumption Logic Apps have a single workflow; Standard Logic Apps can have multiple workflows (use list_workflows to see them).
| Parameter | Type | Description |
|---|---|---|
subscriptionId * | string | Azure subscription ID |
resourceGroupName | string | Filter by resource group (optional) |
sku | string | Filter by SKU type (default: all) |
list_workflows
List workflows within a Logic App. Standard SKU can have multiple workflows; Consumption SKU returns a single workflow with the same name as the Logic App. Use this to discover workflow names before calling other workflow-specific tools.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
get_workflow_definition
Get the full workflow definition JSON for a Logic App workflow. For Consumption SKU, omit workflowName. For Standard SKU, workflowName is required. Use update_workflow to modify the definition.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU, omit for Consumption) |
get_workflow_triggers
Get trigger information for a workflow including last/next execution times. For Standard SKU, workflowName is required. Use run_trigger to manually fire a trigger, or get_trigger_history to see past executions.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
list_run_history
Get the run history for a workflow with optional filtering. For Standard SKU, workflowName is required. Use search_runs for easier filtering by status/date. After finding a run, use get_run_details and get_run_actions to debug. Returns a nextLink if more pages are available - use skipToken to fetch the next page.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
filter | string | OData filter (e.g., "status eq 'Failed'") |
skipToken | string | Pagination token from a previous response's nextLink to fetch the next page of results |
top | number | Number of runs to return per page (default: 25, max: 100) |
workflowName | string | Workflow name (required for Standard SKU) |
get_run_details
Get detailed information about a specific workflow run including status, timing, and error summary. For Standard SKU, workflowName is required. Use get_run_actions to see which specific action failed.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | The run ID to retrieve |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
get_run_actions
Get the action execution details for a specific workflow run including status, timing, and trackedProperties. For Standard SKU, workflowName is required. Use get_action_io to see actual inputs/outputs for an action.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | The run ID |
subscriptionId * | string | Azure subscription ID |
actionName | string | Filter to a specific action (optional) |
workflowName | string | Workflow name (required for Standard SKU) |
get_connections
List API connections (e.g., Office 365, SQL, Service Bus) in a resource group. Connections are shared resources used by Logic Apps for authentication. Use get_connection_details or test_connection for more info.
| Parameter | Type | Description |
|---|---|---|
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
create_connection
Create a new API connection for a managed connector (e.g., azureblob, sql, servicebus, office365). For OAuth-based connectors (like azureblob with OAuth, office365), returns a consent link that must be opened in a browser to authorize. For parameter-based connectors (like SQL with connection string), provide the parameters directly. Common OAuth connectors: azureblob, office365, outlook, onedrive, sharepoint, dynamicscrm. Common parameter connectors: sql (server, database, username, password), servicebus (connectionString).
| Parameter | Type | Description |
|---|---|---|
connectionName * | string | Name for the new connection (e.g., 'azureblob-1', 'my-sql-connection') |
connectorName * | string | Managed connector name (e.g., 'azureblob', 'sql', 'servicebus', 'office365') |
location * | string | Azure region (e.g., 'westus2', 'eastus'). Should match Logic App region. |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
displayName | string | Friendly display name for the connection (optional, defaults to connectionName) |
parameterValues | object | Connection parameters for non-OAuth connectors. Examples: SQL: {server, database, username, password, encryptConnection}. ServiceBus: {connectionString}. Leave empty for OAuth connectors. |
get_connector_swagger
Get the OpenAPI/Swagger definition for a managed connector (e.g., msnweather, sql, servicebus, office365). Returns available operations, paths, and schemas. ESSENTIAL for discovering correct action paths when creating or updating workflows with connector actions.
| Parameter | Type | Description |
|---|---|---|
connectorName * | string | Connector name (e.g., 'msnweather', 'sql', 'servicebus', 'office365', 'azureblob') |
location * | string | Azure region where the connector is available (e.g., 'westus2', 'eastus') |
subscriptionId * | string | Azure subscription ID |
invoke_connector_operation
Invoke a dynamic operation on an API connection to fetch connection-specific data like dropdown values, schemas, or metadata. This is the equivalent of what the Logic Apps designer does when you click on a dropdown or text field - it calls the connector to populate the options. WHEN TO USE THIS TOOL: - After getting connector swagger with get_connector_swagger, you see operations with 'x-ms-dynamic-values' or 'x-ms-dynamic-schema' - You need to list available tables, queues, folders, or other resources from a connection - You need to get the schema/columns for a specific table or entity - You…
| Parameter | Type | Description |
|---|---|---|
connectionName * | string | Name of the API connection (e.g., 'sql-1', 'servicebus', 'azureblob') |
operationId * | string | The operationId from the connector swagger to invoke (e.g., 'GetTables', 'GetQueues', 'GetDataSets') |
resourceGroupName * | string | Resource group containing the API connection |
subscriptionId * | string | Azure subscription ID |
parameters | object | Parameters required by the operation. Check the swagger for required parameters. For example, GetTable requires {table: 'tableName'} |
get_host_status
Get host status for a Standard Logic App including runtime version, extension bundle version, and diagnostics. Only available for Standard SKU.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
list_workflow_versions
List all versions of a Consumption Logic App workflow with creation and change times. Only available for Consumption SKU.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
top | number | Number of versions to return (optional) |
get_trigger_history
Get the execution history of a specific trigger, showing when it fired, succeeded, or failed. Essential for debugging why a workflow didn't run when expected.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
triggerName * | string | Trigger name to get history for |
filter | string | OData filter (e.g., "status eq 'Failed'") |
top | number | Number of history entries to return (default: 25, max: 100) |
workflowName | string | Workflow name (required for Standard SKU) |
get_action_repetitions
Get iteration details for actions inside loops (ForEach, Until). Each iteration is a 'repetition' with its own status, inputs, outputs, and trackedProperties. For Standard SKU, workflowName is required. Essential for debugging loop failures.
| Parameter | Type | Description |
|---|---|---|
actionName * | string | Action name (the loop action) |
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | Run ID |
subscriptionId * | string | Azure subscription ID |
repetitionName | string | Specific repetition to get (e.g., '000000', '000001') |
workflowName | string | Workflow name (required for Standard SKU) |
get_action_request_history
Get HTTP request/response details for connector actions including retries. Shows actual HTTP calls made to external services with headers, status codes, and timing. For Standard SKU, workflowName is required. Useful for debugging API failures.
| Parameter | Type | Description |
|---|---|---|
actionName * | string | Action name (HTTP, connector actions) |
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | Run ID |
subscriptionId * | string | Azure subscription ID |
requestHistoryName | string | Specific request history entry name |
workflowName | string | Workflow name (required for Standard SKU) |
get_trigger_callback_url
Get the callback URL for request-based triggers (HTTP, manual). Returns the URL with SAS token for invoking the workflow. For Standard SKU, workflowName is required. Use run_trigger to test the workflow instead of calling the URL directly.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
triggerName * | string | Trigger name |
workflowName | string | Workflow name (required for Standard SKU) |
get_scope_repetitions
Get execution details for scope action iterations (Scope, Switch, Condition). Shows which branch executed, status, and trackedProperties. For Standard SKU, workflowName is required.
| Parameter | Type | Description |
|---|---|---|
actionName * | string | Scope action name |
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | Run ID |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
get_expression_traces
Get expression evaluation traces for an action. Shows how workflow expressions (e.g., @body(), @variables()) were evaluated at runtime, including the expression text, result value, and any errors. For Standard SKU, workflowName is required. Essential for debugging expression failures.
| Parameter | Type | Description |
|---|---|---|
actionName * | string | Action name |
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | Run ID |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
get_workflow_swagger
Get the OpenAPI/Swagger definition for a workflow. Shows trigger schemas and request/response formats. For Standard SKU, workflowName is required. Useful for API documentation or generating client SDKs.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
get_action_io
Get the actual input/output data for a run action. Fetches content from inputsLink/outputsLink URLs. For Standard SKU, workflowName is required. Essential for debugging data transformation issues.
| Parameter | Type | Description |
|---|---|---|
actionName * | string | Action name |
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | Run ID |
subscriptionId * | string | Azure subscription ID |
type | string | Which content to fetch (default: both) |
workflowName | string | Workflow name (required for Standard SKU) |
search_runs
Search run history with friendly parameters (status, startTime, endTime, clientTrackingId) instead of raw OData filter syntax. For Standard SKU, workflowName is required. Use this instead of list_run_history when filtering by specific criteria. Returns a nextLink if more pages are available - use skipToken to fetch the next page.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
clientTrackingId | string | Filter by correlation/tracking ID |
endTime | string | Filter runs starting before this ISO timestamp |
skipToken | string | Pagination token from a previous response's nextLink to fetch the next page of results |
startTime | string | Filter runs starting after this ISO timestamp (e.g., 2025-12-24T00:00:00Z) |
status | string | Filter by run status |
top | number | Number of runs to return per page (default: 25, max: 100) |
workflowName | string | Workflow name (required for Standard SKU) |
get_workflow_version
Get a specific historical version's definition. Only available for Consumption Logic Apps. Use list_workflow_versions to see available versions.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
versionId * | string | Version ID (from list_workflow_versions) |
get_connection_details
Get detailed information about a specific API connection including authentication status, configuration, and API reference. Use test_connection to verify the connection is working.
| Parameter | Type | Description |
|---|---|---|
connectionName * | string | API connection name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
test_connection
Test if an API connection is valid and working. Checks connection status and validates authentication. Use this to diagnose connector failures in workflow runs.
| Parameter | Type | Description |
|---|---|---|
connectionName * | string | API connection name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
enable_workflow
Enable a disabled workflow, allowing it to process triggers and run. For Consumption Logic Apps, enables the entire Logic App. For Standard Logic Apps, enables a specific workflow within the Logic App.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
disable_workflow
Disable an active workflow, stopping it from processing triggers and running. In-progress runs will continue until completion. For Consumption Logic Apps, disables the entire Logic App. For Standard Logic Apps, disables a specific workflow within the Logic App.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
run_trigger
Manually fire a workflow trigger to start a new run immediately, bypassing any schedule or event condition. For Standard SKU, workflowName is required. Use get_workflow_triggers first to find available trigger names. Then use list_run_history to see the result.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
triggerName * | string | The name of the trigger to run (e.g., 'manual', 'When_a_HTTP_request_is_received') |
workflowName | string | Workflow name (required for Standard SKU) |
cancel_run
Cancel a running or waiting workflow run. Only runs in 'Running' or 'Waiting' status can be cancelled. For Standard SKU, workflowName is required. Use list_run_history or search_runs to find running runs first.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | The run ID to cancel |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
resubmit_run
Resubmit a failed or cancelled workflow run to retry execution with the original inputs. Only runs with status 'Failed', 'Cancelled', or 'Succeeded' can be resubmitted. For Standard SKU, workflowName is required. Use get_run_details to check run status first.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
runId * | string | The run ID to resubmit |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
create_workflow
Create a new workflow. For Consumption SKU, creates a new Logic App resource. For Standard SKU, creates a new workflow within an existing Logic App. Requires a valid workflow definition JSON that follows the Logic Apps schema. IMPORTANT: When adding connector actions (e.g., SQL, Service Bus, MSN Weather), use get_connector_swagger first to discover the correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.
| Parameter | Type | Description |
|---|---|---|
definition * | object | The workflow definition JSON following the Logic Apps schema |
logicAppName * | string | Logic App resource name (for Consumption, this becomes the new Logic App name) |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
connections | object | API connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {"office365": {"connectionName": "office365-test", "id": "/s… |
kind | string | Workflow kind for Standard SKU (default: 'Stateful') |
location | string | Azure region (required for Consumption SKU, e.g., 'westus2', 'eastus') |
workflowName | string | Workflow name (required for Standard SKU) |
update_workflow
Update an existing workflow's definition. Replaces the entire definition with the new one. For Standard SKU, workflowName is required. Use get_workflow_definition first to get the current definition, modify it, then update. IMPORTANT: When adding connector actions, use get_connector_swagger to discover correct action paths and schemas. For Consumption SKU with connector actions, use the 'connections' parameter to wire up API connections.
| Parameter | Type | Description |
|---|---|---|
definition * | object | The new workflow definition JSON following the Logic Apps schema |
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
connections | object | API connection references for Consumption SKU. Object mapping connection names used in the definition to their connection details. Example: {"office365": {"connectionName": "office365-test", "id": "/s… |
kind | string | Workflow kind for Standard SKU (default: 'Stateful') |
workflowName | string | Workflow name (required for Standard SKU) |
delete_workflow
Delete a workflow. For Consumption SKU, deletes the entire Logic App resource. For Standard SKU, deletes a specific workflow within the Logic App. Use with caution as this action cannot be undone.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Logic App resource name |
resourceGroupName * | string | Resource group name |
subscriptionId * | string | Azure subscription ID |
workflowName | string | Workflow name (required for Standard SKU) |
clone_workflow
Clone a Consumption Logic App workflow to a Standard Logic App. IMPORTANT: Always run validate_clone_workflow first to check for compatibility issues before cloning. This copies the workflow definition from a Consumption Logic App to a new workflow in an existing Standard Logic App. The target Standard Logic App must already exist and the target workflow name must not already exist. Connections will need to be reconfigured after cloning.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Source Consumption Logic App name |
resourceGroupName * | string | Source Consumption Logic App resource group name |
subscriptionId * | string | Source Consumption Logic App subscription ID |
targetLogicAppName * | string | Target Standard Logic App name (must already exist) |
targetResourceGroupName * | string | Target Standard Logic App resource group name |
targetWorkflowName * | string | Name for the new workflow in the Standard Logic App |
targetKind | string | Workflow kind for the target (default: 'Stateful') |
targetSubscriptionId | string | Target Standard Logic App subscription ID (defaults to source subscription if not provided) |
validate_clone_workflow
Validate if a Consumption Logic App workflow can be cloned to a Standard Logic App without actually performing the clone. This checks for unsupported operations, connection compatibility, and other potential issues. Use this before clone_workflow to identify any problems that need to be addressed.
| Parameter | Type | Description |
|---|---|---|
logicAppName * | string | Source Consumption Logic App name |
resourceGroupName * | string | Source Consumption Logic App resource group name |
subscriptionId * | string | Source Consumption Logic App subscription ID |
targetLogicAppName * | string | Target Standard Logic App name (must already exist) |
targetResourceGroupName * | string | Target Standard Logic App resource group name |
targetWorkflowName * | string | Name for the new workflow in the Standard Logic App |
targetKind | string | Workflow kind for the target (default: 'Stateful') |
targetSubscriptionId | string | Target Standard Logic App subscription ID (defaults to source subscription if not provided) |
get_troubleshooting_guide
Get troubleshooting guidance for Logic Apps issues. Call this when debugging failed runs, expression errors, connection problems, or to understand platform limitations. Returns detailed patterns and solutions.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The troubleshooting topic: 'expression-errors' for null checks, type conversions, date handling; 'connection-issues' for OAuth, Managed Identity, auth problems; 'run-failures' for action failures, tri… |
get_authoring_guide
Get guidance for creating and modifying Logic Apps workflows. Call this when helping users build workflows, understand connector patterns, or set up deployment pipelines.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The authoring topic: 'workflow-patterns' for triggers, control flow, error handling; 'connector-patterns' for SQL, Service Bus, Blob, Office 365; 'deployment' for ARM, Terraform, CI/CD |
get_reference
Get reference documentation for Logic Apps. Call this for comprehensive tool usage details or when users ask about differences between Consumption and Standard SKUs.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The reference topic: 'tool-catalog' for all 33 MCP tools with examples; 'sku-differences' for Consumption vs Standard deep dive |
get_workflow_instructions
Get step-by-step instructions for handling common user requests. CALL THIS FIRST when a user asks high-level questions like 'why is my workflow failing?', 'what does this workflow do?', or 'create a workflow'. Returns detailed sequences of tool calls to complete the task.
| Parameter | Type | Description |
|---|---|---|
topic * | string | The instruction topic: 'diagnose-failures' when user asks about failures or errors; 'explain-workflow' to understand what a workflow does; 'monitor-workflows' to check status and health; 'create-workf… |