Skip to main content
Glama

generate_waf_rules

Generate WAF v2 Web ACL configuration with managed and custom rules

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": {
      "webAclName": "<webAclName>",
      "scope": "<scope>"
    },
    "name": "generate_waf_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesWAF scope
loggingNoWAF logging configuration
rateLimitNoRate limit threshold per 5-minute period
webAclNameYesWAF Web ACL name
customRulesNoCustom WAF rule definitions
geoRestrictionNoBlocked country codes
managedRuleGroupsNoAWS managed rule group names

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 at all, the description carries the full disclosure burden and falls well short. It never clarifies that this only generates configuration rather than deploying it, nor does it mention validation, idempotency, or side effects. The word 'Generate' hints at emission rather than mutation, but that is inference, not disclosure.

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 waste. It is short enough to be efficient, though the brevity is partly the cause of the missing behavioral and usage detail rather than a virtue in itself.

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?

Seven parameters including nested objects, an enum, and no output schema — yet the description says nothing about the shape of the generated configuration, which is the entire deliverable. With no annotations and no output schema, the definition leaves the agent guessing about the result and about whether the tool mutates anything.

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 coverage is 100%, so the seven parameters, their enum, and their descriptions are already documented in structured form. The phrase 'managed and custom rules' loosely maps to managedRuleGroups and customRules but adds no semantics beyond what the schema states. Baseline 3 applies.

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 WAF v2 Web ACL configuration' — and scopes it to managed and custom rules. The resource name alone distinguishes it from the other generate_* siblings in the catalog, though it does not explicitly contrast with any of them.

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 guidance on when to use this versus alternatives, no note on prerequisites (e.g. existing Web ACL, REGIONAL vs CLOUDFRONT choice), and no statement about whether the output is applied or merely emitted. The agent must infer everything from the name.

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.