Skip to main content
Glama

fetch

Retrieve authenticated in-browser resources using relative, absolute, or blob URLs, and set save_path to write binary or PDF responses to disk without adding them to context.

Instructions

Execute an authenticated in-browser fetch (supports relative, absolute, and blob: URLs). Pass save_path to write binary/PDF responses to disk without entering context.

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

Input Schema

NameRequiredDescriptionDefault
tabNo
urlYes
bodyNo
methodNoGET
headersNo
save_pathNo
max_lengthNo
timeout_msNo
response_typeNoauto

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does disclose real behavior: the request runs in-browser with the session's authentication, accepts blob: URLs, and can bypass context by saving to disk. It omits important traits, though, notably that method/body allow mutating requests and that max_length can truncate responses.

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?

Two tight sentences with zero filler, and the core capability is front-loaded before the save_path hint. Nothing redundant is included at the cost of clarity.

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

Completeness2/5

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

For a 9-parameter tool with no annotations and no schema descriptions, the definition is far too thin; an output schema exists so return values needn't be explained, but the mutating-request capability, truncation, timeout, and tab targeting all go unaddressed. An agent can call the basic GET case but is under-informed for anything else.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, so the description must compensate, and it covers only url (partially) and save_path. It says nothing about tab, method, headers, body, max_length, timeout_ms, or response_type, leaving most of the surface undocumented.

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?

States a specific verb and resource: 'Execute an authenticated in-browser fetch', plus scope on the URL types accepted (relative, absolute, blob:). This separates it implicitly from content-extraction siblings like get_content or extract, but it never names an alternative or explicitly contrasts its role, so it stops short of a 5.

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

Usage Guidelines2/5

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

The only guidance is parameter-directed: 'Pass save_path to write binary/PDF responses to disk without entering context.' There is no when-to-use versus get_content, extract, downloads, or navigate, and no prerequisites or exclusions. An agent must infer selection from the word 'fetch' alone.

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