Skip to main content
Glama

text metadata

cli_text_metadata

Check for or remove C2PA text wrappers, VSRMark soft bindings, and Unicode steganography to detect and strip AI provenance metadata from text files.

Instructions

Check or remove C2PA text/HTML wrappers, VSRMark soft bindings, and Unicode steganography.

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_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkNoCheck for AI text metadata and steganography (don't modify).
outputNoOutput path (default: <source>_clean.<ext>).
removeNoRemove AI text metadata and steganography.
sourceYessource

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.58.1

TDQS

B3.2/5.0
Behavior3/5

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

Only openWorldHint=false is supplied, so the description must clarify the mutation behavior. It never says whether 'remove' is reversible, whether it rewrites the source in place or writes the derived <source>_clean file implied by the schema, or whether check and remove are mutually exclusive. Naming the concrete metadata formats does add real context beyond the annotations.

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?

A single front-loaded sentence with no filler. It is efficient but so compact that it squeezes two distinct operations into one clause without separating their behaviors.

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 and no annotation coverage beyond openWorldHint, the description should say more about what a check returns and what removal produces. Parameter documentation is complete via the schema, so the gap is in behavioral and result expectations rather than inputs.

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 coverage is 100%, so all four parameters are already documented, establishing a baseline of 3. The description adds specificity by enumerating the metadata formats (C2PA, VSRMark, Unicode) that the generic schema phrasing 'AI text metadata' does not name, but nothing about output naming conflicts or mode interaction.

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 pair ('Check or remove') plus the exact resource classes: C2PA text/HTML wrappers, VSRMark soft bindings, and Unicode steganography. An agent knows precisely what artifact domain this touches, though nothing distinguishes it from text-oriented siblings like cli_text_identify or cli_text_invisible.

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?

The words 'check or remove' imply two modes but the schema's check/remove booleans already convey that. There is no guidance on when to pick this over cli_text_identify, cli_text_invisible, or cli_text_all, and no stated prerequisites or exclusions.

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