Global Retry Budget Tracker

Global Retry Budget Tracker MCP Connector for Claude

A+

Prevents unbounded retry loops by enforcing a strict credit-based budget across all agents.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server prevents 'retry storms' in multi-agent workflows by managing a finite pool of credits. It allows you to define specific costs for different error types, such as rate limits or timeouts, and deducts these from a global budget. By using check_and_deduct_retry, you can ensure that agents do not enter infinite loops that consume excessive resources. It also provides visibility into per-agent expenditure via get_session_status and allows for session resets using reset_budget.

retry-controlbudgetingagent-orchestrationerror-handlingresource-limits

3 tools expose this connector's capabilities to your AI agent.

check_and_deduct_retry

Provide the agent ID, the type of error encountered, the current total budget, the cost mapping for error types, and the current per-agent usage map. Determine if a retry is permitted and deduct cost from the globalThis budget

get_session_status

Retrieve a snapshot of the current budget state

reset_budget

Clear all tracking and reset the session to a fresh state

See how to talk to your AI agent using Global Retry Budget Tracker.

Check if agent 'researcher_1' can retry a rate limit error with a budget of 10 and a cost map of {'rate_limit': 2}.

{"should_retry": true, "remaining_budget": 8, "per_agent_usage": {"researcher_1": 2}, "budget_exhausted": false}

Get the current session status for a budget of 5 and usage of {'agent_a': 5}.

{"remaining_budget": 0, "per_agent_usage": {"agent_a": 5}, "budget_exhausted": true}

Reset the budget to 100 credits.

{"remaining_budget": 100, "per_agent_usage": {}, "budget_exhausted": false}

The system uses a credit-based model. You define a `total_budget` and a `cost_map`. When an agent encounters an error, `check_and_deduct_retry` checks if the remaining budget covers the cost of that specific `error_type`. If it does, the cost is deducted and the retry is permitted.

Related Connectors