Skip to main content
Glama

Kong Konnect MCP Server

Official
by Kong

get_consumer_requests

Retrieve and analyze API requests for a specific consumer on Kong Konnect MCP Server. Filter by time range, success or failure status, and view detailed statistics, including latency, success rate, and service distribution.

Instructions

Retrieve and analyze API requests made by a specific consumer.

INPUT:

  • consumerId: String - ID of the consumer to analyze. The format of this field must be "controlPlaneID:consumerId".

  • timeRange: String - Time range for data retrieval (15M, 1H, 6H, 12H, 24H, 7D)

  • successOnly: Boolean - Filter to only show successful (2xx) requests (default: false)

  • failureOnly: Boolean - Filter to only show failed (non-2xx) requests (default: false)

  • maxResults: Number - Maximum number of results to return (1-1000)

OUTPUT:

  • metadata: Object - Contains consumerId, totalRequests, timeRange, and filters

  • statistics: Object - Usage statistics including:

    • averageLatencyMs: Number - Average response time in milliseconds

    • successRate: Number - Percentage of successful requests

    • statusCodeDistribution: Array - Breakdown of requests by status code

    • serviceDistribution: Array - Breakdown of requests by service

  • requests: Array - List of requests with details for each request

Input Schema

NameRequiredDescriptionDefault
consumerIdYesConsumer ID to filter by (obtainable from analyze-failed-requests or query-api-requests tools)
failureOnlyNoShow only failed (non-2xx) requests
maxResultsNoNumber of items to return per page
successOnlyNoShow only successful (2xx) requests
timeRangeNoTime range for data retrieval (15M = 15 minutes, 1H = 1 hour, etc.)1H

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "consumerId": { "description": "Consumer ID to filter by (obtainable from analyze-failed-requests or query-api-requests tools)", "type": "string" }, "failureOnly": { "default": false, "description": "Show only failed (non-2xx) requests", "type": "boolean" }, "maxResults": { "default": 100, "description": "Number of items to return per page", "maximum": 1000, "minimum": 1, "type": "integer" }, "successOnly": { "default": false, "description": "Show only successful (2xx) requests", "type": "boolean" }, "timeRange": { "default": "1H", "description": "Time range for data retrieval (15M = 15 minutes, 1H = 1 hour, etc.)", "enum": [ "15M", "1H", "6H", "12H", "24H", "7D" ], "type": "string" } }, "required": [ "consumerId" ], "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/Kong/mcp-konnect'

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