Skip to main content
Glama

security_hidden_text

Read-only

Hidden text and homoglyph scanner — Scan a string for invisible and deceptive Unicode before it reaches an LLM, a parser or a human approver: Unicode TAG characters (ASCII smuggling prompt injection, decoded into hiddenMessage), bidi overrides (Trojan Source), zero-width characters, variation-selector runs, control and private-use characters, and mixed-script look-alike words (Latin mixed with Cyrillic/Greek). Returns DANGEROUS/SUSPICIOUS/CLEAN, a 0-100 score, positions, the cleaned text and a normalized skeleton for keyword matching. Offline. Param: text (up to 100k chars). Price: $0.003 USDC (Base, via x402).

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

Input Schema

NameRequiredDescriptionDefault
textYesLog in at pаypal.com to confirm your account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false), and the description adds real operational context beyond them: cost ($0.003 USDC via x402), a 100k character cap, the three-tier verdict plus 0-100 score, and the auxiliary outputs (positions, cleaned text, normalized skeleton). One tension to note: it advertises "Offline" while openWorldHint=true and a paid network payment flow are declared, which a careful agent may find slightly inconsistent.

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?

It is front-loaded with the purpose and the detection list, then closes with the cheap facts (param limit, price) in a compact trailing clause. The middle enumeration is long but each item is a distinct detection class rather than filler, so it is dense rather than bloated.

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?

With no output schema, the description carries the burden of describing returns, and it does so reasonably well — verdict labels, score range, positions, cleaned text, skeleton, and the hiddenMessage decode. It leaves minor ambiguity (positions of what exactly; is hiddenMessage always present or only when TAG characters are found) but an agent can call it correctly as described.

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

Parameters4/5

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

Schema coverage is 100% and there is only one parameter, so the baseline would be 3. The description still adds an operational constraint not present in the schema — "text (up to 100k chars)" — which is the one thing an agent needs to know before sending a large payload, so it earns above baseline.

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 concrete verb+resource ("Hidden text and homoglyph scanner — Scan a string for invisible and deceptive Unicode") and then enumerates the specific detections: TAG characters/ASCII smuggling, bidi overrides, zero-width, variation selectors, control/private-use, and mixed-script look-alikes. That is specific enough to separate it from generic siblings like text_diff, text_readability, or security_email_headers without opening any schema.

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?

It states a clear usage context — run it "before it reaches an LLM, a parser or a human approver" — which tells the agent where this belongs in a pipeline. It stops short of naming sibling alternatives or exclusions (e.g., when to prefer security_email_headers for full header analysis), so it is clear but not fully routing.

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