Skip to main content
Glama

generate_eventarc_trigger

Generate Eventarc trigger Terraform, gcloud commands, and event filter configuration for Cloud Run, Workflows, or Functions destinations

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": {
      "name": "<name>",
      "location": "<location>",
      "eventType": "<eventType>"
    },
    "name": "generate_eventarc_trigger"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesEventarc trigger name
channelNoCustom event channel name
filtersNoEvent filters [{attribute, value}]
locationYesGCP location
eventTypeYesEvent type (e.g. google.cloud.storage.object.v1.finalized)
destinationNoDestination {cloudRun: {service, path} | workflow: name | function: name}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully discloses the three output forms produced and the destination families supported, but says nothing about whether it writes files or returns text, whether it applies anything to GCP, or what permissions/credentials are needed for the emitted gcloud commands.

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 sentence with no padding, and the generated-artifact list is front-loaded right after the verb. It could be slightly better structured with separate target/destination guidance, but nothing is wasted.

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

Completeness3/5

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

For a 6-parameter tool with a nested destination object, no annotations, and no output schema, the description is adequate but leaves meaningful gaps: return shape, whether generation is pure or has side effects, and any validation or credential requirements. It is complete enough to start a call but not to predict its behavior confidently.

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%, including descriptions for name, channel, filters, location, eventType, and the nested destination object, so the schema does the heavy lifting. The description only adds the destination enum-like list (Cloud Run, Workflows, Functions), which is marginal value beyond that.

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 names a specific verb and resource ('Generate Eventarc trigger') and enumerates the produced artifacts (Terraform, gcloud commands, event filter configuration) plus supported destination types. It distinguishes itself from the uniformly named 'generate_*' siblings by resource, though it never explicitly contrasts with any alternative.

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

Usage Guidelines3/5

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

Usage is only implied: the tool is for scaffolding Eventarc trigger configuration targeting Cloud Run, Workflows, or Functions. There is no statement of when to prefer it over manual configuration or a sibling generator, and no prerequisites or exclusions are given.

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.