We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-power-assist'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
openapi.json•23.5 KiB
{
"openapi": "3.0.0",
"info": {
"title": "Power Assist",
"version": "1.0.0",
"description": "RapidAPI: elevate-digital-elevate-digital-default/power-assist"
},
"servers": [
{
"url": "https://power-assist.p.rapidapi.com"
}
],
"paths": {
"/api/validate/regex": {
"post": {
"summary": "Regex",
"description": "Validates that a String against a supplied RegEx pattern. Include the leading and trailing '/' in your RegEx pattern and optionally append flags.",
"operationId": "regex",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/median": {
"post": {
"summary": "Median",
"description": "Calculates the median from an Array of numbers. Strings that can be converted to numbers are allowed, but formatting such as commas are NOT supported.",
"operationId": "median",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/countInstances": {
"post": {
"summary": "CountInstances",
"description": "Get the number of occurrences of a substring within a string.",
"operationId": "countinstances",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/regexReplace": {
"post": {
"summary": "RegexReplace",
"description": "Find and replace within a String using a RegEx pattern. Include the leading and trailing '/' in your pattern and optionally append flags. If the /g flag is used, it will replace all occurrences. Use the /i flag to make the search ignore case.",
"operationId": "regexreplace",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/every": {
"post": {
"summary": "Every",
"description": "This action returns True if all of the items in an array match a specified condition; otherwise, it returns False.",
"operationId": "every",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/words": {
"post": {
"summary": "Words",
"description": "Split string by delimiter (String or RegEx pattern). The action splits by whitespace by default. If using RegEx, include the leading and trailing '/' in your pattern and optionally append flags.",
"operationId": "words",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/types/isArray": {
"post": {
"summary": "IsArray",
"description": "Validate whether a supplied Value is an Array.",
"operationId": "isarray",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/reverse": {
"post": {
"summary": "Reverse",
"description": "Reverse the order of an Array of any data type and returns it.",
"operationId": "reverse",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/findFirst": {
"post": {
"summary": "FindFirst",
"description": "Accepts an array of any data type, including objects. Returns the first item that matches the specified condition. If no item matches the condition, Null is returned. Use the 'this' keyword for the propertyName when the array is of a simple data type, such as string, integer, or boolean.",
"operationId": "findfirst",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/slugify": {
"post": {
"summary": "Slugify",
"description": "Transform text into an ASCII slug which can be used in safely in URLs. Replaces whitespaces, accentuated, and special characters with a dash. Many non-ASCII characters are transformed to similar versions in the ASCII character set.",
"operationId": "slugify",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/trimEnd": {
"post": {
"summary": "TrimEnd",
"description": "Trim whitespace (by default) or specified characters from the end of a string.",
"operationId": "trimend",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/replaceAll": {
"post": {
"summary": "ReplaceAll",
"description": "In a string, find and replace all instances of a substring. This action is case sensitive. Does not accept RegEx. To use RegEx and control case sensitivity, see the \\",
"operationId": "replaceall",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/trimStart": {
"post": {
"summary": "TrimStart",
"description": "Trim whitespace (the default) or specified characters only at the start of a string.",
"operationId": "trimstart",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/trim": {
"post": {
"summary": "Trim",
"description": "Trims leading and trailing whitespace (the default) or specified characters from a string.",
"operationId": "trim",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/escapeHtml": {
"post": {
"summary": "EscapeHtml",
"description": "Convert HTML special characters, like \\u003c and \\u003e, to their entity equivalents (for example \\u0026lt; and \\u0026gt;). This action supports cent, yen, euro, pound, lt, gt, copy, reg, quote, amp, and apos.",
"operationId": "escapehtml",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/wordCount": {
"post": {
"summary": "WordCount",
"description": "Count the words in a String by a delimiter (String or RegEx pattern). The delimiter is whitespace by default. If using RegEx, include the leading and trailing '/' in your pattern and optionally append flags.",
"operationId": "wordcount",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/prepend": {
"post": {
"summary": "Prepend",
"description": "Given an Array and a Value, this action adds the Value as the first item in the Array and returns the resulting Array. If an Array is supplied as the Value, a flat array will be returned with each of the items prepended.",
"operationId": "prepend",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/groupBy": {
"post": {
"summary": "GroupBy",
"description": "Group an Array of items. Accepts an Array of any data type. Returns a \\",
"operationId": "groupby",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/filter": {
"post": {
"summary": "Filter",
"description": "Filter an Array of any data type (except nested Arrays) based on a specified condition. If the array consists of a simple data type such as String, Integer, or Boolean, use the 'this' keyword in the propertyName parameter. If the array consists of Objects, specify the property to compare against in the propertyName parameter.",
"operationId": "filter",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/sort": {
"post": {
"summary": "Sort",
"description": "Perform a simple sort on an Array of any data type and returns it. If an empty Array is provided, it will be returned.",
"operationId": "sort",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/floor": {
"post": {
"summary": "Floor",
"description": "Rounds a number down to the nearest integer. Supports numbers passed in as strings, but does NOT support commas or other formatting in number strings. If an integer is passed in, it will be returned unchanged.",
"operationId": "floor",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/ceil": {
"post": {
"summary": "Ceil",
"description": "Rounds a number up to the nearest integer. Supports numbers passed in as strings, but does NOT support commas or other formatting in number strings. If an integer is passed in, it will be returned unchanged.",
"operationId": "ceil",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/random": {
"post": {
"summary": "Random",
"description": "Generates a pseudo-random number between the minimum of 0 and the specified maximum (maximum must be 1, 10, 100, 1000, 10000).",
"operationId": "random",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/average": {
"post": {
"summary": "Average",
"description": "Calculates the average (mean) from an Array of numbers. Strings that can be converted to numbers are allowed, but formatting such as commas are NOT supported.",
"operationId": "average",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/mode": {
"post": {
"summary": "Mode",
"description": "Calculates the mode (the number that occurs most often) from an Array of numbers. Strings that can be converted to numbers are allowed, but formatting such as commas are NOT supported. If multiple instances of the same number are passed in separately, one as a string and one as a number, they will be counted as instances of the same number. If no numbers occur more than once, the last number in the array will be returned.",
"operationId": "mode",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/math/round": {
"post": {
"summary": "Round",
"description": "Rounds a number to the nearest integer. If an integer is passed in, it will be returned unchanged. Supports numbers passed in as strings, but does NOT support commas or other formatting in number strings.",
"operationId": "round",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/objectToArray": {
"post": {
"summary": "ObjectToArray",
"description": "Accepts an Object and returns an Array based on the Object's keys, allowing looping on the Object. If Null or an empty object is passed in, an empty Array will be returned.",
"operationId": "objecttoarray",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/clean": {
"post": {
"summary": "Clean Whitespace",
"description": "Trim and replace multiple spaces with a single space. (This includes whitespace characters like \\ and \\ .) For cleaning special characters out of a string for a URL, use Slugify.",
"operationId": "clean_whitespace",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/cleanDiacritics": {
"post": {
"summary": "CleanDiacritics",
"description": "Replace all diacritic characters (letters with glyphs) in a string with the closest ASCII equivalents.",
"operationId": "cleandiacritics",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/stripHtml": {
"post": {
"summary": "StripHtml",
"description": "Remove all HTML and XML tags from a string.",
"operationId": "striphtml",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/unescapeHtml": {
"post": {
"summary": "UnescapeHtml",
"description": "Convert entity characters (for example, \\u0026lt;) to HTML equivalents (for example, \\u003c). This action supports cent, yen, euro, pound, lt, gt, copy, reg, quote, amp, apos, and nbsp.",
"operationId": "unescapehtml",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/capitalize": {
"post": {
"summary": "Capitalize",
"description": "Sets the first character of the string to upper case, and all subsequent characters to lower case.",
"operationId": "capitalize",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/string/chop": {
"post": {
"summary": "Chop",
"description": "Chop the string into an Array based on an interval, which defines the size of the pieces.",
"operationId": "chop",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/types/isNullOrEmpty": {
"post": {
"summary": "IsNullOrEmpty",
"description": "Check if value is null or empty. Can be used for Strings, Arrays, or Objects.",
"operationId": "isnullorempty",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/sortByProperty": {
"post": {
"summary": "SortByProperty",
"description": "Accepts an Array of Objects and sorts it by the object Property specified. If any objects lack the specified property, it will still perform the sort. Optionally accepts the parameter 'descending'. If left out, it will default to ascending. If an empty Array is provided, it will be returned.",
"operationId": "sortbyproperty",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/types/isString": {
"post": {
"summary": "IsString",
"description": "Validates whether a supplied value is of type String.",
"operationId": "isstring",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/types/isObject": {
"post": {
"summary": "IsObject",
"description": "Validate whether a supplied Value is an Object. Empty Objects will evaluate to True. Arrays and other data types will evaluate to False.",
"operationId": "isobject",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/types/isNumber": {
"post": {
"summary": "IsNumber",
"description": "Validates that a value is a Number. Numbers inside strings, such as \\",
"operationId": "isnumber",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/removeFirst": {
"post": {
"summary": "RemoveFirst",
"description": "Accepts an Array of any data type. Returns an Array with the first Item that matches the specified condition removed. If no Item matches the condition, the entire Array is returned.",
"operationId": "removefirst",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/array/any": {
"post": {
"summary": "Any",
"description": "This action returns True if any of the items in an array match a specified condition; otherwise, it returns False. If the array consists of a simple data type such as String, Integer, or Boolean, use the 'this' keyword in the propertyName parameter. If the array consists of Objects, specify the property to compare against in the propertyName parameter.",
"operationId": "any",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
},
"/api/validate/email": {
"post": {
"summary": "Email",
"description": "Validates that a String matches the common email format. Does NOT send an email. Returns True if the validation passes; otherwise, False.",
"operationId": "email",
"parameters": [],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {}
}
}
}
}
}
}
},
"components": {
"securitySchemes": {
"ApiAuth": {
"type": "apiKey",
"in": "header",
"name": "X-RapidAPI-Key"
}
}
},
"security": [
{
"ApiAuth": []
}
]
}