Skip to main content
Glama

generate_cloudtrail_config

Generate CloudTrail configuration with S3 logging and insights

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": {
      "trailName": "<trailName>"
    },
    "name": "generate_cloudtrail_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
kmsKeyIdNoKMS key ID for log encryption
trailNameYesCloudTrail trail name
dataEventsNoData event selectors (S3, Lambda)
s3BucketNameNoS3 bucket for trail logs
isMultiRegionNoEnable multi-region trail
enableInsightsNoEnable CloudTrail Insights
cloudWatchLogGroupNoCloudWatch Logs group name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.1/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. It says 'generate' but never clarifies whether the result is returned as text/template or actually applied to an AWS account, whether credentials or a region are needed, or whether it is idempotent or destructive. For a 7-parameter generation tool with zero annotation coverage, that is a substantial gap.

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 sentence with no filler, so it is efficient and scannable. Its brevity is close to under-specification rather than verbosity, but nothing written is wasted.

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?

For a 7-parameter tool with no annotations and no output schema, the definition leaves the agent guessing about the return format, whether the config is applied or merely emitted, and any preconditions. The schema covers inputs well, but the operational picture is incomplete.

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 seven parameters are already documented in the schema, establishing a baseline of 3. The description only loosely gestures at two of them (S3 logging, insights) and adds no syntax, defaults, or interaction rules 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 and resource ('Generate CloudTrail configuration') and narrows scope to S3 logging and insights, so an agent knows exactly what artifact is produced. It stops short of differentiating itself from the many sibling generate_*_config tools, which is the only reason it isn't a 5.

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?

The phrase 'with S3 logging and insights' implies the configuration this tool is suited for, giving implicit context for selection. However, there is no explicit when-to-use, no prerequisites, and no mention of alternatives such as generate_cloud_logging_config or generate_cloud_trace_config, which are close neighbors.

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.