Skip to main content
Glama

find_idle_consumers

Identifies queues with consumers that are not draining messages to help diagnose stuck consumers.

Instructions

Find queues with consumers that are not draining messages. Useful for diagnosing stuck consumers.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "broker": "<broker>",
      "vpn": "<vpn>"
    },
    "name": "find_idle_consumers"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpnYes
brokerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden. It never states that this is a read-only query, what threshold makes a consumer 'not draining,' whether the result is per-broker/per-VPN scoped, or how many results come back. For a diagnostic tool with zero annotation coverage and no output schema, this leaves real gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, purpose front-loaded ahead of the use case, with zero filler. Nothing is repeated and nothing extraneous is included.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Placeholder check.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Two required parameters (broker, vpn) exist at 0% schema description coverage, and the description names neither of them. It adds no meaning about what a broker or VPN identifier looks like or how they scope the search. With the schema entirely silent, the description should have compensated and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource: 'Find queues with consumers that are not draining messages.' The purpose is unambiguous and more specific than the name alone, which is useful since 'idle consumers' is jargon. However, it never differentiates itself from near-neighbors such as find_backlogged_queues or detect_message_lag, so an agent must guess which diagnostic to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Useful for diagnosing stuck consumers' gives a use case, which is more than nothing. It stops short of when-not-to-use guidance and names no alternative tool, even though several siblings cover overlapping diagnostic territory (backlogged queues, message lag, consumer lists).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.