Skip to main content
Glama

get_project_status

Retrieve project health and integration status, including Prometheus connections and node agent deployments, to monitor and troubleshoot system performance efficiently.

Instructions

Get project status including agent and integration health.

Returns the current status of a project including:

  • Overall project health

  • Prometheus connection status

  • Node agent deployment status

  • Any error messages

Args: project_id: Project ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • MCP tool handler and registration for 'get_project_status'. This is the entry point decorated with @mcp.tool() that delegates to the implementation.
    @mcp.tool() async def get_project_status(project_id: str) -> dict[str, Any]: """Get project status including agent and integration health. Returns the current status of a project including: - Overall project health - Prometheus connection status - Node agent deployment status - Any error messages Args: project_id: Project ID """ return await get_project_status_impl(project_id) # type: ignore[no-any-return]
  • Helper implementation in server.py that calls the CorootClient method and formats the success response.
    @handle_errors async def get_project_status_impl(project_id: str) -> dict[str, Any]: """Get project status.""" status = await get_client().get_project_status(project_id) return { "success": True, "status": status, }
  • Core handler logic in CorootClient that performs the HTTP request to the Coroot API endpoint /api/project/{project_id}/status and parses the JSON response.
    async def get_project_status(self, project_id: str) -> dict[str, Any]: """Get project status including Prometheus and agent status. Args: project_id: Project ID. Returns: Project status dictionary. """ response = await self._request("GET", f"/api/project/{project_id}/status") 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