Skip to main content
Glama

http_request_with_session

Make authenticated HTTP requests by reusing the browser's session cookies and authorization headers.

Instructions

⭐ Authenticated HTTP request that piggybacks on the BROWSER's session.

Combines:
  - cookies from active tab (use_browser_cookies=True in http_request)
  - Authorization header — explicit auth_header, OR auto-extracted
    from network_index (the most recent same-host request captured
    via network_start). Pages that hold bearer tokens in JS memory
    only become reachable after navigate / interaction emits a
    request — call network_start once at session begin.

Args:
    url, method, json_body, data, impersonate, return_mode, timeout:
        same as http_request
    extra_headers: merged on top of auto-detected ones
    auth_header: explicit bearer / basic value, e.g. "Bearer eyJ..."

Returns same shape as http_request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
methodNoGET
json_bodyNo
dataNo
extra_headersNo
auth_headerNo
impersonateNochrome
return_modeNoauto
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Tool Definition Quality

Score is being calculated. Check back soon.

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/RobithYusuf/mcp-stealth-chrome'

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