Skip to main content
Glama

get_event_handlers

Retrieve or filter event handlers that define how Conductor responds to external events, with options to specify event names and active status.

Instructions

Get all event handlers or filter by event and active status. Event handlers define how Conductor responds to external events.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventNoFilter by event name
activeOnlyNoReturn only active event handlers (default: true)

Implementation Reference

  • Handler implementation for get_event_handlers: extracts event and activeOnly parameters, calls Conductor API endpoint /event, and returns the JSON response as text content.
    case "get_event_handlers": { const params: any = {}; if ((args as any).event) params.event = (args as any).event; if ((args as any).activeOnly !== undefined) params.activeOnly = (args as any).activeOnly; else params.activeOnly = true; const response = await conductorClient.get("/event", { params }); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • src/index.ts:562-580 (registration)
    Tool registration in the tools array, including name, description, and input schema for get_event_handlers.
    { name: "get_event_handlers", description: "Get all event handlers or filter by event and active status. Event handlers define how Conductor responds to external events.", inputSchema: { type: "object", properties: { event: { type: "string", description: "Filter by event name", }, activeOnly: { type: "boolean", description: "Return only active event handlers (default: true)", }, }, }, }, ];
  • Input schema definition for the get_event_handlers tool.
    inputSchema: { type: "object", properties: { event: { type: "string", description: "Filter by event name", }, activeOnly: { type: "boolean", description: "Return only active event handlers (default: true)", }, }, }, }, ];

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/opensensor/conductor-mcp'

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