Skip to main content
Glama

generate_cloudfront_distribution

Generate CloudFront distribution with origins, cache behaviors, and custom domain

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": {
      "originDomain": "<originDomain>"
    },
    "name": "generate_cloudfront_distribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
defaultTtlNoDefault TTL in seconds
priceClassNoCloudFront price class
httpVersionNoHTTP version
originDomainYesOrigin domain name (e.g. mybucket.s3.amazonaws.com)
wafWebAclArnNoWAF Web ACL ARN to associate
certificateArnNoACM certificate ARN for custom domain
geoRestrictionNoGeo-restriction country codes (e.g. US, CA, GB)
originShieldRegionNoOrigin Shield region (e.g. us-east-1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does not say whether this creates live infrastructure or merely emits a configuration artifact, whether it is idempotent or destructive, what permissions are needed, or what happens when required AWS resources are missing.

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 or redundancy, which is structurally clean. It is arguably under-sized for an eight-parameter generator, but that gap is better attributed to completeness than to verbosity.

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 an eight-parameter generator with no annotations and no output schema, the description omits what the returned artifact looks like, how the output is consumed, and how it differs from the SPA sibling. Only the parameter layer is well served, via the schema itself.

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 per-property descriptions and two enums, so the baseline is 3. The description adds only a loose gloss — it mentions origins and custom domain but not the TTL, price class, HTTP version, WAF, or geo-restriction controls — and its reference to "cache behaviors" does not correspond to any actual parameter.

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?

States a specific verb and resource ("Generate CloudFront distribution") plus the artifacts it composes (origins, cache behaviors, custom domain), so an agent knows exactly what is produced. It falls short of a 5 because it never distinguishes itself from the close sibling generate_cloudfront_spa, which an agent must choose between.

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 statement of prerequisites (e.g. an existing origin bucket or ACM cert validation), and no routing to alternatives such as generate_cloudfront_spa. The only signal is the implied "generation" semantics of the name and first word.

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.