Skip to main content
Glama

list_deployment_manager_deployments

Retrieve a list of Deployment Manager deployments in a specified GCP project to manage and monitor resource configurations effectively.

Instructions

List Deployment Manager deployments in a GCP project. Args: project_id: The ID of the GCP project to list deployments for Returns: List of Deployment Manager deployments in the specified GCP project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • The handler function for the 'list_deployment_manager_deployments' tool, decorated with @mcp.tool() inside the register_tools function. Includes type hints and docstring serving as schema, and the execution logic (currently a stub).
    @mcp.tool() def list_deployment_manager_deployments(project_id: str) -> str: """ List Deployment Manager deployments in a GCP project. Args: project_id: The ID of the GCP project to list deployments for Returns: List of Deployment Manager deployments in the specified GCP project """ # TODO: Implement this function return f"Not yet implemented: listing deployments for project {project_id}"
  • The call to register the deployment tools module in the main server.py, which triggers the registration of the 'list_deployment_manager_deployments' tool.
    deployment_tools.register_tools(mcp)
  • The import of the deployment tools module in server.py, prerequisite for registration.
    from .gcp_modules.deployment import tools as deployment_tools

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/henihaddad/gcp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server