Skip to main content
Glama

minia2a-mcp-remote

x402-truncate-middle

Truncate Middle: Shorten text to max characters, 20 by default, by replacing the middle with three dots and keeping both ends. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
maxNo
textNo
inputNo
lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / length / description
      Removed value: -"Length to process"
    • removedInput schema / properties / max / description
      Removed value: -"Max to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the transformation behavior (middle replaced by ellipsis, both ends preserved) plus a quota of 5 free trial calls per signed wallet, which is real operational context. It does not say what happens when the text is already shorter than the limit, whether the ellipsis counts toward the max, or anything about the payment path once the trial is exhausted.

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?

The behavioral sentence is front-loaded and wastes no words, stating verb, mechanism, and default in one pass. The trailing promotional/emoji fragment is minor noise but carries quota information, so it is not pure filler.

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?

The operation itself is simple, but the definition leaves an agent guessing on the one thing that matters for correct invocation: which of the four near-synonym parameters to populate. With no annotations, no output schema, and 0% schema description coverage, the description needed to resolve that ambiguity and does not.

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 0% across four parameters, and the schema itself is confusing: 'max' and 'length' both appear to mean the character limit, while 'text' and 'input' both appear to mean the content. The description only clarifies that 20 is the default limit; it never says which parameter is authoritative or that the duplicates exist. Substantial compensation was needed and not delivered.

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?

The description names a specific verb and resource (truncate/shorten text) and states the mechanism precisely: keep both ends, replace the middle with three dots, 20 chars default. That mechanism distinguishes it from a plain end-truncation tool. However, it never names the closest siblings (x402-truncate, x402-truncate-words, x402-truncate-decimal), leaving the agent to infer the distinction from the tool name alone.

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 or when-not-to-use guidance and no mention of alternatives such as x402-truncate (end truncation) or x402-truncate-words (word-boundary truncation), which are the obvious competitors in this catalog. The only contextual signal is the free-trial quota, which is pricing, not 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.