Skip to main content
Glama

500Toolbox

Web Page Scraper

web-scrape
Read-onlyIdempotent

Downloads a page through the SSRF-guarded client and returns its structure: title, meta description, canonical, language, Open Graph tags, every heading, deduplicated links marked internal/external and nofollow, images with alt text, and the readable text with a word count. An optional simple selector (tag name, .class or #id) returns just the text of matching elements. Costs 3 credits per call.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute http(s) address of the page.
selectorNoOptional simple selector: a tag name, .class or #id. Full CSS is not supported.
includeTextNoInclude the page's readable text. Turn off for a smaller response. Defaults to True.

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 establish readOnly, idempotent, open-world, non-destructive, so the safety profile is covered; the description adds real value beyond that by naming the SSRF-guarded client (explaining why arbitrary URLs may be rejected) and disclosing a concrete cost of 3 credits per call. Missing behavioral details are pagination/size limits and what happens on fetch failure. Strong but not exhaustive for an open-world network tool.

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?

Two sentences, front-loaded with the verb and the return payload, closing with the selector behavior and cost — every clause carries information. The middle is a long comma-separated inventory that is dense but justified, since there is no output schema to describe returns. Slightly list-heavy rather than wasteful.

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 properly carries the return-value burden by enumerating the response fields, and it covers cost and the one optional mode. For an open-world network tool it leaves some gaps: rendering of JS-heavy pages, response size limits, timeout/error semantics, and whether selector suppresses the other fields. Complete enough to call correctly, not complete enough to predict every outcome.

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, selector, and includeText are already documented, including the 'no full CSS' constraint and the includeText default. The description's selector sentence adds the behavioral consequence — that matching returns just the text of matched elements — which is a modest gain over the schema. It adds nothing about includeText or how selector interacts with the structural payload, so baseline 3 is right.

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?

States a concrete verb (downloads/returns structure) and enumerates the exact payload: title, meta, canonical, language, OG tags, headings, links with internal/external and nofollow flags, images with alt text, and readable text with word count. That is far more specific than a generic 'scrape a page' and lets an agent predict the response shape. It does not explicitly distinguish itself from nearby siblings such as website-screenshot, http-request, or seo-meta, so it falls 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?

The description implies usage through its payload list — you call it when you need page structure, links, images, or readable text — and the selector option signals a targeted extraction mode. However, it never states when to prefer this over http-request, website-screenshot, or seo-meta, and gives no prerequisites or failure conditions. Guidance is inferred, not written.

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