Skip to main content
Glama

generate_application_gateway

Generate Application Gateway v2 (WAF_v2) Bicep template — WAF Detection mode by default, autoscale-ready

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>",
      "location": "<location>",
      "subnetId": "<subnetId>"
    },
    "name": "generate_application_gateway"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesApp Gateway name
wafModeNoDetection | Prevention (default Detection)
locationYesAzure region
subnetIdYesDedicated AGW subnet resource ID
maxCapacityNoAutoscale max instances (default 10)
minCapacityNoAutoscale min instances (default 2)

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, the description carries the full burden, and it does disclose two useful defaults: WAF Detection mode and autoscale readiness, which implies min/max capacity handling. It leaves out what is actually produced (a file, a string, a deployment), whether anything is written or deployed, and any permission requirements.

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; the resource type and key defaults come first. 'Autoscale-ready' is slightly vague, but nothing is wasted.

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 six-parameter generator with no annotations and no output schema, the description should say what the caller receives and whether generation has side effects. It covers the 'what' and the defaults but not the return behaviour or prerequisites, leaving a meaningful gap.

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 six parameters are already documented, including the Detection default and the capacity defaults. The description repeats those defaults rather than adding meaning such as validation rules for subnetId or allowed capacity ranges, so the baseline of 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?

The description names a specific verb and resource: generating an Application Gateway v2 (WAF_v2) Bicep template. That is enough to separate it from sibling generators like generate_api_gateway_v2 or generate_nat_gateway, even though no sibling is named explicitly.

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 prerequisites (e.g., needing a dedicated subnet), and no mention of alternatives for other gateway flavours. The only contextual clue is the WAF_v2 scope embedded in the purpose statement.

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.