Skip to main content
Glama
jamesbrink

MCP Server for Coroot

get_deployments_overview

Track recent deployments to monitor success rates, rollback history, and performance impact for project oversight.

Instructions

Get deployment tracking overview.

Returns information about recent deployments:

  • Deployment timeline

  • Success/failure rates

  • Rollback history

  • Impact on application performance

Args: project_id: Project ID query: Search/filter query (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
queryNo

Implementation Reference

  • Primary MCP tool handler function registered with @mcp.tool(). Handles tool execution, input validation via type hints/docstring, error handling, and delegates to the implementation helper which calls the Coroot client.
    @mcp.tool()
    async def get_deployments_overview(
        project_id: str,
        query: str | None = None,
    ) -> dict[str, Any]:
        """Get deployment tracking overview.
    
        Returns information about recent deployments:
        - Deployment timeline
        - Success/failure rates
        - Rollback history
        - Impact on application performance
    
        Args:
            project_id: Project ID
            query: Search/filter query (optional)
        """
        return await get_deployments_overview_impl(project_id, query)  # type: ignore[no-any-return]
  • Internal helper implementation that calls the CorootClient to fetch deployments overview data and formats the response.
    @handle_errors
    async def get_deployments_overview_impl(
        project_id: str,
        query: str | None = None,
    ) -> dict[str, Any]:
        """Get deployments overview."""
        overview = await get_client().get_deployments_overview(project_id, query)
        return {
            "success": True,
            "overview": overview,
        }
  • CorootClient utility method that makes the HTTP API request to retrieve deployments overview from the Coroot server.
    async def get_deployments_overview(
        self,
        project_id: str,
        query: str | None = None,
    ) -> dict[str, Any]:
        """Get deployments overview.
    
        Args:
            project_id: Project ID.
            query: Search/filter query.
    
        Returns:
            Deployments overview data.
        """
        params = {}
        if query:
            params["query"] = query
    
        response = await self._request(
            "GET",
            f"/api/project/{project_id}/overview/deployments",
            params=params,
        )
        data: dict[str, Any] = response.json()
        return data
  • FastMCP decorator that registers the get_deployments_overview tool with the MCP server, auto-generating schema from signature and docstring.
    @mcp.tool()

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