Skip to main content
Glama

text invisible

cli_text_invisible

Removes statistical token watermarks from prose by regenerating unlocked spans, stripping invisible AI text provenance markers from content you generated.

Instructions

Remove statistical token watermarks by regenerating unlocked prose spans.

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": {
      "source": "<source>"
    },
    "name": "cli_text_invisible"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNoseed
outputNoOutput path (default: <source>_clean.<ext>).
sourceYessource
ollama_urlNoLocal Ollama Chat Completions base URL (default: http://127.0.0.1:11434/v1).
allow_partialNoKeep rejected prose unchanged and report partial regeneration.
rewriter_modelNoCheckpoint path or model ID for the selected backend.
strict_residualNoWith Ollama, regenerate retained sentences in a second pass.
rewriter_backendNorewriter backendtransformers

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.64.0
    • addedInput schema / properties / ollama_url
      Added value: +{
      +  "description": "Local Ollama Chat Completions base URL (default: http://127.0.0.1:11434/v1).",
      +  "type": "string"
      +}
    • changedInput schema / properties / rewriter_backend / enum
      Previous value: -[
      -  "transformers",
      -  "mlx"
      -]New value: +[
      +  "transformers",
      +  "mlx",
      +  "ollama"
      +]
    • changedInput schema / properties / rewriter_model / description
      Previous value: -"Local checkpoint path or Hugging Face model ID for prose rewriting."New value: +"Checkpoint path or model ID for the selected backend."
    • addedInput schema / properties / strict_residual
      Added value: +{
      +  "description": "With Ollama, regenerate retained sentences in a second pass.",
      +  "type": "boolean"
      +}
  2. Changed3 schema fields changedv0.63.0
    • addedInput schema / properties / allow_partial
      Added value: +{
      +  "description": "Keep rejected prose unchanged and report partial regeneration.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / rewriter_backend
      Added value: +{
      +  "default": "transformers",
      +  "description": "rewriter backend",
      +  "enum": [
      +    "transformers",
      +    "mlx"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / rewriter_model
      Added value: +{
      +  "description": "Local checkpoint path or Hugging Face model ID for prose rewriting.",
      +  "type": "string"
      +}
  3. Addedv0.58.1

TDQS

C2.9/5.0
Behavior2/5

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

The only annotation is openWorldHint=false, so the description carries the behavioral burden. It hints at the mechanism (regeneration) but omits that a rewriter model or backend must be available, that Ollama may be contacted at a local URL, that generation is slow and non-deterministic, and that prose will actually be rewritten rather than just scanned. It never states what happens to rejected spans or what the tool reports back.

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 a single tight sentence with the effect front-loaded and no filler. The only weakness is that the compressed phrase 'unlocked prose spans' trades clarity for brevity.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter tool with backend selection, partial-regeneration flags, and file output, one sentence is thin. With no output schema and minimal annotations, the description should at least state the model dependency, the output file behavior, and what 'partial' means in practice.

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 all eight parameters and the baseline of 3 applies. The description adds no meaning beyond the schema and does not clarify the interaction between allow_partial, strict_residual, and rewriter_backend.

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 description gives a specific verb and effect: remove statistical token watermarks by regenerating prose spans. That separates it from siblings like cli_text_identify or cli_text_metadata, which read rather than rewrite. It does not explain how it relates to cli_text_all or cli_visible, and the term 'unlocked prose spans' is left undefined.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite statement, and no alternative named. An agent cannot tell from the text whether to pick this over cli_text_all, cli_visible, or cli_batch. It also does not say when the operation is inappropriate, for example on non-prose or code content.

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