Skip to main content
Glama

ScorpTech x402 Tools

Web To Text

web_to_text
Read-onlyIdempotent

Fetch a public web page and return its main content as clean plain text (boilerplate stripped, lists as bullets, tables tab-separated) plus title, description, language, word count. Returns JSON with: url, final_url, title, description, lang, text, chars, words. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/web-to-text

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": "web_to_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL
modeNomain (default) or full
max_charsNo500-500000, default 100000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the bar is lower, and the description still adds substantial context: output shape, content normalization behavior, and a metered cost of $0.005 USDC per successful call via x402 on Base or Solana. It stops short of disclosing failure behavior (paywalled pages, JS-rendered content, rate limits), so it is strong but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core purpose, which is good, but the return data is described twice: 'plus title, description, language, word count' is then restated as 'Returns JSON with: url, final_url, title, description, lang, text, chars, words'. The pricing clause and endpoint URL are useful but appended in a way that competes with the core description.

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?

With no output schema, the description carries the return contract and does so by enumerating the JSON fields, and all three input parameters are covered by the schema. For an open-world network-fetch tool it is nearly complete, lacking only guidance on what happens with unsupported or client-rendered pages.

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 the schema already explains url, mode (main/full) and max_chars with their defaults and ranges. The description only glancingly reinforces 'main content', adding no new meaning about what 'full' mode changes or how truncation interacts with the returned chars/words fields, so the baseline 3 applies.

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 uses a specific verb and resource ('Fetch a public web page and return its main content as clean plain text') and details the transformation (boilerplate stripped, bullets, tab-separated tables), so the agent knows exactly what comes back. It does not name or distinguish itself from the closest sibling, html_to_markdown, which returns markup rather than plain text, so it falls short of the top score.

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?

The scope qualifier 'public web page' implies the correct use case (no authenticated or private pages) and the HTTPS endpoint offers an alternative access path. However, it never states when to prefer this over html_to_markdown or other conversion tools, and gives no exclusions or prerequisites beyond 'public'.

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