Skip to main content
Glama

detect_message_lag

Identify queues with message backlogs and classify severity as HIGH (>1000), MEDIUM (>100), or LOW (>0) for a Solace broker and VPN.

Instructions

Identify queues with message backlogs. Severity: HIGH (>1000), MEDIUM (>100), LOW (>0).

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": "detect_message_lag"
  }
}

Input Schema

NameRequiredDescriptionDefault
vpnYes
brokerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the severity classification thresholds (HIGH >1000, MEDIUM >100, LOW >0), which is real behavioral context beyond the name, but it omits whether the scan spans all queues on the broker, what the returned fields are, and whether the call is a cheap read or an expensive sweep.

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

Conciseness4/5

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

Two short sentences, front-loaded with the purpose and followed by a compact severity legend. No filler, though the legend's numeric bounds are unexplained (messages? bytes? time?).

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

Completeness2/5

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

No output schema and no annotations mean the description must fully specify behavior and inputs; it instead leaves both required parameters undocumented and the result shape unspecified. For a tool that requires broker plus VPN context, an agent lacks what it needs to call it correctly.

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?

Schema description coverage is 0% for two required parameters (broker, vpn), and the description says nothing about either — not their expected format, whether broker is a name or ID, or why a VPN must be supplied for a queue-lag check. The description does not compensate for the documentation gap.

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 specific verb ('Identify') and resource ('queues with message backlogs'), so an agent knows exactly what it returns. It does not explicitly differentiate itself from the sibling find_backlogged_queues, which appears to target the same domain, leaving some ambiguity about which 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 Guidelines2/5

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

There is no guidance on when to call this versus alternatives such as find_backlogged_queues or get_queue_stats, and no prerequisites are mentioned (e.g., needing a broker and VPN scope). The severity legend implies a monitoring use case but never says so.

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