Skip to main content
Glama

unicode-check

Unicode smuggling check for strings (prompts, tool args, URLs) — Checks up to 100 strings in one call against the 19 deterministic rules of unicode-safety-check: bidi controls (Trojan Source), invisible and zero-width characters, tag-character and variation-selector payloads, homoglyph and mixed-script hosts or names. Built for an agent's hot path: run it on a prompt, a tool argument, a URL or a model output before acting on it. Returns BLOCK / REVIEW / NO_FIND

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": {
      "strings": "<strings>"
    },
    "name": "unicode-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNotext (default): prose, only critical findings block. identifier or url: high findings such as mixed-script names also block.
stringsYesUp to 200000 characters in total.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the full behavioral burden, and it does most of it: batch limit of 100 strings per call, a deterministic 19-rule evaluation, and a three-way verdict (BLOCK / REVIEW / NO_FIND) that implies the tool reports rather than mutates. It never explicitly states the tool is read-only and non-mutating, which is the main remaining gap for a safety-checking tool.

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 purpose and scope are front-loaded in the first clause, and the rule enumeration and usage guidance follow in a logical order with no filler. The middle sentence is dense with parenthetical examples but each one earns its place by clarifying a rule family.

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 and no annotations, the description must explain the return contract, and it does name the three verdicts (BLOCK / REVIEW / NO_FIND) — though the final token appears truncated and the shape of per-string results is not described. For a two-parameter batch checker this is close to complete, but the result structure is left partly implicit.

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 schema already documents both the strings array (item maxLength, maxItems 100, minItems 1) and the kind enum's text/identifier/url blocking thresholds. The description echoes the 100-string cap but adds no new meaning about how kind changes verdicts beyond what the enum description already says, so the baseline of 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 definition gives a specific verb and resource ("Unicode smuggling check for strings") and enumerates the rule families covered: bidi controls/Trojan Source, zero-width characters, tag-character and variation-selector payloads, homoglyphs, and mixed-script hosts. That is far more than a restatement of the name. It stops short of a 5 because the only comparison named is "unicode-safety-check" (the rule set), not the sibling tool unicode-safety-gate, so an agent cannot tell the two apart from the description alone.

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 gives concrete when-to-use guidance: run it on a prompt, a tool argument, a URL, or a model output before acting on it, and it frames this as a hot-path pre-action check. No when-not-to-use condition or named alternative is offered, so an agent cannot infer when the sibling unicode-safety-gate would be the better pick.

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