Skip to main content
Glama

palindrome-checker

Read-onlyIdempotent

Test whether a word or phrase is a palindrome. Compares the input lowercased and stripped of non-alphanumeric characters against its reverse.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesWord or phrase to test.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
lengthYesLength of the cleaned input.
cleanedYesInput lowercased and stripped of non-alphanumeric characters.
reversedYesThe cleaned input reversed.
is_palindromeYesTrue if the input is a palindrome.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds valuable behavioral context: input is lowercased and stripped of non-alphanumeric characters before comparison. It does not explain return format, but output schema exists to cover that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler: the first states the core purpose, the second explains the algorithm. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a low-complexity tool with a single parameter and an output schema. The description covers the essential normalization behavior, making it fully sufficient for an agent to select and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with the parameter 'text' described as 'Word or phrase to test.' The description adds normalization processing details but does not alter or expand parameter meaning beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Test whether') and a well-defined resource ('a word or phrase is a palindrome'), with exact normalization behavior (lowercased, stripped of non-alphanumerics) that distinguishes it from sibling tools like reverse-text or case-converter.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The context is unmistakable: use this tool to test for palindromes. It doesn't explicitly name alternatives or exclusions, but the tool's niche is so distinct among siblings that no further guidance is needed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources