Skip to main content
Glama
caretdev

InterSystems IRIS MCP Server

interoperability_production_needsupdate

Check if an Interoperability Production requires updates to maintain functionality and compatibility within InterSystems IRIS systems.

Instructions

Check if an Interoperability Production needs update

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function decorated with @server.tool registers and implements the 'interoperability_production_needsupdate' tool. It checks if the current Interoperability Production requires an update by calling the IRIS class method Ens.Director.ProductionNeedsUpdate, raising an error if true or returning a success message.
    @server.tool(description="Check if an Interoperability Production needs update") async def interoperability_production_needsupdate( ctx: Context, ) -> str: logger.info("Checking if Interoperability Production needs update") iris = ctx.iris reason = IRISReference(iris) result = iris.classMethodBoolean( "Ens.Director", "ProductionNeedsUpdate", reason ) if result: raise ValueError(f"Production needs update: {reason.getValue()}") return "Production does not need update"
  • The call to the init function (imported as interoperability) from interoperability.py, which defines and registers the tool via @server.tool decorator.
    interoperability(server, logger)
  • Import of the init function that registers the interoperability tools, including 'interoperability_production_needsupdate'.
    from mcp_server_iris.interoperability import init as interoperability

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/caretdev/mcp-server-iris'

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