Skip to main content
Glama

Web Extract

web_extract
Read-onlyIdempotent

Extract structured data from one public page: tables (headers + rows), JSON-LD blocks, and Open Graph/Twitter/canonical/language metadata. When to use: the page has tables or schema.org JSON-LD you need as data, without an LLM. Do not use: when you only need the page text (web_fetch) or a screenshot (web_screenshot). Returns: {ok, url, final_url, title, meta:{description,image,site_name,type,canonical,lang}, jsonld[], tables:[{caption,headers,rows}], links? , cached, took_ms, _metering}. Metered: uses the same shared free pool (10 free calls/day per IP shared by all web tools), then 1 credit per call over 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
urlYesThe http(s) page URL.
include_linksNoAlso return same-host links (max 100). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety and idempotence need no restating. The description does add genuinely non-schema behavior: a shared metering pool of 10 free calls/day per IP across all web tools, then 1 credit per call via x402, plus a `cached` flag implying cached responses. It does not say how failures, paywalls, or non-HTML responses surface, which is a meaningful gap for a network tool with a cost model.

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?

Front-loads purpose, then use/do-not-use, then returns, then metering — a clean decision-first ordering with no filler sentences. The inline brace-notation return dump is dense but each field earns its place given there is no output schema; it could be marginally tightened.

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?

With no output schema, the description carries the return contract and does so field-by-field (ok, final_url, meta, jsonld[], tables[], cached, took_ms, _metering), which is exactly what an agent needs to consume results. Combined with cost/quota disclosure and explicit alternative routing, nothing material is missing for a two-parameter read 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% with only two parameters, so `url` and `include_links` (max 100, default false) are already fully documented in the schema. The description only implies `include_links` through the optional `links?` field in the return shape, adding no new constraint or semantics. Baseline 3 applies.

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?

States a specific verb and resource ("Extract structured data from one public page") and enumerates exactly what is extracted: tables with headers/rows, JSON-LD blocks, and OG/Twitter/canonical/language metadata. The scope word "one public page" and "without an LLM" separate it from crawlers and from the LLM-based sibling web_extract_schema.

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

Usage Guidelines5/5

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

Has explicit "When to use" (page has tables or schema.org JSON-LD you need as data) and explicit "Do not use" routing to web_fetch for plain text and web_screenshot for images. The condition that selects each alternative is named, so an agent can route without opening sibling schemas.

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.