Skip to main content
Glama

x402-truncate-words

Truncate Words: Truncate words.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMax to process
textNoText to process
inputNoInput to process
wordsNoWords to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / max
      Added value: +{
      +  "description": "Max to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / words
      Added value: +{
      +  "description": "Words to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure and delivers none. It does not state whether the operation is read-only or mutating, what the output looks like, what happens when text is shorter than the limit, or how the word boundary is determined.

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?

The text is short but only because it is under-specified, not because it is efficient. There is no front-loaded statement of purpose, scope, or expected inputs; the repetition of name-as-description wastes the one sentence available.

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 4-parameter tool with no annotations, no output schema, and ambiguous overlapping inputs, the definition supplies nothing an agent needs in order to invoke it correctly. It cannot be determined what a valid call looks like or what result to expect.

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 nominally 100%, but every parameter description is a meaningless placeholder ('Max to process', 'Text to process', 'Input to process', 'Words to process'), so the coverage is superficial. The four parameters include three apparent aliases (text, input, words) plus 'max' typed as a string rather than a number, and the description does nothing to disambiguate which one holds the content or what units 'max' takes.

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

Purpose1/5

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

The description 'Truncate Words: Truncate words' is a tautology that restates the tool name without adding any verb+resource specificity. It does not say whether 'truncate' means limiting the number of words, shortening each word, or clipping a character count, and it does nothing to separate this from siblings like x402-truncate, x402-truncate-decimal, x402-truncate-middle, or x402-word-wrap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no alternatives, no exclusions. Given the many overlapping truncation and word-manipulation siblings in this namespace, the absence of any routing signal makes correct selection effectively guesswork.

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