x402-space-to-tab
Space To Tab: Convert space to tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to process | |
| input | No | Input to process | |
| width | No | Width to process | |
| tabWidth | No | TabWidth to process |
Space To Tab: Convert space to tab.
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to process | |
| input | No | Input to process | |
| width | No | Width to process | |
| tabWidth | No | TabWidth to process |
Changes observed during successful MCP inspections.
Input schema / properties / textAdded value: +{
+ "description": "Text to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states the transformation but does not disclose whether the operation affects leading whitespace, all spaces, or specific patterns. It also does not indicate if 'width' and 'tabWidth' parameters control output format, leaving behavior ambiguous.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence that efficiently states the transformation. It is appropriately sized and contains no filler text, though it could be slightly more informative without sacrificing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given four parameters with 100% schema coverage, no annotations, and no output schema, the description is too sparse. It does not explain the difference between 'text' and 'input', the role of 'width' versus 'tabWidth', or the expected return format. For a tool with multiple parameters and no behavioral annotations, this leaves significant gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 four parameters. The description adds no extra meaning about how 'text', 'input', 'width', or 'tabWidth' are used. The baseline of 3 is appropriate when the schema does the heavy lifting, though the description's failure to clarify the apparent redundancy between 'text' and 'input' is a missed opportunity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb+resource: 'Convert space to tab.' This makes the tool's purpose clear on its own, and the name reinforces it. However, it does not differentiate from its sibling 'x402-tab-to-space' or 'x402-normalize-whitespace', offering no hint about how this tool relates to the reverse operation or other whitespace tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to use this tool versus alternatives. It does not mention the sibling 'x402-tab-to-space' or any other whitespace-normalization tools. An agent is left to infer usage purely from the name and description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.