Skip to main content
Glama

x402-dedent

Dedent: Remove common leading whitespace from every line of multi-line text. Provide text or input; useful for cleaning indented code blocks. 🆓 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. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does imply a deterministic, side-effect-free text transformation and states the input expectation. It does not disclose edge-case behavior (tabs vs. spaces, mixed indentation, blank lines) or the shape of the returned text, which is the main remaining gap for a pure transform.

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?

Core definition is front-loaded in a single sentence, followed by practical usage context, with zero filler. The appended free-trial/pricing line is promotional noise but is brief and does not obscure the purpose.

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 simple pure-text transform with no annotations and no output schema, the description states the operation, the input options, and the intended use case — enough to call it correctly. Only edge-case and return-format details are absent, which is a modest gap for a tool of this complexity.

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 0% and both parameters are bare strings, so the description must compensate. 'Provide text or input' does add real meaning by signalling the two parameters are alternates rather than both required, but it does not say which takes precedence 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?

Names a specific verb ('Remove common leading whitespace') and resource ('every line of multi-line text'), which is precisely what dedenting means. It is distinguishable from siblings like x402-indent or x402-remove-whitespace, though it does not explicitly differentiate itself from the near-duplicate x402-dedent-lines.

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?

'Useful for cleaning indented code blocks' gives a concrete use context, which is more than nothing. But there is no explicit when-to-use vs. when-not guidance, no mention of x402-indent / x402-dedent-lines as alternatives, and no statement of what happens when lines have no common whitespace.

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