Skip to main content
Glama

text_unicode

Read-only

Unicode text inspector — Inspect any string at the code-point level: per-character code point (U+XXXX), UTF-8 bytes, UTF-16 units, general category and script, plus totals (code points, UTF-16 units, UTF-8 bytes, graphemes, words, lines), script and category mix, NFC/NFD/NFKC/NFKD equality and forms, URL-encoded form and a security verdict CLEAN/REVIEW/SUSPICIOUS. Flags invisible tag characters (and decodes ASCII smuggled in them - a prompt-injection trick), bidi overrides (Trojan Source), zero-width characters (emoji ZWJ sequences are exempt), unusual spaces, controls, private-use, unassigned and noncharacters, and mixed-script words (homograph spoofing). Params: text= (max 5000 UTF-16 units) OR codepoints= (U+1F600, 0x41, A, A lists); max_chars= rows in the per-character table (default 300, max 1000). Offline. Price: $0.001 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": "text_unicode"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYespаypal.com 👍🏽 café

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnly=true and destructive=false, and the description adds substantial context beyond them: a 5000 UTF-16 unit input cap, a 300/1000 row default and ceiling, the full detection list (tag characters, bidi overrides, zero-width, PUA, homographs), and the CLEAN/REVIEW/SUSPICIOUS verdict scale. The 'Offline' claim sits uneasily with openWorldHint=true, though the x402 payment path on Base plausibly explains external interaction; verdict thresholds are also undisclosed.

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 description is dense but front-loaded, leading with what it inspects and then the output inventory and detection list. Every clause carries information, though the long run-on enumeration of flags makes it slightly harder to scan than a bulleted structure would.

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

Completeness3/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 does the work of describing returns (per-character table, totals, script/category mix, normalization equality, URL-encoded form, verdict). But it omits what thresholds distinguish REVIEW from SUSPICIOUS, and its parameter section advertises arguments absent from the schema, leaving the interface partly inconsistent.

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?

It adds real meaning the schema lacks, notably the 5000 UTF-16 unit limit and accepted codepoint literal formats (U+1F600, 0x41, &#x41;, &#65;). However, it documents two parameters — codepoints= and max_chars= — that do not exist in the input schema, which would mislead an agent into passing unsupported arguments.

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 states a specific verb and resource ('Inspect any string at the code-point level') and enumerates the exact outputs: code point, UTF-8 bytes, UTF-16 units, category, script, normalization forms, and a security verdict. It is clearly differentiated from generic text tools and from the narrower security_hidden_text sibling by scoping itself to structural inspection plus totals/mixes.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the description explains how to supply input (text= or codepoints=) and the max_chars row cap, which tells an agent how to call it. But there is no explicit 'use this when…' guidance, no exclusions, and no named alternative (e.g., security_hidden_text) for agents who only want the hidden-character check.

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