Skip to main content
Glama

generate_eventbridge_patterns

Generate EventBridge event bus with rules, targets, input transformers, DLQ config — outputs CloudFormation + Terraform + event pattern examples

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": {
      "busName": "<busName>"
    },
    "name": "generate_eventbridge_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesNoRule definitions — each with name, pattern (event pattern object), and targets (array of {id, arn})
dlqArnNoDefault dead-letter queue ARN for all rules
busNameYesCustom event bus name (use 'default' for the default bus)
enableArchiveNoCreate an EventBridge archive for event replay

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the output formats (CloudFormation + Terraform + event pattern examples), which is genuinely useful, but it never states whether anything is written to disk or deployed, whether the call is idempotent or read-only, or how validation failures surface.

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 dense sentence that front-loads the generated resource and ends with the concrete artifact list. Nothing is redundant, though the absence of any structural break makes the often-critical output-format information easy to skim past.

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 four-parameter generator with no annotations and no output schema, the description does cover what comes back (three artifact types), which compensates for the missing output schema. It still leaves open side effects, file emission, and how nested rule/target definitions are validated, which matters given the free-form array-of-objects 'rules' parameter.

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%, so all four parameters (busName, rules, dlqArn, enableArchive) are already documented in the schema, making 3 the baseline. The description restates the same concepts (rules, targets, DLQ config) without adding format details, defaults, or constraints beyond the schema, and it mentions 'input transformers' which appear in no parameter description.

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 (Generate), a specific resource (EventBridge event bus with rules, targets, input transformers, DLQ config), and enumerates the produced artifacts (CloudFormation, Terraform, event pattern examples). It is clearly distinguishable from a single-rule generator in substance, but it never explicitly names or contrasts with the sibling generate_eventbridge_rule.

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 or when-not-to-use guidance: nothing tells the agent to pick this over generate_eventbridge_rule for a single rule, nor are prerequisites (AWS account, existing bus, ARN requirements) mentioned. Usage must be inferred entirely from the resource noun.

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.