interoperability_production_queues
Retrieve and manage Interoperability Production queues in InterSystems IRIS MCP Server for monitoring and operational insights.
Instructions
Get Interoperability Production queues
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The core handler function for the 'interoperability_production_queues' tool, decorated with @server.tool for registration. It connects to the database, executes 'select * from Ens.Queue_Enumerate()' to fetch queue information, formats the results as a string, and returns it.@server.tool(description="Get Interoperability Production queues") async def interoperability_production_queues( ctx: Context, ) -> str: queues = [] db = ctx.db with db.cursor() as cur: sql = "select * from Ens.Queue_Enumerate()" cur.execute(sql) rows = cur.fetchall() queues = [", ".join([f"{cell}" for cell in row]) for row in rows] return "\n".join(queues)
- src/mcp_server_iris/interoperability.py:234-234 (registration)The @server.tool decorator registers the 'interoperability_production_queues' tool with the MCP server.@server.tool(description="Get Interoperability Production queues")