Skip to main content
Glama

minia2a-mcp-remote

x402-truncate

Truncate: Truncate a string to a length. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
nNo
maxNo
textNo
inputNo
ellipsisNo
maxLengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / ellipsis / description
      Removed value: -"Ellipsis to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / max / description
      Removed value: -"Max to process"
    • removedInput schema / properties / maxLength / description
      Removed value: -"MaxLength to process"
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does add a quota/payment signal ('5 free trial calls per signed wallet'), which is genuinely useful behavioral context, but it never explains whether an ellipsis is appended by default, whether length is measured in characters or bytes, or what happens when input is shorter than the limit.

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, front-loaded sentences with no wasted wording. The leading 'Truncate:' label is redundant with the tool name but costs very little, and the pricing note is compactly placed.

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?

For a six-parameter tool with 0% schema description coverage, no annotations, and no output schema, this description is far too thin. An agent cannot determine which of the duplicated parameter names to populate or what the default truncation behavior is, so it is not complete enough to call reliably.

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% across six parameters, and the schema itself exposes obvious aliases (text vs. input, max vs. n vs. maxLength) with zero guidance. The phrase 'truncate a string to a length' loosely implies two of the six parameters, but which alias to use and what 'ellipsis' does are entirely undocumented.

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 states a specific verb and resource: 'Truncate a string to a length.' An agent immediately knows the operation. It does not, however, distinguish this from sibling tools like x402-truncate-words, x402-truncate-middle, or x402-truncate-decimal, which occupy adjacent intent space, so differentiation is missing.

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 guidance on when to use this vs. the several sibling truncate variants (word-level truncation, middle truncation, decimal truncation), and no prerequisites or exclusions are stated. The only usage-adjacent text is a pricing note about free trial calls, not selection 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.