tools/call method executes a specific tool with the given arguments. The server validates the arguments against the tool’s input schema, calls the configured API endpoint, and returns the result.
MCP Endpoint
Request
Key-value pairs matching the tool’s
inputSchema. Required fields must be present and correctly typed or the call is rejected with a validation error.Response
Array of content blocks. Each block has:
type— Always"text"in the current implementationtext— The upstream API response body as a JSON string
Present and
true when the tool call failed (e.g. upstream API returned an error). The content array still contains the error message text.Request Parameters
Tool Execution Pipeline
Whentools/call is received:
- Validate — Check the tool exists and is active
- Resolve parameters — Map arguments to the HTTP request (path, query, body, headers)
- Inject auth — Add API credentials to the request
- Call API — Execute the HTTP request to the upstream endpoint
- Transform — Convert the API response into MCP content blocks
- Log — Record the call in the analytics database
- Return — Send the JSON-RPC response

