Skip to main content
Glama
agenson-tools

Structured Data Validator & Transformer MCP Server

clean_text

Remove HTML tags, fix encoding errors, and normalize whitespace to extract clean text from messy web content or user input.

Instructions

Remove HTML tags, fix encoding issues, normalize whitespace, and extract clean text from messy input. Perfect for agents processing scraped web content or user-submitted text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesText to clean and normalize
optionsNo
Behavior3/5

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

No annotations provided, so description carries full burden. Lists operations but omits details like idempotency, handling of invalid inputs, or exact whitespace normalization behavior. Adequate but not thorough.

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?

Two sentences: first lists actions, second states ideal use case. No redundant words; front-loaded with key info.

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?

Simple tool with clear purpose; description suffices for an agent to understand when and what it does. Missing return value description, but output is intuitive (cleaned text).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50% (only 'text' has a description at top level; 'options' lacks description). Description compensates by naming the operations, directly mapping to the options' functions, adding meaning beyond schema.

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?

Description clearly states specific actions: remove HTML tags, fix encoding, normalize whitespace, extract clean text. Sibling tools like validate_json_schema or normalize_data have no overlap, making this tool distinct.

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?

Explicitly recommends use for scraped web content or user-submitted text. Lacks mention of when not to use or alternatives, but context is clear enough for an agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agenson-tools/structured-data-validator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server