Skip to main content
Glama
String AI Web Access MCP Server

String AI Web Access MCP Server

Official

Fetch a webpage

web_access_fetch
Read-only

Fetch any HTTP(S) URL and return clean, LLM-ready Markdown, including sites that block automated traffic or render content client-side. Handles JavaScript rendering and CAPTCHA challenges when needed.

Instructions

Fetch a caller-specified HTTP(S) URL and get clean, LLM-ready Markdown back. If available, default to this tool for any web fetching or scraping.

Primary use (the common case): pass only a url. The page is fetched with a normal GET and returned as Markdown — no other parameters are needed.

{ "url": "https://example.com/article" }

Best for: any URL, especially sites that block automated traffic or render their content client-side (news, docs, blogs, web apps). Not for: searching the web when you don't have a URL — use web_access_search instead. Sending a POST, PUT or PATCH with a body — use web_access_request instead.

Optional parameters (omit unless you need them):

  • format — markdown (default), raw (the destination's verbatim body), or json (a { statusCode, headers, data } envelope with the destination's status and headers).

  • executeJS — set true to render JavaScript for SPAs when the content comes back empty. Cannot be combined with headers.

  • headers — forward custom request headers. Not supported when executeJS is enabled.

  • countryCode — ISO 3166-1 alpha-2 (e.g. "US") to route through a proxy in that country.

  • solveCaptcha — defaults true; set false to fail fast instead of spending effort solving a challenge.

Returns: Markdown by default; the verbatim body or a JSON envelope when format is set accordingly.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe full URL of the webpage to fetch. Must be a valid HTTP/HTTPS URL.
formatNoOutput format: 'markdown' for clean LLM-optimized text (recommended), 'raw' for the destination's verbatim body, 'json' for a { statusCode, headers, data } envelope.markdown
headersNoCustom request headers to forward (max 50). Not supported when executeJS is enabled.
executeJSNoEnable JavaScript rendering for SPAs and dynamic content. Set to true if content appears empty or incomplete. Cannot be combined with custom headers.
countryCodeNoISO 3166-1 alpha-2 country code for geolocated proxy routing, e.g. 'US'.
solveCaptchaNoWhether to attempt captcha solving. Defaults to true server-side; set false to fail fast on challenges.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • removedInput schema / properties / body
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "additionalProperties": {},
      -      "type": "object"
      -    }
      -  ],
      -  "description": "Request body for POST/PUT/PATCH. A string is sent as-is; an object is JSON-stringified. Not allowed for GET."
      -}
    • removedInput schema / properties / method
      Removed value: -{
      -  "default": "GET",
      -  "description": "HTTP method for the request. Use POST/PUT/PATCH to send a body.",
      -  "enum": [
      -    "GET",
      -    "POST",
      -    "PUT",
      -    "PATCH"
      -  ],
      -  "type": "string"
      -}
  2. Changed1 schema field changedv1.3.8
    • changedInput schema / properties / format / description
      Previous value: -"Output format: 'markdown' for clean LLM-optimized text (recommended), 'raw' for the verbatim upstream body, 'json' for a { statusCode, headers, data } envelope."New value: +"Output format: 'markdown' for clean LLM-optimized text (recommended), 'raw' for the destination's verbatim body, 'json' for a { statusCode, headers, data } envelope."
  3. First observedv1.2.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantive behavior: the request is a plain GET, captcha solving defaults to true server-side with a fail-fast opt-out, and executeJS is mutually exclusive with headers. It stops short of describing failure modes, rate limits, or auth needs, so it is strong but not exhaustive.

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?

Front-loaded with the primary case, then bolded Best for / Not for / Optional parameters sections that are easy to scan. The inline JSON example largely duplicates the schema's required-field information and is the one piece that does not fully earn its space.

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

Completeness5/5

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

For a six-parameter, open-world fetch tool with no output schema, the description covers the default return shape, the alternate return shapes, the parameter interactions, and the routing to sibling tools. Nothing an agent needs in order to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine decision guidance beyond the schema: when to turn on executeJS ("when the content comes back empty"), the tradeoff behind solveCaptcha=false ("fail fast instead of spending effort"), and the shape of the json envelope. The headers/executeJS incompatibility is restated rather than newly explained, keeping it below 5.

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?

States a specific verb and resource ("Fetch a caller-specified HTTP(S) URL and get clean, LLM-ready Markdown back") and explicitly distinguishes itself from web_access_search and web_access_request. An agent can identify the tool's role without opening the schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance ("default to this tool for any web fetching or scraping", "Best for: any URL, especially sites that block automated traffic") and explicit when-not-to-use with named alternatives for search and for POST/PUT/PATCH bodies. The common case (pass only a url) is called out separately from the optional parameters.

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