Skip to main content
Glama
Web Scraper MCP Server

Web Scraper MCP Server

by bhubadinn

screenshot_url

Capture a screenshot of any URL and return it as a base64 image, with optional viewport dimensions or full-page capture.

Instructions

Take a screenshot of any URL and return it as a base64 image

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to screenshot
widthNoViewport width (default: 1440)
heightNoViewport height (default: 900)
full_pageNoCapture full page or just viewport (default: viewport)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the burden, and it does disclose the return format (base64 image), which is genuinely useful. It says nothing about rendering behavior (JS execution, wait-for-load), auth/cookie state, timeouts, or what happens for unreachable URLs — meaningful gaps for a browser-driven tool.

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

Conciseness5/5

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

A single front-loaded sentence with the verb, scope and return format; nothing is wasted or buried.

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?

Inputs are fully documented in the schema and the return type is stated, so the basics are covered without an output schema. For a headless-capture tool with no annotations, though, an agent still lacks guidance on load behavior, failures, and image size — the definition is adequate but not complete.

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 defaults stated for width, height and full_page, so the schema already does the work. The description adds no semantics about viewport sizing, full-page capture interaction, or output size implications.

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?

Names a specific verb ("Take a screenshot") and resource ("any URL") and adds the return form ("base64 image"). It is clearly distinguishable from scrape_url or extract_data by the verb alone, though it never explicitly contrasts with those siblings.

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: an agent can infer this is the tool for visual capture rather than text extraction. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative such as scrape_url for textual content.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.