Skip to main content
Glama

get_kill_switch

Check if trading is halted and retrieve the kill-switch reason and duration from the runtime snapshot. Read-only status lookup; use set_kill_switch to change state.

Instructions

Read kill-switch state from the runtime state snapshot. Returns {active, reason, since_ns}. Use this for 'is trading halted' / 'why was the kill switch tripped'. When no engine has written a snapshot, returns the idle response with active=false (there is no live trading to halt). Read-only — to flip the switch use set_kill_switch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
state_pathNoOverride snapshot path.

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/FLOX-Foundation/flox'

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