get_applications_overview
Obtain a high-level summary of all applications within a project, including health status, performance metrics, resource usage, and recent incidents, for efficient monitoring and analysis.
Instructions
Get overview of all applications in a project.
Returns a high-level view of all applications including:
Application health status
Key performance indicators
Resource usage
Recent incidents
Args: project_id: Project ID query: Search/filter query (optional)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| query | No |
Implementation Reference
- src/mcp_coroot/server.py:403-420 (handler)Primary MCP tool handler for get_applications_overview. The @mcp.tool() decorator registers this function as an MCP tool. It invokes the implementation wrapper to execute the tool logic.@mcp.tool() async def get_applications_overview( project_id: str, query: str | None = None, ) -> dict[str, Any]: """Get overview of all applications in a project. Returns a high-level view of all applications including: - Application health status - Key performance indicators - Resource usage - Recent incidents Args: project_id: Project ID query: Search/filter query (optional) """ return await get_applications_overview_impl(project_id, query) # type: ignore[no-any-return]
- src/mcp_coroot/client.py:468-492 (helper)Core helper function in CorootClient class that executes the actual HTTP request to the Coroot API to retrieve the applications overview data.async def get_applications_overview( self, project_id: str, query: str | None = None, ) -> dict[str, Any]: """Get applications overview. Args: project_id: Project ID. query: Search/filter query. Returns: Applications overview data. """ params = {} if query: params["query"] = query response = await self._request( "GET", f"/api/project/{project_id}/overview/applications", params=params, ) data: dict[str, Any] = response.json() return data
- src/mcp_coroot/server.py:390-401 (helper)Implementation wrapper decorated with @handle_errors that calls the CorootClient method and formats the standard success response.@handle_errors async def get_applications_overview_impl( project_id: str, query: str | None = None, ) -> dict[str, Any]: """Get applications overview.""" overview = await get_client().get_applications_overview(project_id, query) return { "success": True, "overview": overview, }