Skip to main content
Glama
Adaptive Retry Circuit Breaker Skill

Adaptive Retry Circuit Breaker Skill

Adaptive Retry Circuit Breaker Skill for Autonomous Agents

MCP Compatible Python 3.9+ License: MIT Zero External Dependencies

Resilience and fault-tolerance engine protecting multi-agent pipelines from cascade outages, API rate limit exhaustion, and unstable external web services.

Core Features

  • Finite State Machine: Seamlessly manages CLOSED, OPEN, and HALF_OPEN states.

  • Exponential Backoff with Full Jitter: Prevents thundering herd problems when upstream APIs recover.

  • Fail-Fast Defense: Immediately rejects downstream requests when a service is degraded, preventing timeout latency spikes.

Related MCP server: genpark-adaptive-token-rate-limiter-skill

MCP Server Integration

python mcp_server.py

Available MCP Tools

  • check_execution_allowed: Query if a target service endpoint is healthy and requests are permitted.

  • report_result: Record success or failure to trigger state transitions.

  • get_breaker_state: Get current breaker status, failure metrics, and recovery timers.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables fault-tolerant agent tool execution with adaptive exponential backoff, full jitter, rate-limit 429 backpressure handling, and circuit breaker patterns to make AI agent calls resilient to transient failures. Plugs directly into MCP-compliant clients via JSON-RPC 2.0 stdio with zero external dependencies.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to run shell commands, perform sandboxed file operations, and make HTTP requests through zero-trust guards that block command injection, path traversal, and SSRF while redacting secrets from inputs and outputs. Circuit breakers, per-session rate limits, and an append-only audit ledger prevent runaway loops, excessive token spend, and provide post-hoc traceability.
      5
      MIT