Docs/Skills/Palindrome Checker Skill

Palindrome Checker Skill

Check if text is a palindrome

OperationalCredits 2 per callp50 337msText Processing

Overview

Palindrome Checker works by cleaning and normalizing text according to specified options, then comparing it with its reverse. Also finds the longest palindromic substring using efficient algorithms for additional text analysis.

Live Test Palindrome Checker Skill Skill →

The tool

Once your client is connected to the VerveKit server, this appears in its tool list as PalindromeCheckerSkill. It is read-only and open-world — it fetches and never mutates anything on your side — so most clients call it without asking you to confirm.

Tool call
{
  "name": "PalindromeCheckerSkill",
  "arguments": {
    "text": "A man a plan a canal Panama"
  }
}

You do not name the tool yourself; the model picks it. Asking about A man a plan a canal Panama in the terms this skill covers is enough for it to reach for PalindromeCheckerSkill on its own — naming it explicitly also works, and is the way to force the call.

Connecting

One server URL covers every skill in the catalog, including this one. Authorization is OAuth: the client opens a browser once, and there is no key to paste into a config file.

{
  "mcpServers": {
    "vervekit": {
      "url": "https://api.vervekit.com/v1/mcp"
    }
  }
}

Per-client setup — Claude, Cursor, VS Code, ChatGPT — is on the MCP setup page.

Arguments

These are the properties on the tool's inputSchema, so a well-behaved client validates them before the call is made. Premium arguments are accepted on every plan but only take effect on plans that include them.

ArgumentTypeDescription
textRequiredstringThe text to check for palindrome. Maximum 20000 characters
length 0–20000
ignorecaseOptionalbooleanIgnore case when checking (default: true)
default true
ignorespacesOptionalbooleanIgnore spaces when checking (default: true)
default true
ignorepunctuationOptionalbooleanIgnore punctuation when checking (default: true)
default true

What the model gets back

The result carries a structuredContent object matching the tool's declared outputSchema, so a client reads fields without parsing prose. status is "ok" and error is null on success; a null field means the value was not available for that input, not that the call failed.

Result
{
  "status": "ok",
  "error": null,
  "data": {
    "text": "A man a plan a canal Panama",
    "is_palindrome": true,
    "cleaned_text": "amanaplanacanalpanama",
    "reversed_text": "amanaplanacanalpanama",
    "length": 21,
    "options": {
      "ignore_case": true,
      "ignore_spaces": true,
      "ignore_punctuation": true
    },
    "longest_palindrome_substring": "amanaplanacanalpanama",
    "longest_palindrome_length": 21
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
textstringA man a plan a canal PanamaThe text that was checked
is_palindromebooleantrueWhether the text is a valid palindrome
cleaned_textstringamanaplanacanalpanamaText after applying normalization options
reversed_textstringamanaplanacanalpanamaThe normalised text reversed, which is what the comparison is made against
lengthnumber21Length of the text that was checked
optionsobject{…}Which normalisations were applied before comparing
options.ignore_casebooleantrueWhether capitalisation was ignored
options.ignore_spacesbooleantrueWhether spaces were ignored
options.ignore_punctuationbooleantrueWhether punctuation was ignored
longest_palindrome_substringPremiumstringamanaplanacanalpanamaLongest palindromic substring found
longest_palindrome_lengthnumber21Length of longest_palindrome_substring, measured on the cleaned text.

Failure modes

Errors come back as tool errors carrying a sentence the model can act on, not a bare status code. Error handling covers the full list.

StatusWhat it means
400 / 422The arguments did not validate. The message names the offending one.
401The OAuth session is invalid or expired — reconnect the server.
403Blocked by a key restriction or an IP allow-list. Never a bad identity.
404This skill is not part of VerveKit. Check the catalog.
429Out of credits, or a brief rate limit. The message tells them apart.

A call costs 2 credits each time the tool actually runs; a model that reasons about the tool without calling it costs nothing.

Use cases

Word Games
Validate palindromes in word puzzles, games, and educational applications
Text Analysis
Analyze text patterns and linguistic properties in natural language processing
Input Validation
Check usernames, passwords, or text inputs for palindromic patterns
Educational Tools
Create interactive learning tools for teaching palindromes and text patterns

Other ways to use Palindrome Checker Skill

Set up Palindrome Checker Skill on VerveKit, or reach the same source a different way. Your VerveKit account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →

More in Text Processing:

Was this page helpful?