Skip to main content
Glama

x402-replace-all

Replace All: Replaces every occurrence of a search string in text with a replacement 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
inputNo
searchNo
replacementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / replacement / description
      Removed value: -"Replacement to process"
    • removedInput schema / properties / search / description
      Removed value: -"Search to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  2. Changed4 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / replacement
      Added value: +{
      +  "description": "Replacement to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / search
      Added value: +{
      +  "description": "Search 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?

No annotations are provided, so the description carries the full behavioral burden. It does imply the operation is literal and global ('every occurrence'), but says nothing about case sensitivity, regex support, permission/auth requirements, or reversibility of the transformation. The trial-call note is promotional rather than behavioral.

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?

The functional sentence is short and front-loaded with the verb and resource. The trailing emoji/trial-call promotion is noise that does not earn its place, keeping this below a 5.

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 4-parameter text mutation tool with no annotations, no output schema, and no documented parameter semantics, the description is under-specified. It leaves the text-vs-input ambiguity unresolved and gives no indication of the return shape or edge-case behavior.

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 4 parameters. The description names three of them (text, search, replacement) but never addresses 'input', which appears to duplicate 'text'. With no explanation of which field takes precedence, an agent is left with a real ambiguity that only the description could have resolved.

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: 'Replaces every occurrence of a search string in text with a replacement.' An agent can tell this is a literal find-and-replace over text. It does not distinguish itself from close siblings such as x402-replace-multiple or x402-template-replace, so it falls short of a 5.

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 statement of when this is preferable to x402-replace-multiple or x402-template-replace, and no note on whether matching is case-sensitive or regex-capable. The only extra line is a pricing/trial promotion, which gives no selection 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