Skip to main content
Glama

x402-remove-whitespace

Remove Whitespace: Removes all whitespace characters from the text. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
inputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed1 schema field changed
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It does disclose the core behavior ('all whitespace characters' implies newlines and tabs are stripped, not just collapsed) and adds an auth/trial constraint, but it says nothing about the return value or what happens when both input fields are populated.

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?

Two short sentences, front-loaded with the operation, no padding. The 'Remove Whitespace:' prefix mildly duplicates the tool name but costs little.

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?

With no annotations, no output schema, and two ambiguous zero-documented parameters, the description leaves real gaps: which field to use, whether both are accepted, and what the response contains. For such a simple tool this is recoverable but not complete.

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

Parameters2/5

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

Schema description coverage is 0% and the two parameters are named 'text' and 'input' with no disambiguation. The description refers only to 'the text', which does not tell an agent which of the two near-duplicate fields to populate or what happens if both are supplied.

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 and resource: 'Removes all whitespace characters from the text.' An agent can immediately tell what the transformation is. It stops short of distinguishing itself from near neighbors such as x402-normalize-whitespace, x402-collapse-spaces, or x402-whitespace-count, so it is clear but not sibling-differentiated.

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 exclusion of alternatives, and no mention of the closely related whitespace tools in the sibling list. The only extra text is a pricing note ('5 free trial calls per signed wallet'), which is billing context rather than usage guidance.

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