Skip to main content
Glama

list_cloud_build_triggers

List Cloud Build triggers in a specified GCP project to manage and monitor automated build configurations efficiently.

Instructions

List Cloud Build triggers in a GCP project. Args: project_id: The ID of the GCP project to list build triggers for Returns: List of Cloud Build triggers in the specified GCP project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • The handler function implementing the 'list_cloud_build_triggers' tool logic (currently a TODO placeholder with input validation via type hints and docstring serving as schema). The @mcp.tool() decorator also handles registration.
    @mcp.tool() def list_cloud_build_triggers(project_id: str) -> str: """ List Cloud Build triggers in a GCP project. Args: project_id: The ID of the GCP project to list build triggers for Returns: List of Cloud Build triggers in the specified GCP project """ # TODO: Implement this function return f"Not yet implemented: listing Cloud Build triggers for project {project_id}"
  • Top-level registration call for the deployment tools module, which registers the 'list_cloud_build_triggers' tool.
    deployment_tools.register_tools(mcp)
  • Import of the deployment tools module containing the 'list_cloud_build_triggers' implementation and registration.
    from .gcp_modules.deployment import tools as deployment_tools
  • The module-level register_tools function that defines and registers multiple tools, including 'list_cloud_build_triggers' via nested @mcp.tool() decorators.
    def register_tools(mcp): """Register all deployment tools with the MCP server."""

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