Skip to main content
Glama

Lordevo Shop: website checks for agents (x402)

Text extraction: URLs, dates, money, numbers and more ($0.0021/call)

text_extract
Read-onlyIdempotent

$0.0021 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Finds URLs, domains, dates (ISO, written and numeric, ambiguous ones flagged with both readings, as ISO 8601), money amounts with currency, percentages, numbers and hashtags in text you send, each with position and occurrences. Email addresses and phone-like numbers only when listed in types; nothing is looked up or stored; names and addresses are never extracted. Input: text (POST for long text), optional types, max_items. Limit: 400,000 characters. Offline.

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": {
      "text": "<text>"
    },
    "name": "text_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesPlain text or Markdown, 1-400,000 characters (short text in the query; long text as POST JSON {"text": "..."})
trialNoOptional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms.
typesNoComma list of: urls, domains, emails, phones, dates, money, percentages, numbers, hashtags. Default: urls, domains, dates, money, percentages, numbers, hashtags (emails and phones only when listed)
max_itemsNoUnique items per type, 1-1000 (default 200)200

Output Schema

NameRequiredDescriptionDefault
toolNo
urlsNo
cacheNo
datesNo
moneyNo
notesNo
typesNo
_trialNoPresent when the call was a free trial call.
emailsNo
phonesNo
domainsNo
numbersNo
summaryNo
hashtagsNo
providerNo
price_usdNo
percentagesNo
text_lengthNo
truncated_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / trial / description
      Previous value: -"Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms."New value: +"Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms."
  2. Changed2 schema fields changed
    • addedInput schema / properties / trial
      Added value: +{
      +  "description": "Optional. true = answer free if a trial call is left (3 per IP per UTC day); otherwise you get the payment terms.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "required": [
      +        "tool",
      +        "types",
      +        "summary"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "accepts": {
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ]
      +    },
      +    {
      +      "properties": {
      +        "charged": {
      +          "type": "boolean"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ]
      +    }
      +  ],
      +  "properties": {
      +    "_trial": {
      +      "description": "Present when the call was a free trial call.",
      +      "type": "object"
      +    },
      +    "cache": {
      +      "type": "object"
      +    },
      +    "dates": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "domains": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "emails": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "hashtags": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "money": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "notes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "numbers": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "percentages": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "phones": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "price_usd": {
      +      "type": "number"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "summary": {
      +      "type": "object"
      +    },
      +    "text_length": {
      +      "type": "integer"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "truncated_types": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "types": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "urls": {
      +      "items": {
      +        "properties": {
      +          "index": {
      +            "type": "integer"
      +          },
      +          "line": {
      +            "type": "integer"
      +          },
      +          "occurrences": {
      +            "type": "integer"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world and non-destructive, and the description adds substantial context on top: nothing is looked up or stored, the operation is offline, a 400,000-character cap applies, pricing is $0.0021/call via x402/USDC on Base, and free trials are capped at 3 per IP per UTC day. It also discloses output behavior for ambiguous dates (both readings returned as ISO 8601) with position and occurrence counts, which annotations cannot convey.

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?

Everything fits in one dense paragraph with no filler sentences; the cost and free-trial note is front-loaded, then the extraction scope, then constraints. It is efficient but slightly overpacked with bracket tags and pricing clauses ahead of the core verb, which slows scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter read-only extractor with an output schema, the description covers entry points (query vs POST), size limits, cost and trial mechanics, offline/no-storage guarantees, and explicit negative scope. Nothing an agent needs to call it correctly or predict its result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all four parameters are already documented, and the description largely restates them (types defaults, emails/phones opt-in, max_items, POST body). It adds only marginal meaning beyond the schema — the fact that each item carries position and occurrence counts. Baseline 3 is appropriate when the schema carries the parameter burden.

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

Purpose5/5

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

The description names a specific verb (finds) and enumerates the exact resource classes it extracts: URLs, domains, dates, money, percentages, numbers and hashtags. It also delineates scope negatively — emails and phones only when listed in types, and names/addresses never extracted — which lets an agent separate it from generic text tools like text_chunk or pdf_text without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear operating context: pass text directly, use POST for long text, and route through try_free or "trial": true for the free path. There are no explicit exclusions or named alternatives for adjacent tasks (e.g., use text_chunk for splitting rather than extracting), so usage is well-signposted but not fully comparative.

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