Skip to main content
Glama

x402-text-pad

Text Pad: Pad text to a specified length. Provide text and optional length; supports alignment modes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoN to process
padNoPad to process
charNoChar to process
sideNoSide to process
textNoText to process
inputNoInput to process
lengthNoLength to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / length
      Added value: +{
      +  "description": "Length to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It reveals only that length is optional and alignment modes exist; it says nothing about what happens when the input already exceeds the requested length (truncate, no-op, error), default pad character, default side, or the return format.

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 tight sentences, front-loaded with the operation; the redundant 'Text Pad:' restatement of the name is the only wasted token.

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?

With no annotations, no output schema, and seven ambiguous string parameters, the description should do much more: it doesn't clarify return values, edge-case behavior, or how the overlapping parameters relate. It is insufficient for an agent to call this tool confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is nominally 100%, but the schema's per-parameter text is boilerplate ('Side to process', 'Length to process'), so the schema conveys no real meaning. The description adds genuine value by naming the two concepts that matter (text, length) and pointing at alignment (side/char), but leaves the roles of n, pad, and input unexplained.

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?

States a specific verb and resource ('Pad text to a specified length') and adds the alignment-mode capability, so the agent knows exactly what operation it performs. It does not distinguish itself from closely related siblings such as x402-zero-pad or x402-text-wrap, which is the only gap.

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?

The description gives no when-to-use guidance, no conditions, and no mention of alternatives in a huge x402-text-* family (zero-pad, text-wrap, truncate, repeat). An agent must guess which padding tool applies to its case.

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