Skip to main content
Glama

get_retry_amplification

Retrieve live retry-amplification detector state to tell whether rising load, latency, errors, or churn signal a self-sustaining retry storm rather than real traffic growth.

Instructions

Get the live retry-amplification detector state: whether its baseline is armed, whether a candidate or amplifying episode is open (load per client rising with latency, errors or churn while the client count stays flat), the last episode and its trigger, and the clients whose command rate or reconnects grew most. On a cluster or Sentinel group, nodes holds the same state for each other primary it reads. Use when an incident looks like a self-sustaining retry storm rather than real traffic growth.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_retry_amplification"
  }
}

Input Schema

NameRequiredDescriptionDefault
instanceIdNoOptional instance ID override

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.54.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does useful work: it defines the amplification signal (load per client rising with latency, errors or churn while client count stays flat) and discloses cluster/Sentinel behavior where `nodes` holds per-primary state. It omits any statement about cost, freshness beyond 'live', permissions, or failure modes, leaving meaningful gaps for an unannotated tool.

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?

Front-loaded with the verb and resource, and every clause contributes information about returned state or scope. The first sentence is dense and clause-heavy, which slows scanning slightly, but there is no filler or redundant restatement.

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

Completeness4/5

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

With no output schema, the description correctly compensates by enumerating return contents, including the nested per-primary `nodes` behavior. For a single optional-parameter read tool this is nearly sufficient; only freshness/permission expectations and any limits on episode history remain unstated.

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

Parameters3/5

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

Only one optional parameter (instanceId) exists and schema coverage is 100%, so the schema already documents it fully. The description adds nothing about the override's semantics; the `nodes` mention concerns return data, not inputs. Baseline 3 applies when the schema does the heavy lifting.

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?

Specific verb 'Get' paired with a precise resource: 'the live retry-amplification detector state', followed by an enumeration of exactly what that state contains (baseline armed, open candidate/amplifying episode, last episode and trigger, top offending clients). It distinguishes itself conceptually by casting the condition as a retry storm 'rather than real traffic growth', though it never names a specific sibling such as get_anomalies to route against.

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

Usage Guidelines4/5

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

Gives a clear triggering condition: 'Use when an incident looks like a self-sustaining retry storm rather than real traffic growth.' That is a usable when-to-use rule with an implicit negative case, but it does not name an alternative tool or explicitly state when not to call this one.

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