Skip to main content
Glama

Palindrome Checker

PalindromeChecker
Read-only

Palindrome Checker: Palindrome Checker tests whether a string reads the same forwards and backwards, with options to ignore casing, spacing, and punctuation. It returns the boolean verdict, the normalized text, the reversed comparison string, and the length of the longest palindromic sequence. (Cost: 1 credit)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "PalindromeChecker"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text to check for palindrome. Maximum 20000 characters
ignorecaseNoIgnore case when checking (default: true)
ignorespacesNoIgnore spaces when checking (default: true)
ignorepunctuationNoIgnore punctuation when checking (default: true)

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoError message, null on success
statusNo"ok" on success

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: the credit cost of one per call, and the fact that a normalized form is produced as part of the check. It does not contradict the annotations.

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

Conciseness4/5

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

The core behavior is front-loaded in the first sentence, with returned fields and cost following. It is compact, though the redundant 'Palindrome Checker:' prefix merely echoes the title and could be dropped.

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

Completeness4/5

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

An output schema exists, so the description need not explain the return payload, and the parameter set is fully covered by the schema. The only real gap is the absence of any usage or exclusion guidance, which for such a simple, low-risk tool is a minor omission.

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 description coverage is 100% and each boolean carries its own default and example, so the schema already documents all four parameters. The description restates the three ignore-flags in prose but adds no meaning about interaction between them or the 20,000-character limit, so the baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb and resource: it tests whether a string reads the same forwards and backwards, and names the normalization toggles (casing, spacing, punctuation). This is enough to separate it from nearby siblings such as ReverseText or RemovePunctuation, though it never names an alternative explicitly, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no routing to alternatives (e.g. ReverseText for pure reversal, RemovePunctuation for stripping). The context of a palindrome check is implied by the name alone, not by guidance in the text.

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.