Skip to main content
Glama

manage_circuit_breaker

Trip or reset chaos circuit breakers in mockd to control fault injection during API testing. Specify the circuit breaker key and action to manage fault states.

Instructions

Manually trip or reset a chaos circuit breaker by its state key. Circuit breaker keys follow the format "ruleIdx:faultIdx" (e.g., "0:0" for the first fault in the first rule). Use get_stateful_faults to discover active circuit breaker keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform on the circuit breaker
keyYesCircuit breaker state key (e.g., "0:0")

Latest Blog Posts

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/getmockd/mockd'

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