Skip to main content
Glama
String AI Web Access MCP Server

String AI Web Access MCP Server

Official

Send a request with a body

web_access_request
Destructive

Send a POST, PUT or PATCH request with a JSON or text body to any URL, letting you call write-only APIs, GraphQL endpoints, or search backends that reject GET reads.

Instructions

Send a POST, PUT or PATCH request with a body to a caller-specified URL, through String's Web Access API. It works like web_access_fetch, but for calls that submit data rather than read a page: a JSON API that only accepts POST, a GraphQL endpoint, a search backend that takes a body.

Use web_access_fetch instead whenever you only need to read a page. This tool sends a body to the destination rather than reading it, so use it only for a request the user actually asked for.

Usage Example:

{ "url": "https://api.example.com/search", "method": "POST", "body": { "q": "widgets" } }

Optional parameters (omit unless you need them):

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

  • headers — custom request headers to forward (max 50): a content type, a token the user supplied, a cookie.

  • countryCode — ISO 3166-1 alpha-2 (e.g. "US"): the request reaches the destination from that country.

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

executeJS and browser actions are not available here: both run a browser session, which is always a GET.

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

Requests must comply with destination policy, robots directives, rate limits, and access controls.

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>",
      "method": "<method>"
    },
    "name": "web_access_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe endpoint the request goes to, as its full web address.
bodyNoRequest body. A string is sent as-is; an object is JSON-stringified.
formatNoHow the destination's response comes back: 'json' (default) for a { statusCode, headers, data } envelope, which suits most calls that send a body; 'raw' for the verbatim body alone; 'markdown' for the body as clean text.json
methodYesHTTP method: POST, PUT or PATCH. GET is not accepted here — use web_access_fetch to read a page.
headersNoRequest headers to send, each name to its value (max 50): a content type, a token the user supplied, a cookie.
countryCodeNoISO 3166-1 alpha-2 country code, e.g. 'US': the request reaches the destination from that country.
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. Addedv1.6.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description earns credit for adding non-structured context: solveCaptcha defaults to true and can be set false to fail fast, requests reach the destination from a chosen country, and calls are subject to destination policy, robots directives, rate limits and access controls. It does not spell out consequences of a destructive call (e.g. replay risk or whether a failed POST may still mutate), which keeps it below a 5.

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 purpose and the sibling exclusion, then a runnable example, then optional params — a sensible ordering with no wasted preamble. Slight redundancy remains: the format/markdown/headers/countryCode explanations duplicate the schema descriptions nearly verbatim, and the Returns sentence repeats the format enum.

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 7-parameter write-style tool with no output schema, the description covers purpose, the read-vs-write routing decision, a usage example, per-parameter intent, default behavior for captcha, and an explicit statement of the return shapes. Nothing an agent needs in order to choose and invoke it correctly is missing.

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 coverage is 100%, so every parameter is already documented; the description's parameter section largely restates the schema (format options, headers max 50, countryCode meaning, solveCaptcha default). It adds only marginal framing with 'omit unless you need them' and the hint that the json envelope 'suits most calls that send a body.' Baseline 3 is appropriate when the schema does the heavy lifting.

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 ('Send a POST, PUT or PATCH request with a body to a caller-specified URL') and immediately situates it against the sibling: 'It works like web_access_fetch, but for calls that submit data rather than read a page.' The three concrete examples (JSON API, GraphQL endpoint, search backend) make the boundary unambiguous.

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?

Explicitly names the alternative and the selecting condition: 'Use web_access_fetch instead whenever you only need to read a page.' It also adds a positive gating rule — 'use it only for a request the user actually asked for' — and excludes browser-session scenarios ('executeJS and browser actions are not available here'), covering when-not as well as when.

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