hangar_details
Retrieve configuration and runtime info for an MCP server or group: health history, state, mode, tool schemas, and group membership. Get the details you need for monitoring and troubleshooting.
Instructions
Get configuration and runtime info for a mcp_server or group.
CHOOSE THIS when: you need mcp_server config, health history, or group membership.
CHOOSE hangar_tools when: you need tool schemas for invoking.
CHOOSE hangar_status when: you need quick overview of all mcp_servers.
Side effects: None (read-only).
Args:
mcp_server: str - McpServer ID or Group ID
Returns:
McpServer: {
mcp_server: str,
state: str,
mode: str,
alive: bool,
tools: [{name, description, inputSchema}],
health: {consecutive_failures: int, last_check: str, ...},
idle_time: float,
meta: object
}
Group: {
group_id: str,
description: str,
state: str,
strategy: str,
min_healthy: int,
healthy_count: int,
total_members: int,
is_available: bool,
circuit_open: bool,
members: [{id, state, in_rotation, weight, priority, consecutive_failures}]
}
Error: ValueError with "unknown_mcp_server: <id>"
Example:
hangar_details("math")
# {"mcp_server": "math", "state": "ready", "mode": "subprocess",
# "alive": true, "tools": [...], "health": {"consecutive_failures": 0},
# "idle_time": 12.5, "meta": {}}
hangar_details("llm-group")
# {"group_id": "llm-group", "state": "ready", "strategy": "round_robin",
# "healthy_count": 2, "total_members": 3, "members": [...]}
hangar_details("unknown")
# Error: unknown_mcp_server: unknown
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcp_server | Yes |