Skip to main content
Glama

web_scrape

Read-only

$0.005 via x402: Fetch page content, extract title, description, headings, links, and clean readable text. Fully legal and opt-in.

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
urlYesURL to scrape
x_paymentNoOptional signed x402 payment payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful context the annotations do not carry: the caller pays $0.005 via x402 and an optional signed payment payload is accepted. It omits other behavioral facts an agent would want — what happens if payment is absent, rate limits, and whether JavaScript-rendered pages are handled — and 'Fully legal and opt-in' is unverifiable marketing filler.

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?

Compact, two-clause structure with no bloat. However it front-loads the price rather than the purpose, which buries the primary action behind a billing note, and the trailing 'Fully legal and opt-in' clause earns no place.

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

Completeness3/5

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

For a two-parameter read-only tool with full schema coverage and annotations covering the safety profile, the description is close to sufficient, and listing the extracted fields partially compensates for the missing output schema. The gap is that it never says what a returned result looks like structurally or what failure/payment-required responses occur.

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 url and x_payment are already documented, which sets the baseline at 3. The description only implicitly links the $0.005 x402 price to the x_payment payload, adding a sliver of meaning without explaining format or what an unsigned call returns.

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 specific verb+resource ('Fetch page content') and enumerates exactly what is extracted (title, description, headings, links, clean readable text), which is far more informative than the name alone. It does not, however, distinguish itself from siblings such as markdown_web_scraper or web_crawl, so an agent cannot tell which scraper to pick from this text.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative is named even though markdown_web_scraper and web_crawl sit alongside it. The agent must infer usage purely from 'Fetch page content', leaving the choice among three overlapping scraping tools unresolved.

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.