Skip to main content
Glama

inspect_text

Read-only

Finds supported invisible Unicode formatting characters in source text, returning exact codes, line/column locations, and stable finding IDs for remediation.

Instructions

Find supported invisible Unicode formatting characters with exact Unicode codes, line/column and stable finding IDs. No authorship or AI-detector score. Maximum 120,000 UTF-16 units.

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

Input Schema

NameRequiredDescriptionDefault
textYesSource text to inspect, verbatim.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only/non-destructive/openWorld, so the description earns credit for the extra operational facts: a hard 120,000 UTF-16 unit ceiling and the fact that findings include stable IDs and line/column positions. It stops short of saying what happens when input exceeds the limit (error vs truncation).

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?

Three tight sentences, each carrying distinct information: what is found, what is not returned, and the size limit. No filler, and the core purpose is front-loaded.

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?

For a single-parameter read-only tool with no output schema, the description covers purpose, output shape, exclusions, and limits adequately. The only meaningful gap is behavior at or beyond the 120,000 unit maximum.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents 'text' as the verbatim source. The description adds nothing about the parameter itself, which is the expected baseline when the schema does the work.

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?

States a specific verb ('Find') and a specific resource ('supported invisible Unicode formatting characters'), plus what the result contains (Unicode codes, line/column, stable finding IDs). It does not explicitly name the sibling clean_text as the remediation counterpart, so the inspect-vs-clean distinction is only inferable from the verb.

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: 'Find' characters suggests detection before cleaning, and 'No authorship or AI-detector score' rules out one wrong expectation. There is no explicit when-to-use, when-not-to-use, or pointer to clean_text for removal, leaving the agent to infer the workflow.

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

Deploy Server

Other Tools