Skip to main content
Glama

x402-replace-multiple

Replace Multiple: Applies a map of search-to-replacement pairs to text in order 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
inputNo
replacementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / replacements / description
      Removed value: -"Replacements to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed3 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / replacements
      Added value: +{
      +  "description": "Replacements to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / text
      Added value: +{
      +  "description": "Text to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose one real behavioral trait, that replacements are applied 'in order', which matters for chained or overlapping substitutions. Beyond that it says nothing about permissions, whether the operation is pure/stateless, or error behavior, so the disclosure is thin for a zero-annotation tool.

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 that states the operation and its ordering behavior, with no filler. The trailing free-trial note is promotional but brief and does not obscure the core content.

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 three-parameter tool with no annotations, no output schema, and 0% schema description coverage, the description leaves the most important ambiguities unresolved: the replacements encoding and the text-vs-input duplication. An agent cannot reliably construct a valid call from what is provided.

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% with three undocumented string parameters. The description implies the replacements parameter is a 'map of pairs' but never states its format (JSON object? delimited string?), and it does not explain the difference between the two seemingly overlapping inputs 'text' and 'input' — a real ambiguity for an agent trying to call this correctly.

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 gives a specific verb and resource ('Applies a map of search-to-replacement pairs to text') and the word 'Multiple' plus 'map of pairs' distinguishes it from the sibling x402-replace-all, which implies a single replacement. It stops short of explicitly naming that sibling, so it is clear but not maximally differentiated.

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 choose this over x402-replace-all, x402-template-replace, or x402-remap, all of which appear in the sibling list and overlap in purpose. No prerequisites, no context on applicable text-transform scenarios.

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