Skip to main content
Glama

OnchainCheck Web

Web extract

web_extract
Read-onlyIdempotent

Read a web page as clean Markdown for an LLM: fetches the URL, drops navigation, header, footer, forms and scripts, and returns the main text as Markdown with title, description, language, author, publish date, image and word count. Optional links=true adds the page's links. Text and JSON URLs come back as-is. Costs $0.002 USDC on Base via x402.

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_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage URL
linksNotrue adds the page's links (up to 300)

Output Schema

NameRequiredDescriptionDefault
urlNostring, e.g. "https://en.wikipedia.org/wiki/HTTP_402"
langNostring, e.g. "en"
imageNostring, e.g. "https://thumb.wikimedia.org/wikipedia/commons/thumb/5/5b/HT
notesNostring, e.g. "Main text as Markdown: navigation, header, footer, forms an
titleNostring, e.g. "List of HTTP status codes - Wikipedia"
wordsNonumber, e.g. 11994
authorNonull, e.g. null
statusNonumber, e.g. 200
finalUrlNostring, e.g. "https://en.wikipedia.org/wiki/HTTP_402"
markdownNostring, e.g. "(Redirected from [HTTP 402](https://en.wikipedia.org/w/inde
publishedNonull, e.g. null
truncatedNoboolean, e.g. false
contentTypeNostring, e.g. "text/html; charset=utf-8"
descriptionNonull, e.g. null
markdownTruncatedNoboolean, e.g. false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, open-world and non-destructive, so the bar is lower, yet the description still adds real substance: exactly what markup is removed, what metadata accompanies the Markdown, that links=true caps at 300 via the schema, that text/JSON URLs pass through unchanged, and that invoking it costs $0.002 USDC on Base via x402. The payment requirement is exactly the kind of operational constraint annotations cannot express; it stops short of stating failure modes like paywalls or timeouts.

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?

One dense sentence carries purpose, extraction behavior, return contents, passthrough rules and price, with the core purpose front-loaded. It is a long run-on that could be split, but nearly every clause carries information an agent needs.

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?

An output schema exists, so return values need not be enumerated, and the description still lists the key metadata fields. Combined with the explicit cost and the passthrough rule it is complete enough to call correctly; only error and rate-limit behavior is left unaddressed for a two-parameter paid tool.

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 both parameters are already documented and the baseline applies. The description restates that links=true adds the page's links, which is largely redundant with the schema field description, and adds no format details for the URL parameter beyond the pattern already in the schema.

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 ('Read a web page as clean Markdown') and spells out the transformation (strip nav/header/footer/forms/scripts) plus the return shape. It is very clear what it does, but it never names or distinguishes itself from plausible siblings like web_fetch, web_contents, or document_to_markdown, so an agent must infer the split from names alone.

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: 'for an LLM' and 'Text and JSON URLs come back as-is' suggest the right and wrong inputs, and the cost line hints this is a paid operation to be used deliberately. There is no explicit when-to-use or when-not-to-use statement, and no alternative tool is named for cases such as fetching raw HTML or converting documents.

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