Skip to main content
Glama

MCP Utility Tools

by haasonsaas

retry_operation

Automatically retries failed operations with exponential backoff, ideal for transient issues in API calls, network requests, or database queries. Configurable retries and delays ensure robust error handling.

Instructions

Retry an operation with exponential backoff. Use this for operations that might fail temporarily (API calls, network requests, etc.)

Input Schema

NameRequiredDescriptionDefault
initial_delay_msNo
max_retriesNo
operation_dataYesData specific to the operation (e.g., URL for HTTP, query for DB)
operation_idYesUnique identifier for this operation (used for tracking retries)
operation_typeYesType of operation being retried
should_executeNoIf false, just returns retry metadata without executing

Input Schema (JSON Schema)

{ "properties": { "initial_delay_ms": { "default": 1000, "maximum": 60000, "minimum": 100, "type": "number" }, "max_retries": { "default": 3, "maximum": 10, "minimum": 1, "type": "number" }, "operation_data": { "description": "Data specific to the operation (e.g., URL for HTTP, query for DB)", "type": "object" }, "operation_id": { "description": "Unique identifier for this operation (used for tracking retries)", "type": "string" }, "operation_type": { "description": "Type of operation being retried", "enum": [ "http_request", "database_query", "file_operation", "custom" ], "type": "string" }, "should_execute": { "default": true, "description": "If false, just returns retry metadata without executing", "type": "boolean" } }, "required": [ "operation_id", "operation_type", "operation_data" ], "type": "object" }
Install Server

Other Tools from MCP Utility Tools

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/haasonsaas/mcp-utility-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server