Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-line-contains

Line Contains: Returns the lines of text containing the pattern substring; an empty or missing pattern matches every line 🆓 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>",
      "search": "<search>",
      "text": "<text>"
    },
    "name": "x402-line-contains"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
inputYes
searchYes
patternNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "input",
      +  "search",
      +  "text"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / properties / input / description
      Removed value: -"Input to process"
    • removedInput schema / properties / pattern / description
      Removed value: -"Pattern to process"
    • removedInput schema / properties / search / description
      Removed value: -"Search to process"
    • removedInput schema / properties / text / description
      Removed value: -"Text to process"
  3. Changed4 schema fields changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Input to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / pattern
      Added value: +{
      +  "description": "Pattern 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"
      +}
  4. 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 present, the description carries the full burden. It usefully discloses the degenerate case (empty or missing pattern returns every line) and the commercial constraint (5 free trial calls per signed wallet), which hints at authentication, but it says nothing about case sensitivity, whether matching is literal or regex, or the shape of results.

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 covering purpose and the edge case, followed by a short pricing note. There is little waste, though the emoji-plus-fee tail is boilerplate rather than tool guidance.

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 tool with four parameters, no annotations, no output schema, and zero schema documentation, the definition is too thin. An agent can guess the intent but cannot reliably map its inputs, particularly the overlapping 'input', 'text', and 'search' fields.

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% with four parameters, three of them required, so the description must compensate and largely does not. It explains only 'pattern' (optional, and its match-all default), leaving 'input', 'text', and 'search' — including two required ones — undefined and indistinguishable from each other.

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 states a specific verb and resource: it returns text lines containing a pattern substring. That is concrete enough to separate it from a line-counting or any-match sibling, though it does not name those siblings explicitly.

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 statement of when to use this instead of alternatives such as x402-contains-any or x402-line-count, and no prerequisites beyond the pricing note. Only an implicit filtering use case can be inferred.

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