Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

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. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "input"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "text"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. 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"
  3. Changed2 schema fields changed
    • addedInput schema / properties / max
      Added value: +{
      +  "description": "Max to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.4/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 behavioral burden. It does disclose a real operational fact — 5 free trial calls per signed wallet, implying a paywall and wallet authentication — but says nothing about defaults (e.g. whether ellipsis is appended), what happens when the string is shorter than the length, or what the response looks like.

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 padding; the purpose comes first and the quota note second. The only waste is the redundant "Truncate:" prefix echoing the tool name.

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?

For a six-parameter tool with zero schema descriptions, no annotations and no output schema, the description is far too thin. An agent could not resolve the alias parameters or predict the truncation/ellipsis behavior from what is written here.

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 string parameters, and the description compensates barely at all: it only implies that a string and a length are involved. It never clarifies that n, max and maxLength are aliases for the length, that text and input are aliases for the source string, or what ellipsis controls or defaults to — all of which an agent must know to call this correctly.

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

Purpose3/5

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

"Truncate a string to a length" gives a verb and a resource, but it largely restates the tool name and adds almost no scope. With siblings named x402-truncate-middle, x402-truncate-words and x402-truncate-decimal, the description never explains what kind of truncation this is (plain end-truncation, presumably) or how it differs from those neighbors.

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 guidance, no condition that selects this tool over its truncate siblings, and no note on preconditions. The only non-purpose sentence concerns free trial calls, which is billing information rather than 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.

Resources