Skip to main content
Glama

generate_cloud_armor_policy

Generate Cloud Armor Terraform, security policy rules, WAF tuning, and adaptive protection configuration

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>"
    },
    "name": "generate_cloud_armor_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSecurity policy name
rulesNoRules [{priority, action, match}]
wafRulesNoPre-configured WAF rule groups
rateLimitingNoRate limiting config {count, intervalSec}
adaptiveProtectionNoEnable Adaptive Protection (DDoS)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 does not say whether the tool writes files, returns a Terraform string, or emits JSON, nor whether generation is side-effect free or requires credentials. For a generator with nested config inputs, that is a significant 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. It is dense but readable; the only weakness is that the noun list is doing the work a short clause about output format could do better.

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?

With five parameters, nested objects, no output schema, and no annotations, the definition should explain what is produced and in what form. It never states the return shape (Terraform HCL vs. JSON) or how the optional rule/rate-limit blocks interact, leaving the agent under-informed for a moderately complex tool.

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 every parameter (name, rules, wafRules, rateLimiting, adaptiveProtection) is already documented in the schema. The description only echoes those concepts (WAF tuning, adaptive protection) without adding format, defaults, or interaction details, so the 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 (Generate) and a specific resource (Cloud Armor policy) plus the artifacts produced: Terraform, security policy rules, WAF tuning, adaptive protection. The 'Cloud Armor' qualifier distinguishes it from the many other generate_*_policy siblings. It stops short of 5 because the object is a comma-list of outputs rather than one crisp statement of what the tool returns.

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 generate_network_policy or the other policy generators, and no prerequisites (e.g., whether a GCP project/region context is needed). The agent must infer applicability from the name alone.

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.