Skip to main content
Glama

ScorpTech x402 Tools

Readability Extract

readability_extract
Read-onlyIdempotent

Extract the main article from a web page (Readability-style content scoring, no headless browser): clean body text with paragraph breaks plus title, byline, site name, published/modified dates, language, excerpt, lead image, word count and reading time. Navigation, ads, share bars, comments and related-links blocks are stripped; JSON-LD articleBody is used when it is fuller. SSRF-safe fetch. Returns JSON with: url, title, byline, siteName, published, lang, excerpt, leadImage. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/readability-extract

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": {
      "url": "<url>"
    },
    "name": "readability_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesArticle URL (http/https, public hosts only)
maxCharsNoText cap 500-100000 characters (default 20000)
paragraphsNoAlso return the text as a paragraphs array (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Well beyond the annotations, it discloses the cleaning rules (navigation, ads, share bars, comments and related-links stripped), the JSON-LD articleBody fallback, SSRF-safe fetching, and the paid x402 model at $0.01 per successful call with a mirror HTTPS endpoint. Cost and side-effect profile are exactly the behavioral facts an agent cannot get from readOnlyHint/idempotentHint alone.

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 front-loaded with the core action, then enumerates output fields and logistics compactly; nearly every clause carries information. The long field enumeration is slightly list-like and could be trimmed since there is no output schema to mirror, but nothing is padding.

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

Completeness4/5

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

For a read-only, three-parameter fetch tool with no output schema, it covers action, cleaning behavior, cost and transport. The one gap is internal inconsistency: the prose promises modified date, word count, reading time and a paragraphs option, while the explicit 'Returns JSON with' list omits modified, wordCount, readingTime and paragraphs, which could leave an agent guessing about the response shape.

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 url, maxChars and paragraphs are already documented in the schema with types and defaults. The description adds nothing about maxChars truncation behavior or how the paragraphs array differs from the inline text, leaving it at the baseline.

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: 'Extract the main article from a web page,' and scopes it with 'Readability-style content scoring, no headless browser.' That makes it distinguishable in practice from data-oriented siblings such as schema_org_extract or contact_extract, but no sibling is named or explicitly excluded, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this tool is for pulling article body text out of a page. The parenthetical 'no headless browser' hints that JS-rendered pages are out of scope, but the description never states when to prefer this over schema_org_extract or keyword_extract, nor any prerequisites or failure conditions.

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