Skip to main content
Glama

api_request

Make HTTP requests to API endpoints by specifying method, path, parameters, and body. Use with api_discover to explore available endpoints first.

Instructions

Make an HTTP request to any API endpoint. Use api_discover first to see available endpoints and their parameters. Supports path parameter substitution (e.g., '/api/servers/{id}' with pathParams: { 'id': '123' }).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYesHTTP method for the request
pathYesAPI path (e.g., '/api/auth/status' or '/api/servers/{id}')
bodyNoRequest body for POST/PUT/PATCH requests (will be JSON-encoded)
queryNoQuery parameters as key-value pairs
pathParamsNoPath parameters to substitute (e.g., { 'id': '123' } for /api/servers/{id})

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/cloudwarriors-ai/openapi-mcp-server'

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