Skip to main content
Glama

get_project_status

Retrieve project health status, including agent deployment, Prometheus connections, and error details for monitoring infrastructure performance.

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

  • Core handler implementation that fetches project status via CorootClient and wraps in success response.
    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, }
  • MCP tool registration using @mcp.tool() decorator with input schema from signature and docstring.
    @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]
  • CorootClient helper method that performs the actual HTTP request to retrieve project status from Coroot API.
    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