Skip to main content
Glama

NotPeople Tools

Find and remove hidden characters

find_hidden_characters
Read-only

Scans text in any language for zero-width and other invisible characters, hidden Unicode tag messages, unusual spaces (including the U+202F narrow no-break space people call the “ChatGPT watermark”) and look-alike letters from another alphabet inside a word (e.g. Cyrillic “а” in an English word). Returns what was found, the clean text and character counts before and after. Emoji joiners and the joiners Arabic, Persian and Indic scripts need are kept. Cannot detect statistical watermarks such as SynthID — those leave no character behind.

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": "find_hidden_characters"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text to check.
fix_spacesNoReplace no-break, thin and other unusual spaces with a plain space.
fix_lookalikesNoSwap look-alike letters back to the word's own alphabet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With annotations already covering the safety profile (readOnlyHint=true, destructiveHint=false), the description adds genuine behavioral detail: it preserves emoji joiners and the joiners Arabic, Persian and Indic scripts require, and it discloses the format of what comes back (findings, clean text, before/after counts). The explicit SynthID limitation is a useful negative disclosure rather than something derivable from structured fields.

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?

Three dense sentences, front-loaded with the core scanning purpose and ending with the scope limit, so an agent reading only the first clause still gets the gist. The 'ChatGPT watermark' aside earns its place by giving a recognizable alias, though the parenthetical-plus-example load makes it slightly heavy.

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?

For a three-parameter, non-destructive tool with no output schema, the description supplies everything needed: detection scope, preservation rules, exclusion of statistical watermarks, and an explicit statement of what is returned (findings, clean text, before/after counts). Nothing an agent needs in order to call it correctly is missing.

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%, so the three parameters are already fully documented, and the baseline applies. The description adds rationale for the two optional flags by naming the specific phenomena they address (U+202F and look-alike letters), but it never mentions that these are toggles with defaults that can be turned off, so it adds flavor more than invocation guidance.

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 opens with a precise verb and resource ('scans text in any language for zero-width and other invisible characters') and then enumerates the exact classes it targets: hidden Unicode tag messages, unusual spaces including U+202F, and cross-alphabet look-alikes. It also scopes the tool by naming what it cannot find ('statistical watermarks such as SynthID'), so an agent knows exactly what this tool is for without help.

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?

Usage context is clear — you run it on text you suspect contains invisible or confusable characters, and it is explicitly not for statistical watermarks. It does not name an alternative sibling or spell out a when-not-to-use case relative to a specific other tool, so it stops short of full routing guidance.

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