Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-regex-test

x402-regex-test: Regex match test + replacement 🆓 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>",
      "pattern": "<pattern>"
    },
    "name": "x402-regex-test"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
flagsNo
inputYes
regexNo
patternYes
modifiersNo
replacementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "input",
      +  "pattern"
      +]
  2. Changed7 schema fields changed
    • removedInput schema / properties / flags / description
      Removed value: -"Flags to process"
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / modifiers / description
      Removed value: -"Modifiers to process"
    • removedInput schema / properties / pattern / description
      Removed value: -"Pattern to process"
    • removedInput schema / properties / regex / description
      Removed value: -"Regex to process"
    • removedInput schema / properties / replacement / description
      Removed value: -"Replacement to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. First observed

TDQS

C2.3/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 of behavioral disclosure, yet it only mentions the free-trial quota and a signed-wallet requirement. It does not state whether replacement mutates input or produces a preview, what is returned on a match versus no match, or whether the operation is pure/read-only. The quota note is useful context but far from complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single front-loaded line with no wasted sentences, but the space is spent on branding, an emoji, and a promotional quota line rather than specification. It is concise largely because it is under-specified rather than because it is efficient.

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 7-parameter tool with zero schema coverage, no annotations, and no output schema, the definition supplies almost none of what an agent needs: return shape, match semantics, replacement behavior, and parameter disambiguation are all absent. Only the free-call quota is conveyed.

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 7 parameters, and several appear redundant (text vs input, regex vs pattern, flags vs modifiers) with no explanation. The words "test" and "replacement" hint that pattern and replacement are the key inputs, but nothing disambiguates the duplicate fields or explains required vs optional usage, so the description fails to compensate for the coverage gap.

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

Purpose3/5

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

The description names the resource and actions ("Regex match test + replacement"), giving a rough idea of what the tool does. However, it never clarifies whether testing and replacing are one operation or two modes, nor does it distinguish this from siblings like x402-regex-explain or x402-ai-regex. The purpose is inferable but vague.

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-to-use guidance is given, and no alternative is named. The only contextual statement is a pricing/quota note ("5 free trial calls per signed wallet"), which tells an agent nothing about selecting this tool over x402-regex-explain or x402-escape-regex.

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.