Skip to main content
Glama

x402-regex-test

x402-regex-test: Regex match test + replacement 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
textNo
flagsNo
inputNo
regexNo
patternNo
modifiersNo
replacementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
  2. Added

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing about return format (match results vs replaced string), behavior with all-empty inputs, or error handling. It does disclose one real behavioral trait — a free-tier quota of 5 calls per signed wallet — which is worth credit but far short of what an unannotated tool needs.

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?

It is a single front-loaded line with no filler, and the capability statement leads. The prefixed tool name and emoji are mildly redundant but do not obscure the 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 7-parameter tool with zero schema coverage, no annotations, and no output schema, this one-line description is materially incomplete. An agent must guess which of the duplicate parameter names to populate and what the response looks like.

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 the description does not resolve the obvious synonym clusters (text vs input, regex vs pattern, flags vs modifiers) or explain when replacement produces a substitution instead of a test. The words 'match test' and 'replacement' weakly hint at the regex and replacement params but give no mapping or format guidance.

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 names a specific verb and resource — 'Regex match test + replacement' — so an agent knows it evaluates a regex against text and optionally substitutes. It does not distinguish itself from near-siblings such as x402-regex-explain, x402-escape-regex, or x402-replace-all, leaving overlap resolution to the agent.

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 use this versus the regex-explanation or plain replace tools, and no stated prerequisites for the match/replace mode selection. The only usage-adjacent content is the '5 free trial calls per signed wallet' note, which concerns payment, not task selection.

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