Skip to main content
Glama

Swagger MCP Server

execute_api_request

Send API requests to specific endpoints using HTTP methods like GET, POST, PUT, and DELETE. Specify paths, query parameters, headers, and request bodies for precise API testing and interaction.

Instructions

Execute an API request to a specific endpoint

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body as a JSON object (for POST/PUT/PATCH)
headersNoCustom headers as key-value pairs
methodYesHTTP method (GET, POST, PUT, DELETE, etc.)
paramsNoQuery parameters as key-value pairs
pathYesThe endpoint path (e.g., '/users/123')

Input Schema (JSON Schema)

{ "properties": { "body": { "description": "Request body as a JSON object (for POST/PUT/PATCH)", "type": "object" }, "headers": { "description": "Custom headers as key-value pairs", "type": "object" }, "method": { "description": "HTTP method (GET, POST, PUT, DELETE, etc.)", "type": "string" }, "params": { "description": "Query parameters as key-value pairs", "type": "object" }, "path": { "description": "The endpoint path (e.g., '/users/123')", "type": "string" } }, "required": [ "method", "path" ], "type": "object" }
Install Server

Other Tools from Swagger MCP Server

Related Tools

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/amrsa1/swagger-mcp'

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