Skip to main content
Glama

fetch

Read-onlyIdempotent

Fetch web pages with full JavaScript execution and extract readable content. Use CSS selectors to target specific sections or access the accessibility tree with bounding boxes.

Instructions

Fetch a URL and extract readable content using the Servo browser engine (JS execution + CSS layout). Navbars, sidebars, and footers are stripped automatically. Use selector to extract a specific CSS-selected section instead of full-page Readability extraction. Set format to accessibility_tree to get the page's accessibility tree with bounding boxes. Long content is truncated at max_length; use start_index to paginate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL to fetch (http/https only)
formatNoOutput format: markdown (default), json, html, text, or accessibility_tree
max_lengthNoMax characters to return. Default: 5000
start_indexNoCharacter offset for pagination. Default: 0
timeoutNoPage load timeout in seconds. Default: 30
settle_msNoExtra wait in ms after the `load` event, for SPAs that keep hydrating. Default: 0. Max: 10000.
selectorNoCSS selector to extract a specific section instead of full-page Readability extraction
Behavior5/5

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

The description discloses key behaviors beyond annotations: uses Servo browser with JS/CSS, strips navbars/sidebars/footers automatically, truncates content, paginates, and provides accessibility tree. These details are not in annotations (readOnlyHint, idempotentHint, etc.) and significantly aid agent understanding.

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 concise (4 sentences) and front-loaded with the main purpose. Each sentence adds distinct value: engine details, automatic stripping, optional selector, format options, pagination. No wasted words.

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?

For a tool with 7 parameters and no output schema, the description covers core functionality, parameter usage, and behavioral traits well. It lacks explicit error handling or rate limit info, but annotations provide safety signals. Overall, it is sufficient for effective tool use.

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

Parameters4/5

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

All 7 parameters have schema descriptions, so baseline is 3. However, the tool description adds value by explaining the purpose of key parameters (selector for specific extraction, settle_ms for SPA hydration, start_index for pagination) beyond the base schema.

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?

The description clearly states the tool fetches a URL and extracts readable content using the Servo browser engine. It distinguishes from siblings like screenshot or execute_js by specifying its unique features (JS execution, CSS layout, readability extraction). The mention of selector, format, and pagination adds specificity.

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

Usage Guidelines4/5

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

The description gives clear guidance on when to use optional parameters (selector for specific sections, format for accessibility_tree, start_index for pagination). It does not explicitly contrast with siblings, but the context implies when alternatives are better (e.g., screenshot for visual, crawl for multiple URLs).

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/konippi/servo-fetch'

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