Skip to main content
Glama

update_custom_applications

Update custom application configurations on the MCP Server for Coroot to group instances by container name patterns, enabling improved observability and monitoring of application performance.

Instructions

Update custom applications configuration.

Updates the list of custom application definitions. Custom applications allow grouping instances by container name patterns.

Args: project_id: Project ID applications: New custom applications list with instance patterns

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applicationsYes
project_idYes

Implementation Reference

  • MCP tool handler for 'update_custom_applications'. Decorated with @mcp.tool(), calls the implementation wrapper which delegates to CorootClient.
    @mcp.tool() async def update_custom_applications( project_id: str, applications: dict[str, Any], ) -> dict[str, Any]: """Update custom applications configuration. Updates the list of custom application definitions. Custom applications allow grouping instances by container name patterns. Args: project_id: Project ID applications: New custom applications list with instance patterns """ return await update_custom_applications_impl( # type: ignore[no-any-return] project_id, applications )
  • Implementation wrapper that calls CorootClient.update_custom_applications and formats the response with success/error handling.
    @handle_errors async def update_custom_applications_impl( project_id: str, applications: dict[str, Any], ) -> dict[str, Any]: """Update custom applications.""" result = await get_client().update_custom_applications(project_id, applications) return { "success": True, "message": "Custom applications updated successfully", "applications": result, }
  • CorootClient method that performs the actual API POST request to update custom applications configuration.
    async def update_custom_applications( self, project_id: str, applications: dict[str, Any] ) -> dict[str, Any]: """Update custom applications configuration. Args: project_id: Project ID. applications: New custom applications configuration. Returns: Updated applications. """ response = await self._request( "POST", f"/api/project/{project_id}/custom_applications", json=applications ) data: dict[str, Any] = response.json() return data

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/jamesbrink/mcp-coroot'

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