Skip to main content
Glama

x402-trim-lines

Trim Lines: Trim Lines

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText to process
inputNoInput to process

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

D1.7/5.0
Behavior1/5

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

No annotations and no output schema are provided, so the description carries the full behavioral burden, and it discloses nothing: no mutation semantics, no idempotency, no edge cases (blank input, trailing newline preservation), no output shape. For an unannotated text-transform tool this is a complete gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the brevity is under-specification rather than economy — no sentence carries any information an agent can act on. A single clarifying clause about what 'trim' means would have been worth more than the repeated title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With two loosely defined string parameters, no annotations, and no output schema, the definition should explain the trim behavior, the input expectations, and the return format. None of that is present, leaving the tool effectively unusable without experimentation.

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 coverage is nominally 100%, but the two parameters are simply 'text' and 'input', described as 'Text to process' and 'Input to process' — placeholders that add no meaning and create ambiguity about which one the tool actually consumes. The description does not disambiguate them, so it fails to compensate for a schema that is technically covered but semantically empty.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is the tool name repeated verbatim ('Trim Lines: Trim Lines'), which is a tautology rather than an explanation. It never states what gets trimmed (leading/trailing whitespace, empty lines, trailing spaces) or what form the input takes. In a sibling ecosystem containing near-neighbours like x402-remove-whitespace, x402-remove-empty-lines, x402-collapse-spaces and x402-dedent-lines, an agent gets no basis for choosing this tool.

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 statement of when to use this tool, when to prefer one of the many overlapping whitespace/line-editing siblings, or what preconditions exist. The description does not mislead, but it offers zero routing 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