Skip to main content
Glama
Jambozx

OnlineCyberTools MCP (280+ filterable tools)

text_duplicate_word_remover

Read-onlyIdempotent

Removes duplicate words from text, keeping the first occurrence and discarding repeats. Supports case-insensitive comparison, punctuation stripping, sorting, and customizable output formats.

Instructions

Duplicate Word Remover (Deduplicate Words In Text). Removes duplicate words from text, keeping the first occurrence of each word and discarding later repeats. Words are split on whitespace. Use this to dedupe a word list or tags; use text_duplicate_line_remover to dedupe whole lines and text_remove_duplicate_characters to dedupe individual characters. Runs locally on the text you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/min anonymous). Returns the deduplicated text, before/after statistics (original, unique, removed, reduction percent), and a top-15 analysis of the most-repeated words.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text to deduplicate. Split into words on any run of whitespace.
caseSensitiveNoWhen true, Cat and cat are treated as different words; when false, comparison is case-insensitive.
removePunctuationNoWhen true, punctuation is stripped before comparing words so cat. and cat match.
sortResultsNoWhen true, the surviving unique words are sorted alphabetically; when false, original order is preserved.
outputFormatNoHow to join the unique words in the output: spaces joins with single spaces, lines joins with newlines, commas joins with a comma and space.spaces

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successNoWhether deduplication succeeded.
resultNoThe deduplicated output text joined per outputFormat.
statsNoBefore/after word counts.
duplicateAnalysisNoUp to 15 most-repeated words, sorted by count descending.
optionsNoThe effective options applied (caseSensitive, removePunctuation, sortResults, outputFormat).
Behavior4/5

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

Annotations already indicate read-only, non-destructive, and idempotent. Description adds valuable context: runs locally, rate-limited (60/min anonymous), and provides return statistics. No contradiction.

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?

Description is concise (5 sentences) and front-loaded with purpose. Every sentence adds value; no redundancy.

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?

Given 5 parameters, output schema exists, and sibling tools, the description is complete: covers purpose, usage, behavior, return values (statistics and top-15 analysis).

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%, so baseline is 3. Description does not add new parameter meaning beyond what the schema already provides; words are split on whitespace is mentioned in schema too.

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?

Description clearly states the tool removes duplicate words from text, keeping first occurrence, and splits on whitespace. It distinguishes from sibling tools text_duplicate_line_remover and text_remove_duplicate_characters.

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

Usage Guidelines5/5

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

Explicitly says when to use this tool (dedupe word list/tags) and when to use alternatives (line deduplication, character deduplication). Provides clear context and exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jambozx/onlinecybertools-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server