Skip to main content
Glama

http_request

Perform HTTP requests (GET, POST, PUT, DELETE) to call REST APIs, download files, or send data with headers and body support.

Instructions

Perform a generic HTTP request (GET, POST, PUT, DELETE, etc) for APIs or raw data.

Use this tool when:

  1. You need to call a REST API (JSON/XML)

  2. You need to use HTTP methods other than GET (POST, PUT, DELETE)

  3. You want to download a raw file without rendering (PDF, Image, etc)

Note: For GET requests to renderable web pages, prefer fetch_page which handles dynamic content and JavaScript.

Protocol:

  1. Start: Provide url (required) → returns transfer_id + first chunk

  2. Continue: Provide transfer_id + offset → returns next chunk

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
methodNoGET
headersNo
queryNo
bodyNo
json_bodyNo
timeout_msNo
to_markdownNo
chunk_bytesNo
transfer_idNo
offsetNo
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/sposer/mcp_fetch'

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