Skip to main content
Glama
eitan3
by eitan3

fetch_page

Fetch a single web page and return its content in markdown, text, or HTML. Supports size caps and robots.txt overrides, with HTTP errors returned as status codes.

Instructions

Fetch a single web page and return its content (no JavaScript rendering).

format: 'markdown' (default, compact and readable), 'text' (visible text only), or 'html' (raw HTML). max_bytes: cap on returned characters; defaults to the server's SCRAPY_MCP_MAX_BYTES. Oversized content is truncated and truncated is set to true. obey_robots: override the server's robots.txt policy for this call only.

An HTTP error status (404, 500, ...) is returned in status, not raised.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
formatNomarkdown
max_bytesNo
obey_robotsNo
Behavior5/5

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

With no annotations, the description fully carries the transparency burden. It clearly discloses the lack of JavaScript rendering, truncation behavior with the 'truncated' flag, robots.txt override behavior, and that HTTP errors are returned in 'status' rather than raised. This is comprehensive and goes beyond basic expectations.

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?

The description is front-loaded with the core purpose in the first sentence, followed by a concise bulleted parameter list and a final sentence on error handling. Every sentence adds value with no fluff or redundancy.

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?

The description covers the main behavior (content fetching, format options, truncation, error handling) and notes the 'status' and 'truncated' fields. However, it does not provide a full return structure or mention any response headers/URL that might be included, leaving some ambiguity about the exact response shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 0%, so the description must fully compensate. It explains 'format', 'max_bytes', and 'obey_robots' in detail, including defaults and effects. The 'url' parameter is implicitly clear from the tool's purpose. This exceeds the schema's bare definitions.

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: 'Fetch a single web page and return its content'. It is clear and concise, but it does not explicitly differentiate from sibling tools like 'extract' or 'extract_links'. The 'no JavaScript rendering' note hints at scope but is not a direct alternative comparison.

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 for retrieving raw page content, but it does not explicitly state when to use this tool over siblings, nor does it provide exclusions (e.g., 'for structured data use extract'). The parameter explanations offer context but not direct comparative guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/eitan3/Scrapy_MCP_Scraper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server