Skip to main content
Glama

GASSAPI MCP Server

by martin-1103

update_endpoint

Modify existing API endpoint configurations including HTTP methods, URLs, headers, request parameters, and response schemas to maintain accurate API documentation and testing workflows.

Instructions

Update existing endpoint configuration

Input Schema

NameRequiredDescriptionDefault
endpoint_idYesEndpoint ID to update (required)
nameNoUpdated endpoint name (optional)
methodNoUpdated HTTP method (optional)
urlNoUpdated endpoint URL (optional)
descriptionNoUpdated endpoint description (optional)
headersNoUpdated request headers as key-value pairs
bodyNoUpdated request body (JSON string)
purposeNoUpdated business purpose (optional)
request_paramsNoUpdated parameter documentation: {param_name: "description"}
response_schemaNoUpdated response field documentation: {field_name: "description"}
header_docsNoUpdated header documentation: {header_name: "description"}

Input Schema (JSON Schema)

{ "properties": { "body": { "description": "Updated request body (JSON string)", "type": "string" }, "description": { "description": "Updated endpoint description (optional)", "type": "string" }, "endpoint_id": { "description": "Endpoint ID to update (required)", "type": "string" }, "header_docs": { "additionalProperties": { "description": "Header description", "type": "string" }, "description": "Updated header documentation: {header_name: \"description\"}", "type": "object" }, "headers": { "additionalProperties": { "description": "Header value", "type": "string" }, "description": "Updated request headers as key-value pairs", "type": "object" }, "method": { "description": "Updated HTTP method (optional)", "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS" ], "type": "string" }, "name": { "description": "Updated endpoint name (optional)", "type": "string" }, "purpose": { "description": "Updated business purpose (optional)", "type": "string" }, "request_params": { "additionalProperties": { "description": "Parameter description", "type": "string" }, "description": "Updated parameter documentation: {param_name: \"description\"}", "type": "object" }, "response_schema": { "additionalProperties": { "description": "Response field description", "type": "string" }, "description": "Updated response field documentation: {field_name: \"description\"}", "type": "object" }, "url": { "description": "Updated endpoint URL (optional)", "type": "string" } }, "required": [ "endpoint_id" ], "type": "object" }

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/martin-1103/mcp2'

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