Skip to main content
Glama

get_deployment_details

Retrieve detailed information about a specific Google Cloud Platform Deployment Manager deployment, including project ID and deployment name, for comprehensive resource insights.

Instructions

Get details of a specific Deployment Manager deployment. Args: project_id: The ID of the GCP project deployment_name: The name of the deployment to get details for Returns: Details of the specified deployment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deployment_nameYes
project_idYes

Implementation Reference

  • The main handler function for the 'get_deployment_details' tool. It is decorated with @mcp.tool() which also handles registration. Includes type annotations for parameters and return type, serving as the input/output schema, and a docstring describing the tool.
    @mcp.tool() def get_deployment_details(project_id: str, deployment_name: str) -> str: """ Get details of a specific Deployment Manager deployment. Args: project_id: The ID of the GCP project deployment_name: The name of the deployment to get details for Returns: Details of the specified deployment """ # TODO: Implement this function return f"Not yet implemented: getting details for deployment {deployment_name} in project {project_id}"
  • The call to deployment_tools.register_tools(mcp) that triggers the registration of the 'get_deployment_details' tool (along with other deployment tools) to the MCP server.
    deployment_tools.register_tools(mcp)
  • Import of the deployment tools module, which contains the 'get_deployment_details' implementation and its register_tools function.
    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