Skip to main content
Glama

generate_cloud_build_config

Generate Cloud Build cloudbuild.yaml, trigger configuration, Terraform, and artifact storage setup

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "steps": "<steps>"
    },
    "name": "generate_cloud_build_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesBuild steps [{name, image, args, entrypoint}]
optionsNoBuild options {machineType, logging, diskSizeGb}
triggersNoTriggers [{branch, tag, pr}]
artifactsNoArtifact export config {images, objects}
substitutionsNoBuild substitution variables

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses very little. It doesn't say whether the tool returns YAML text, writes files to disk, requires GCP auth or a project ID, or how the Terraform output relates to the cloudbuild.yaml output. For a generation tool with nested inputs and no output schema, these are material omissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded clause that enumerates the outputs with no filler or repetition. It is a fragment rather than a sentence, but every word contributes to scope.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With five parameters including three nested objects, no annotations, and no output schema, the description should explain what the generated result looks like and how the four named outputs are returned. Instead it only lists output kinds, leaving the agent unable to predict the response shape before invoking.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with each of the five parameters documented inline (steps, options, triggers, artifacts, substitutions), so the baseline is 3. The description's mention of "trigger configuration," "Terraform," and "artifact storage setup" loosely echoes the triggers and artifacts parameters but adds no mapping or format detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ("Generate") with a concrete resource set: cloudbuild.yaml, trigger configuration, Terraform, and artifact storage setup. That scope plus the generate_cloud_* naming pattern makes it clearly distinguishable from siblings like generate_cloud_cdn_config. It stops short of a 5 because it doesn't say whether these outputs are one combined artifact or four independently selectable pieces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives or exclusions. An agent must infer that this is the tool for Cloud Build configs from the name and description alone. Nothing tells it when a sibling generator would be the better choice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.