UK Data: Code utilities is an MCP server published by uk.co.reliness, hosted at ukdata.reliness.co.uk. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 32 tools, including is_valid_ip_address, find_max_subarray_sum, merge_dictionaries, find_kth_smallest, count_bits.
Deterministic string, list and number routines: palindromes, sorting, searching, validation, merging
193 connections through 4 shared values. Tap any node.
Validates whether a string is a properly formatted IPv4 address with four octets (0-255) separated by dots. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| ip | string | string, required, the IP address string to validate |
{
"name": "is_valid_ip_address",
"description": "Validates whether a string is a properly formatted IPv4 address with four octets (0-255) separated by dots. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ip": {
"type": "string",
"description": "string, required, the IP address string to validate"
}
}
},
"annotations": {
"title": "is valid ip address",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Finds the maximum sum of any contiguous subarray using Kadane's algorithm. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array of numbers, required, the list of integers to analyze |
{
"name": "find_max_subarray_sum",
"description": "Finds the maximum sum of any contiguous subarray using Kadane's algorithm. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of numbers, required, the list of integers to analyze"
}
}
},
"annotations": {
"title": "find max subarray sum",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Merges two dictionaries into a single dictionary, with values from the second dictionary overwriting those from the first for duplicate keys. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| dict1 | string | object, required, the first dictionary |
| dict2 | string | object, required, the second dictionary to merge into the first |
{
"name": "merge_dictionaries",
"description": "Merges two dictionaries into a single dictionary, with values from the second dictionary overwriting those from the first for duplicate keys. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"dict1": {
"type": "string",
"description": "object, required, the first dictionary"
},
"dict2": {
"type": "string",
"description": "object, required, the second dictionary to merge into the first"
}
}
},
"annotations": {
"title": "merge dictionaries",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the kth smallest number in an unsorted list (1-indexed, where k=1 returns the smallest element). (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| k | string | integer, required, the position of the desired smallest element (1-indexed) |
| nums | any | array of numbers, required, the list of numbers to search |
{
"name": "find_kth_smallest",
"description": "Finds the kth smallest number in an unsorted list (1-indexed, where k=1 returns the smallest element). (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"k": {
"type": "string",
"description": "integer, required, the position of the desired smallest element (1-indexed)"
},
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of numbers, required, the list of numbers to search"
}
}
},
"annotations": {
"title": "find kth smallest",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Counts the number of set bits (1's) in the binary representation of a non-negative integer. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| num | string | integer, required, the non-negative integer to analyze |
{
"name": "count_bits",
"description": "Counts the number of set bits (1's) in the binary representation of a non-negative integer. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"num": {
"type": "string",
"description": "integer, required, the non-negative integer to analyze"
}
}
},
"annotations": {
"title": "count bits",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Performs binary search on a sorted list to find the index of a target value, returning -1 if not found. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| arr | any | array of numbers, required, the sorted list to search |
| target | ["number","string"] | number, required, the value to find |
{
"name": "binary_search",
"description": "Performs binary search on a sorted list to find the index of a target value, returning -1 if not found. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"arr": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of numbers, required, the sorted list to search"
},
"target": {
"type": [
"number",
"string"
],
"description": "number, required, the value to find"
}
}
},
"annotations": {
"title": "binary search",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Reverses the order of characters in a given string, returning the string backwards. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| text | string | string, required, the text string to reverse |
{
"name": "reverse_string",
"description": "Reverses the order of characters in a given string, returning the string backwards. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"text": {
"type": "string",
"description": "string, required, the text string to reverse"
}
}
},
"annotations": {
"title": "reverse string",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the minimum number of meeting rooms required to accommodate all meetings given their time intervals. Uses interval scheduling algorithm. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| intervals | any | array of arrays, required, list of meeting time intervals where each interval is [start_time, end_time] |
{
"name": "min_meeting_rooms",
"description": "Finds the minimum number of meeting rooms required to accommodate all meetings given their time intervals. Uses interval scheduling algorithm. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"intervals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of arrays, required, list of meeting time intervals where each interval is [start_time, end_time]"
}
}
},
"annotations": {
"title": "min meeting rooms",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}For each element in a list, finds the next greater element to its right. Returns -1 if no greater element exists. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array of numbers, required, list of numbers to process |
{
"name": "find_next_greater_element",
"description": "For each element in a list, finds the next greater element to its right. Returns -1 if no greater element exists. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of numbers, required, list of numbers to process"
}
}
},
"annotations": {
"title": "find next greater element",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Adds two binary numbers represented as strings and returns the sum as a binary string. Performs binary arithmetic with carry propagation. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| a | string | string, required, first binary number as string (e.g., '1010') |
| b | string | string, required, second binary number as string (e.g., '1101') |
{
"name": "binary_addition",
"description": "Adds two binary numbers represented as strings and returns the sum as a binary string. Performs binary arithmetic with carry propagation. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"a": {
"type": "string",
"description": "string, required, first binary number as string (e.g., '1010')"
},
"b": {
"type": "string",
"description": "string, required, second binary number as string (e.g., '1101')"
}
}
},
"annotations": {
"title": "binary addition",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if a string is a valid palindrome, considering only alphanumeric characters and ignoring case and spaces. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| text | string | string, required, text to check, no unit, no default |
{
"name": "is_palindrome",
"description": "Checks if a string is a valid palindrome, considering only alphanumeric characters and ignoring case and spaces. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"text": {
"type": "string",
"description": "string, required, text to check, no unit, no default"
}
}
},
"annotations": {
"title": "is palindrome",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Sorts a list of numbers in ascending order using a deterministic sorting algorithm. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| numbers | any | array, required, list of numeric values to sort, no unit, no default |
{
"name": "sort_numbers",
"description": "Sorts a list of numbers in ascending order using a deterministic sorting algorithm. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"numbers": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of numeric values to sort, no unit, no default"
}
}
},
"annotations": {
"title": "sort numbers",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds all unique pairs of integers in a list that sum to a specified target value. Returns pairs as arrays. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array, required, list of integers, no unit, no default |
| target | string | integer, required, target sum value, no unit, no default |
{
"name": "find_pairs_with_sum",
"description": "Finds all unique pairs of integers in a list that sum to a specified target value. Returns pairs as arrays. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of integers, no unit, no default"
},
"target": {
"type": "string",
"description": "integer, required, target sum value, no unit, no default"
}
}
},
"annotations": {
"title": "find pairs with sum",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if a number is a perfect square (i.e., the square of an integer). (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| num | ["number","string"] | number, required, number to check, no unit, no default |
{
"name": "is_perfect_square",
"description": "Checks if a number is a perfect square (i.e., the square of an integer). (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"num": {
"type": [
"number",
"string"
],
"description": "number, required, number to check, no unit, no default"
}
}
},
"annotations": {
"title": "is perfect square",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the n largest numbers from a list and returns them in descending order. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| n | string | integer, required, number of largest values to find, count, no default |
| nums | any | array, required, list of numeric values, no unit, no default |
{
"name": "find_n_largest",
"description": "Finds the n largest numbers from a list and returns them in descending order. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"n": {
"type": "string",
"description": "integer, required, number of largest values to find, count, no default"
},
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of numeric values, no unit, no default"
}
}
},
"annotations": {
"title": "find n largest",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if a string contains properly balanced and nested parentheses, brackets, and braces. Returns true if every opening symbol has a matching closing symbol in the correct order. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| s | string | string, required, the input string containing parentheses/brackets/braces to validate, no units, no default |
{
"name": "is_valid_parentheses",
"description": "Checks if a string contains properly balanced and nested parentheses, brackets, and braces. Returns true if every opening symbol has a matching closing symbol in the correct order. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"s": {
"type": "string",
"description": "string, required, the input string containing parentheses/brackets/braces to validate, no units, no default"
}
}
},
"annotations": {
"title": "is valid parentheses",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the minimum element in a rotated sorted array using binary search. The array was originally sorted in ascending order then rotated at some pivot point. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array of numbers, required, the rotated sorted array to search, no units, no default |
{
"name": "find_minimum_rotated_sorted_array",
"description": "Finds the minimum element in a rotated sorted array using binary search. The array was originally sorted in ascending order then rotated at some pivot point. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of numbers, required, the rotated sorted array to search, no units, no default"
}
}
},
"annotations": {
"title": "find minimum rotated sorted array",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Flattens a nested list structure into a single-level list by recursively extracting all elements regardless of nesting depth. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nested_list | any | array, required, the nested list structure to flatten, no units, no default |
{
"name": "flatten_list",
"description": "Flattens a nested list structure into a single-level list by recursively extracting all elements regardless of nesting depth. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nested_list": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, the nested list structure to flatten, no units, no default"
}
}
},
"annotations": {
"title": "flatten list",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if two words are anagrams by comparing if they contain the same characters with the same frequencies, ignoring case and whitespace. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| word1 | string | string, required, first word to compare, no units, no default |
| word2 | string | string, required, second word to compare, no units, no default |
{
"name": "is_anagram",
"description": "Checks if two words are anagrams by comparing if they contain the same characters with the same frequencies, ignoring case and whitespace. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"word1": {
"type": "string",
"description": "string, required, first word to compare, no units, no default"
},
"word2": {
"type": "string",
"description": "string, required, second word to compare, no units, no default"
}
}
},
"annotations": {
"title": "is anagram",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the first character in a string that appears only once. Returns null if all characters repeat. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| s | string | string, required, the input string to search, no units, no default |
{
"name": "find_first_non_repeating_char",
"description": "Finds the first character in a string that appears only once. Returns null if all characters repeat. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"s": {
"type": "string",
"description": "string, required, the input string to search, no units, no default"
}
}
},
"annotations": {
"title": "find first non repeating char",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the equilibrium index in an array where the sum of elements to the left equals the sum of elements to the right. Returns -1 if no such index exists. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| arr | any | array of numbers, required, the input array to search, no units, no default |
{
"name": "find_equilibrium_index",
"description": "Finds the equilibrium index in an array where the sum of elements to the left equals the sum of elements to the right. Returns -1 if no such index exists. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"arr": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of numbers, required, the input array to search, no units, no default"
}
}
},
"annotations": {
"title": "find equilibrium index",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the missing number in a sequence of integers from 0 to n where exactly one number is missing. Uses sum formula or XOR method. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array of integers, required, list containing numbers from 0 to n with one missing, no units, no default |
{
"name": "find_missing_number",
"description": "Finds the missing number in a sequence of integers from 0 to n where exactly one number is missing. Uses sum formula or XOR method. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array of integers, required, list containing numbers from 0 to n with one missing, no units, no default"
}
}
},
"annotations": {
"title": "find missing number",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if a given number is an exact integer power of a specified base. Returns true if num = base^k for some non-negative integer k, false otherwise. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| num | ["number","string"] | number, required, the number to check |
| base | ["number","string"] | number, required, the base to test against |
{
"name": "is_power",
"description": "Checks if a given number is an exact integer power of a specified base. Returns true if num = base^k for some non-negative integer k, false otherwise. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"num": {
"type": [
"number",
"string"
],
"description": "number, required, the number to check"
},
"base": {
"type": [
"number",
"string"
],
"description": "number, required, the base to test against"
}
}
},
"annotations": {
"title": "is power",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds and returns the longest word in a given text string. If multiple words have the same maximum length, returns the first occurrence. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| text | string | string, required, the text to search for the longest word |
{
"name": "find_longest_word",
"description": "Finds and returns the longest word in a given text string. If multiple words have the same maximum length, returns the first occurrence. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"text": {
"type": "string",
"description": "string, required, the text to search for the longest word"
}
}
},
"annotations": {
"title": "find longest word",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Determines if a person can attend all meetings given a list of time intervals by checking for overlapping time slots. Returns true if no meetings conflict, false otherwise. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| intervals | any | array, required, list of meeting time intervals as [start, end] pairs |
{
"name": "can_attend_meetings",
"description": "Determines if a person can attend all meetings given a list of time intervals by checking for overlapping time slots. Returns true if no meetings conflict, false otherwise. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"intervals": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of meeting time intervals as [start, end] pairs"
}
}
},
"annotations": {
"title": "can attend meetings",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if one string is a rotation of another string by verifying if str1 appears in str2 concatenated with itself. Returns true if str1 is a rotation of str2, false otherwise. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| str1 | string | string, required, first string to compare |
| str2 | string | string, required, second string to check if it's a rotation of str1 |
{
"name": "is_rotation",
"description": "Checks if one string is a rotation of another string by verifying if str1 appears in str2 concatenated with itself. Returns true if str1 is a rotation of str2, false otherwise. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"str1": {
"type": "string",
"description": "string, required, first string to compare"
},
"str2": {
"type": "string",
"description": "string, required, second string to check if it's a rotation of str1"
}
}
},
"annotations": {
"title": "is rotation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds a peak element in a list where an element is greater than its neighbors. Returns the index of any peak element found. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array, required, list of integers to search |
{
"name": "find_peak_element",
"description": "Finds a peak element in a list where an element is greater than its neighbors. Returns the index of any peak element found. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of integers to search"
}
}
},
"annotations": {
"title": "find peak element",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the duplicate number in a list of integers where exactly one number appears more than once. Returns the duplicate value. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array, required, list of integers containing one duplicate |
{
"name": "find_duplicate_number",
"description": "Finds the duplicate number in a list of integers where exactly one number appears more than once. Returns the duplicate value. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of integers containing one duplicate"
}
}
},
"annotations": {
"title": "find duplicate number",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if a number equals the sum of the cubes of its digits (e.g., 153 = 1³ + 5³ + 3³). Returns true if the condition holds, false otherwise. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| num | string | integer, required, the number to check (must be non-negative) |
{
"name": "is_sum_of_cubes",
"description": "Checks if a number equals the sum of the cubes of its digits (e.g., 153 = 1³ + 5³ + 3³). Returns true if the condition holds, false otherwise. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"num": {
"type": "string",
"description": "integer, required, the number to check (must be non-negative)"
}
}
},
"annotations": {
"title": "is sum of cubes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Checks if a 9x9 Sudoku board is valid by verifying that each row, column, and 3x3 sub-grid contains no duplicate digits 1-9. Returns true if valid, false otherwise. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| board | any | array, required, 9x9 2D array representing the Sudoku board with digits 1-9 or empty cells |
{
"name": "validate_sudoku",
"description": "Checks if a 9x9 Sudoku board is valid by verifying that each row, column, and 3x3 sub-grid contains no duplicate digits 1-9. Returns true if valid, false otherwise. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"board": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, 9x9 2D array representing the Sudoku board with digits 1-9 or empty cells"
}
}
},
"annotations": {
"title": "validate sudoku",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Finds the majority element in a list that appears more than ⌊n/2⌋ times using Boyer-Moore voting algorithm. Returns the majority element if it exists, null otherwise. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| nums | any | array, required, list of integers to search |
{
"name": "find_majority_element",
"description": "Finds the majority element in a list that appears more than ⌊n/2⌋ times using Boyer-Moore voting algorithm. Returns the majority element if it exists, null otherwise. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"nums": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, list of integers to search"
}
}
},
"annotations": {
"title": "find majority element",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Merges two sorted lists into a single sorted list maintaining ascending order. Returns the merged sorted list. (cost: 1 credit)
| Parameter | Type | Description |
|---|---|---|
| list1 | any | array, required, first sorted list |
| list2 | any | array, required, second sorted list |
{
"name": "merge_sorted_lists",
"description": "Merges two sorted lists into a single sorted list maintaining ascending order. Returns the merged sorted list. (cost: 1 credit)",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"list1": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, first sorted list"
},
"list2": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"description": "array, required, second sorted list"
}
}
},
"annotations": {
"title": "merge sorted lists",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.