MCP Tool: get_available_workflow_filters

Retrieves available filter operators and logical operators that can be used in workflow filters. This tool helps you understand what filtering capabilities are available when configuring workflow triggers and conditions.

Example Prompt

Get available workflow filters

Input Parameters

This tool doesn’t require any input parameters.

Response Fields

Below are the fields you may see in the response:
FieldTypeDescription
filterOperatorsarrayAvailable filter operators for comparing values
logicalOperatorsarrayAvailable logical operators for combining conditions
dataTypesarraySupported data types for filter values

Filter Operator Structure

Each filter operator contains:
FieldTypeDescription
operatorstringThe operator symbol (e.g., “equals”, “contains”)
descriptionstringDescription of what the operator does
supportedTypesarrayData types this operator supports

Logical Operator Structure

Each logical operator contains:
FieldTypeDescription
operatorstringThe operator symbol (e.g., “AND”, “OR”)
descriptionstringDescription of what the operator does

Sample Response

{
  "data": {
    "filterOperators": [
      {
        "operator": "equals",
        "description": "Checks if the field value equals the specified value",
        "supportedTypes": ["string", "number", "boolean"]
      },
      {
        "operator": "not_equals",
        "description": "Checks if the field value does not equal the specified value",
        "supportedTypes": ["string", "number", "boolean"]
      },
      {
        "operator": "contains",
        "description": "Checks if the field value contains the specified substring",
        "supportedTypes": ["string"]
      },
      {
        "operator": "not_contains",
        "description": "Checks if the field value does not contain the specified substring",
        "supportedTypes": ["string"]
      },
      {
        "operator": "starts_with",
        "description": "Checks if the field value starts with the specified prefix",
        "supportedTypes": ["string"]
      },
      {
        "operator": "ends_with",
        "description": "Checks if the field value ends with the specified suffix",
        "supportedTypes": ["string"]
      },
      {
        "operator": "greater_than",
        "description": "Checks if the field value is greater than the specified value",
        "supportedTypes": ["number", "date"]
      },
      {
        "operator": "greater_than_or_equal",
        "description": "Checks if the field value is greater than or equal to the specified value",
        "supportedTypes": ["number", "date"]
      },
      {
        "operator": "less_than",
        "description": "Checks if the field value is less than the specified value",
        "supportedTypes": ["number", "date"]
      },
      {
        "operator": "less_than_or_equal",
        "description": "Checks if the field value is less than or equal to the specified value",
        "supportedTypes": ["number", "date"]
      },
      {
        "operator": "in",
        "description": "Checks if the field value is in the specified array of values",
        "supportedTypes": ["string", "number"]
      },
      {
        "operator": "not_in",
        "description": "Checks if the field value is not in the specified array of values",
        "supportedTypes": ["string", "number"]
      },
      {
        "operator": "is_null",
        "description": "Checks if the field value is null or undefined",
        "supportedTypes": ["any"]
      },
      {
        "operator": "is_not_null",
        "description": "Checks if the field value is not null or undefined",
        "supportedTypes": ["any"]
      },
      {
        "operator": "regex",
        "description": "Checks if the field value matches the specified regular expression",
        "supportedTypes": ["string"]
      }
    ],
    "logicalOperators": [
      {
        "operator": "AND",
        "description": "Combines multiple conditions - all must be true"
      },
      {
        "operator": "OR",
        "description": "Combines multiple conditions - at least one must be true"
      },
      {
        "operator": "NOT",
        "description": "Negates a single condition"
      }
    ],
    "dataTypes": [
      {
        "type": "string",
        "description": "Text values"
      },
      {
        "type": "number",
        "description": "Numeric values"
      },
      {
        "type": "boolean",
        "description": "True/false values"
      },
      {
        "type": "date",
        "description": "Date and time values"
      },
      {
        "type": "array",
        "description": "Arrays of values"
      }
    ]
  },
  "status": true,
  "message": "Available workflow filters retrieved successfully!",
  "timestamp": "2025-07-25T12:50:38.937Z"
}