consumer_group_lag

consumer_group_lag

Server Kafka MCP Server jilanisayyad/kafka-mcp-server
Category Read
Risk class Low
Parameters 00 required

What consumer_group_lag does on Kafka MCP Server

AI agents call consumer_group_lag to retrieve information from Kafka MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why consumer_group_lag needs a policy

Consumer group lag is a monitoring metric that queries the state of Kafka consumer groups—how far behind they are processing messages. This is a non-destructive, read-only operation with no side effects. It retrieves information for inspection purposes only, placing it squarely in the Read category.

From the tool's definition Tool name 'consumer_group_lag' indicates retrieval of consumer group lag metrics. Sibling tools like 'list_consumer_groups', 'list_topics', and 'live_messages' are all Read operations.

Questions about consumer_group_lag

What does the consumer_group_lag tool do? +

consumer_group_lag. It is categorised as a Read tool in the Kafka MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on consumer_group_lag? +

Register the Kafka MCP Server MCP server in PolicyLayer and add a rule for consumer_group_lag: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Kafka MCP Server. Nothing to install.

What risk level is consumer_group_lag? +

consumer_group_lag is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit consumer_group_lag? +

Yes. Add a rate_limit block to the consumer_group_lag rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block consumer_group_lag completely? +

Set action: deny in the PolicyLayer policy for consumer_group_lag. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides consumer_group_lag? +

consumer_group_lag is provided by the Kafka MCP Server MCP server (jilanisayyad/kafka-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.