Text analysis: readability, keywords, entities and safety
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
One call to analyse a text: length, reading time and readability grade, the top keywords and repeated phrases with their density, the emails, links, phone numbers, hashtags and mentions it contains, and a prompt-injection scan for text an agent is about to act on. Up to 20,000 characters, local processing. Cheaper than the four tools bought one by one. Use to review drafts, triage inbound messages or vet scraped content.
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | The text (up to 20,000 characters) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/pack/text-analysis?text=Agents%20pay%20per%20call%20with%20USDC.%20Contact%20sales%40example.com%20or%20visit%20https%3A%2F%2Fexample.com%20for%20%23x402%20tools.%20Pricing%20starts%20at%20one%20cent%20per%20call."
Node.js
const r = await fetch("https://glyphtools.com/pack/text-analysis?text=Agents%20pay%20per%20call%20with%20USDC.%20Contact%20sales%40example.com%20or%20visit%20https%3A%2F%2Fexample.com%20for%20%23x402%20tools.%20Pricing%20starts%20at%20one%20cent%20per%20call.", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/pack/text-analysis?text=Agents%20pay%20per%20call%20with%20USDC.%20Contact%20sales%40example.com%20or%20visit%20https%3A%2F%2Fexample.com%20for%20%23x402%20tools.%20Pricing%20starts%20at%20one%20cent%20per%20call.", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/pack/text-analysis?text=Agents%20pay%20per%20call%20with%20USDC.%20Contact%20sales%40example.com%20or%20visit%20https%3A%2F%2Fexample.com%20for%20%23x402%20tools.%20Pricing%20starts%20at%20one%20cent%20per%20call.&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"pack": "text-analysis",
"stats": {
"words": 25,
"sentences": 3,
"readingSeconds": 6,
"fleschReadingEase": 83.3
},
"keywords": [
{
"word": "call",
"count": 2,
"densityPct": 10.53
}
],
"extracted": {
"emails": [
"sales@example.com"
],
"urls": [
"https://example.com"
],
"hashtags": [
"#x402"
]
},
"injection": {
"risk": "none",
"score": 0,
"findings": []
},
"failed": {}
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is pack_text_analysis, and the first 10 successful calls are free:
https://glyphtools.com/mcp