Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-remove-last-word

Remove Last Word: Removes the last whitespace-separated word from text 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>",
      "text": "<text>"
    },
    "name": "x402-remove-last-word"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "input",
      +  "text"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. 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 supplied, the description does add two useful behavioral facts: the split rule is whitespace-based, and there is a metered cost of 5 free trial calls per signed wallet. It does not disclose what the tool returns when no whitespace exists, whether the input is mutated, or what happens at quota exhaustion.

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?

A single front-loaded sentence with the operation stated first, followed by the pricing note. No filler or redundant restatement of the title beyond the necessary prefix.

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?

No annotations, no output schema, zero schema description coverage, and a genuinely confusing two-required-string-parameter signature with no explanation. For a text-mutation utility whose return value is undocumented, the description leaves too much for the agent to guess.

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% and there are two required parameters, yet the description only speaks of "text" and never explains what the required "input" parameter is. An agent cannot tell from this definition whether input duplicates text, is an alternate alias, or carries different semantics.

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?

Specific verb+resource ("Removes the last whitespace-separated word from text") that clearly disambiguates from other text transforms by defining the delimiter semantics. It does not name the obvious sibling x402-remove-first-word, but the operation itself is unambiguous.

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?

No when-to-use or when-not guidance, no mention of how it relates to remove-first-word, and no statement about edge cases (single word, empty string, no whitespace present). The agent must infer usage entirely from the tool name and description verb.

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.