Skip to main content
Glama

get_deployments_overview

Track recent deployments with a detailed overview, including timeline, success/failure rates, rollback history, and performance impact. Use project ID and optional query for targeted analysis.

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 input parameters, calls the implementation helper, and returns formatted response with error handling via decorator.
    @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]
  • Implementation helper function decorated with @handle_errors that invokes CorootClient.get_deployments_overview and wraps the response in a success dict.
    @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 method implementing the core API call to retrieve deployments overview data from the Coroot server via HTTP GET to /api/project/{project_id}/overview/deployments.
    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

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